Lines Matching refs:KASSERT

191 	KASSERT(range->start != 0 && range->end != 0,  in vm_phys_fictitious_in_range()
210 KASSERT(p2->end != 0, in vm_phys_fictitious_cmp()
402 KASSERT(vm_phys_nsegs < VM_PHYSSEG_MAX, in _vm_phys_create_seg()
404 KASSERT(domain >= 0 && domain < vm_ndomains, in _vm_phys_create_seg()
457 KASSERT((start & PAGE_MASK) == 0, in vm_phys_add_seg()
459 KASSERT((end & PAGE_MASK) == 0, in vm_phys_add_seg()
535 KASSERT(vm_nfreelists > 0, ("vm_phys_init: no free lists")); in vm_phys_init()
558 KASSERT(flind >= 0, in vm_phys_init()
565 KASSERT(flind >= 0, in vm_phys_init()
571 KASSERT(flind >= 0, in vm_phys_init()
588 KASSERT(prev_seg->domain == seg->domain, in vm_phys_init()
670 KASSERT(m_buddy->order == VM_NFREEORDER, in vm_phys_split_pages()
695 KASSERT(npages > 0, ("vm_phys_enq_range: npages is 0")); in vm_phys_enq_range()
696 KASSERT(((VM_PAGE_TO_PHYS(m) + npages * PAGE_SIZE) & in vm_phys_enq_range()
701 KASSERT(m->order == VM_NFREEORDER, in vm_phys_enq_range()
705 KASSERT(order < VM_NFREEORDER, in vm_phys_enq_range()
733 KASSERT(domain >= 0 && domain < vm_ndomains, in vm_phys_alloc_npages()
735 KASSERT(pool < VM_NFREEPOOL, in vm_phys_alloc_npages()
737 KASSERT(npages <= 1 << (VM_NFREEORDER - 1), in vm_phys_alloc_npages()
828 KASSERT(domain >= 0 && domain < vm_ndomains, in vm_phys_alloc_freelist_pages()
831 KASSERT(freelist < VM_NFREELIST, in vm_phys_alloc_freelist_pages()
834 KASSERT(pool < VM_NFREEPOOL, in vm_phys_alloc_freelist_pages()
836 KASSERT(order < VM_NFREEORDER, in vm_phys_alloc_freelist_pages()
912 KASSERT((m->flags & PG_FICTITIOUS) != 0, ("%p not fictitious", m)); in vm_phys_fictitious_to_vm_page()
943 KASSERT(start < end, in vm_phys_fictitious_reg_range()
1024 KASSERT(start < end, in vm_phys_fictitious_unreg_range()
1091 KASSERT(m->order == VM_NFREEORDER, in vm_phys_free_pages()
1094 KASSERT(m->pool < VM_NFREEPOOL, in vm_phys_free_pages()
1097 KASSERT(order < VM_NFREEORDER, in vm_phys_free_pages()
1166 KASSERT(seg == &vm_phys_segs[m->segind], in vm_phys_enqueue_contig()
1174 KASSERT(seg == &vm_phys_segs[m->segind], in vm_phys_enqueue_contig()
1182 KASSERT(seg == &vm_phys_segs[m->segind], in vm_phys_enqueue_contig()
1244 KASSERT(npages > 0, ("npages is 0")); in vm_phys_scan_contig()
1245 KASSERT(powerof2(alignment), ("alignment is not a power of 2")); in vm_phys_scan_contig()
1246 KASSERT(powerof2(boundary), ("boundary is not a power of 2")); in vm_phys_scan_contig()
1324 KASSERT(m_set->order < VM_NFREEORDER, in vm_phys_unfree_page()
1348 KASSERT(m_set == m, ("vm_phys_unfree_page: fatal inconsistency")); in vm_phys_unfree_page()
1371 KASSERT(npages > 0, ("npages is 0")); in vm_phys_alloc_contig()
1372 KASSERT(powerof2(alignment), ("alignment is not a power of 2")); in vm_phys_alloc_contig()
1373 KASSERT(powerof2(boundary), ("boundary is not a power of 2")); in vm_phys_alloc_contig()
1416 KASSERT(npages > 0, ("npages is 0")); in vm_phys_alloc_seg_contig()
1417 KASSERT(powerof2(alignment), ("alignment is not a power of 2")); in vm_phys_alloc_seg_contig()
1418 KASSERT(powerof2(boundary), ("boundary is not a power of 2")); in vm_phys_alloc_seg_contig()
1621 KASSERT(domain == -1 || (domain >= 0 && domain < vm_ndomains), in vm_phys_early_alloc()