freebsd-skq/sys/compat
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
..
cloudabi vfs: track sequential reads and writes separately 2020-06-21 08:51:24 +00:00
cloudabi32 sysent targets: further cleanup and deduplication 2020-01-18 20:37:45 +00:00
cloudabi64 sysent targets: further cleanup and deduplication 2020-01-18 20:37:45 +00:00
freebsd32 Fix a TOCTOU vulnerability in freebsd32_copyin_control(). 2020-08-05 17:06:14 +00:00
ia32 Retire procfs-based process debugging. 2020-04-01 19:22:09 +00:00
lindebugfs
linprocfs cache: drop the always curthread argument from reverse lookup routines 2020-08-24 08:57:02 +00:00
linsysfs Make linprocfs(5) create /proc/bus/pci/devices/, and linsysfs(5) 2020-07-04 11:22:35 +00:00
linux cache: drop the always curthread argument from reverse lookup routines 2020-08-24 08:57:02 +00:00
linuxkpi/common LinuxKPI: Implement ksize() function. 2020-08-29 19:26:31 +00:00
ndis Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
x86bios Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00