Home
last modified time | relevance | path

Searched refs:kernel_object (Results 1 – 10 of 10) sorted by relevance

/freebsd/sys/vm/
H A Dvm_kern.c266 object = kernel_object; in kmem_alloc_attr_domain()
357 object = kernel_object; in kmem_alloc_contig_domain()
486 rv = kmem_back_domain(domain, kernel_object, addr, asize, flags); in kmem_malloc_domain()
538 KASSERT(object == kernel_object, in kmem_back_domain()
597 KASSERT(object == kernel_object, in kmem_back()
643 KASSERT(object == kernel_object, in _kmem_unback()
690 arena = _kmem_unback(kernel_object, (uintptr_t)addr, size); in kmem_free()
H A Dmemguard.c335 rv = kmem_back(kernel_object, addr, size_p, flags); in memguard_alloc()
404 kmem_unback(kernel_object, addr, size); in memguard_free()
H A Dvm_object.c285 rw_init(&kernel_object->lock, "kernel vm object"); in vm_object_init()
286 vm_radix_init(&kernel_object->rtree); in vm_object_init()
288 VM_MIN_KERNEL_ADDRESS), OBJ_UNMANAGED, kernel_object, NULL); in vm_object_init()
290 kernel_object->flags |= OBJ_COLORED; in vm_object_init()
291 kernel_object->pg_color = (u_short)atop(VM_MIN_KERNEL_ADDRESS); in vm_object_init()
293 kernel_object->un_pager.phys.ops = &default_phys_pg_ops; in vm_object_init()
H A Dvm_object.h241 #define kernel_object (&kernel_object_store) macro
H A Dvm_reserv.c664 KASSERT(object != kernel_object || rv->domain == domain, in vm_reserv_alloc_contig()
841 KASSERT(object != kernel_object || rv->domain == domain, in vm_reserv_alloc_page()
H A Dvm_map.c205 error = kmem_back_domain(domain, kernel_object, addr, bytes, M_NOWAIT | in kmapent_alloc()
230 kmem_unback(kernel_object, addr, size); in kmapent_free()
1626 KASSERT(object != kernel_object || in vm_map_insert1()
3963 object == kernel_object) { in vm_map_entry_delete()
3972 object == kernel_object)) { in vm_map_entry_delete()
/freebsd/sys/cddl/dev/kinst/
H A Dtrampoline.c105 error = kmem_back(kernel_object, trampaddr, KINST_TRAMPCHUNK_SIZE, in kinst_trampchunk_alloc()
127 kmem_unback(kernel_object, (vm_offset_t)chunk->addr, in kinst_trampchunk_free()
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_page.c89 if (page->object != kernel_object) { in linux_page_address()
/freebsd/sys/kern/
H A Dkern_cpuset.c613 kernel_object->domain.dr_policy = cpuset_kernel->cs_domain; in domainset_notify()
1620 kernel_object->domain.dr_policy = domainset2; in domainset_zero()
H A Dsubr_vmem.c671 if (kmem_back_domain(domain, kernel_object, addr, bytes, in vmem_bt_alloc()