Lines Matching refs:assert
107 assert(alignment >= sizeof(uintptr_t)); in vm_alloc_one_page()
108 assert(alignment < PAGE_SIZE); in vm_alloc_one_page()
133 assert(is_power_of_2(alignment)); in vm_memalign()
153 assert(pa); in vm_memalign()
171 assert(GET_MAGIC(mem) == VM_MAGIC); in vm_free()
173 assert(page); in vm_free()
180 assert(m->magic == VM_MAGIC); in vm_free()
181 assert(m->npages > 0); in vm_free()
182 assert(m->npages < BIT_ULL(BITS_PER_LONG - PAGE_SHIFT)); in vm_free()
187 assert(page); in vm_free()
204 assert(alloc_ops != &vmalloc_ops); in init_alloc_vpage()
224 assert(base != top || page_alloc_initialized()); in __setup_vm()
246 assert(alloc_ops != &vmalloc_ops); in __setup_vm()