freebsd-skq/sys/vm
Vladimir Kondratyev 5d4bf0578f LinuxKPI: Implement ksize() function.
In Linux, ksize() gets the actual amount of memory allocated for a given
object. This commit adds malloc_usable_size() to FreeBSD KPI which does
the same. It also maps LinuxKPI ksize() to newly created function.

ksize() function is used by drm-kmod.

Reviewed by:	hselasky, kib
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D26215
2020-08-29 19:26:31 +00:00
..
_vm_radix.h
default_pager.c
device_pager.c
memguard.c LinuxKPI: Implement ksize() function. 2020-08-29 19:26:31 +00:00
memguard.h LinuxKPI: Implement ksize() function. 2020-08-29 19:26:31 +00:00
phys_pager.c
pmap.h
redzone.c
redzone.h
sg_pager.c
swap_pager.c vfs: drop the error parameter from vn_isdisk, introduce vn_isdisk_error 2020-08-19 02:51:17 +00:00
swap_pager.h
uma_core.c uma: record allocation failures due to zone limits 2020-08-21 18:31:57 +00:00
uma_dbg.c
uma_dbg.h
uma_int.h memstat_kvm_uma: fix reading of uma_zone_domain structures 2020-08-28 19:50:40 +00:00
uma.h Remove free_domain() and uma_zfree_domain(). 2020-08-04 13:58:36 +00:00
vm_domainset.c
vm_domainset.h
vm_extern.h Remove the VM map zone. 2020-08-17 13:02:01 +00:00
vm_fault.c vfs: remove the thread argument from vget 2020-08-16 17:18:54 +00:00
vm_glue.c Use a single VM object for kernel stacks. 2020-04-26 20:08:57 +00:00
vm_init.c Remove the VM map zone. 2020-08-17 13:02:01 +00:00
vm_kern.c Use a large kmem arena import size on NUMA systems. 2020-08-26 14:31:48 +00:00
vm_kern.h Remove the VM map zone. 2020-08-17 13:02:01 +00:00
vm_map.c Remove the VM map zone. 2020-08-17 13:02:01 +00:00
vm_map.h Remove the VM map zone. 2020-08-17 13:02:01 +00:00
vm_meter.c Add support for multithreading the inactive queue pageout within a domain. 2020-08-11 20:37:45 +00:00
vm_mmap.c vfs: remove the thread argument from vget 2020-08-16 17:18:54 +00:00
vm_object.c cache: drop the always curthread argument from reverse lookup routines 2020-08-24 08:57:02 +00:00
vm_object.h
vm_page.c Permit vm_page_wire() to be called on pages not belonging to an object. 2020-08-25 13:45:06 +00:00
vm_page.h Add support for multithreading the inactive queue pageout within a domain. 2020-08-11 20:37:45 +00:00
vm_pageout.c vm_pageout_scan_active: ensure ps_delta is initialized 2020-08-28 19:59:02 +00:00
vm_pageout.h
vm_pagequeue.h Add support for multithreading the inactive queue pageout within a domain. 2020-08-11 20:37:45 +00:00
vm_pager.c
vm_pager.h
vm_param.h
vm_phys.c Fix boot on systems where NUMA domain 0 is unpopulated. 2020-05-28 19:41:00 +00:00
vm_phys.h Fix boot on systems where NUMA domain 0 is unpopulated. 2020-05-28 19:41:00 +00:00
vm_radix.c kernel: provide panicky version of __unreachable 2020-05-13 18:07:37 +00:00
vm_radix.h
vm_reserv.c Use COUNTER_U64_DEFINE_EARLY() in places where it simplifies things. 2020-03-06 19:10:00 +00:00
vm_reserv.h
vm_swapout_dummy.c
vm_swapout.c Use a single VM object for kernel stacks. 2020-04-26 20:08:57 +00:00
vm_unix.c
vm.h Merge OpenZFS support in to HEAD. 2020-08-25 02:21:27 +00:00
vnode_pager.c vfs: drop the error parameter from vn_isdisk, introduce vn_isdisk_error 2020-08-19 02:51:17 +00:00
vnode_pager.h