freebsd-dev/sys
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
..
amd64 ZFS: clarify dependencies for static linking 2020-08-28 17:06:35 +00:00
arm Fix arm64 build after r364927 2020-08-29 11:39:53 +00:00
arm64 ZFS: add to arm64 NOTES to minimize potential for missing symbols 2020-08-28 19:02:05 +00:00
bsm
cam Fix tiny style nit. 2020-08-27 17:46:13 +00:00
cddl ZFS: band-aid for -DNO_CLEAN 2020-08-25 23:35:55 +00:00
compat LinuxKPI: Implement ksize() function. 2020-08-29 19:26:31 +00:00
conf ZFS: clarify dependencies for static linking 2020-08-28 17:06:35 +00:00
contrib ZFS: MFV 2.0-rc1-ga00c61 2020-08-28 18:53:45 +00:00
crypto crypto(9): add CRYPTO_BUF_VMPAGE 2020-08-26 02:37:42 +00:00
ddb
dev Allow slow USB devices to be given more time to return their USB descriptors, 2020-08-28 19:21:11 +00:00
dts
fs Add flags to enable NFS over TLS to the NFS client and server. 2020-08-27 23:57:30 +00:00
gdb gdb(4): Support empty qSupported queries 2020-08-18 20:59:10 +00:00
geom Retire devctl_notify_f() 2020-08-29 04:30:06 +00:00
gnu
i386 cpu_auxmsr: assert caller is preventing CPU migration. 2020-08-24 11:49:49 +00:00
isa
kern LinuxKPI: Implement ksize() function. 2020-08-29 19:26:31 +00:00
kgssapi
libkern Add prng(9) API 2020-08-13 20:48:14 +00:00
mips
modules Implement extensible arrays API using the existing radix tree implementation 2020-08-27 10:28:12 +00:00
net Revert uma zone alignemnt cache unadvertenly committed in r364950. 2020-08-29 12:04:13 +00:00
net80211 net80211: enhance getflags*() and ieee80211_add_channel*() 2020-08-24 13:15:08 +00:00
netgraph ng_ubt: Add a device ID. 2020-08-23 19:30:06 +00:00
netinet Move net/route/shared.h definitions to net/route/route_var.h. 2020-08-28 22:50:20 +00:00
netinet6 Move net/route/shared.h definitions to net/route/route_var.h. 2020-08-28 22:50:20 +00:00
netipsec
netpfil ipfw: style(9) fixes 2020-08-20 16:56:13 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto Name the on-stack union of compat thunks. 2020-08-26 22:36:08 +00:00
powerpc [PowerPC] Make new auxv format default 2020-08-24 13:40:35 +00:00
riscv riscv: Use global mimpid in identify_cpu() 2020-08-18 16:51:04 +00:00
rpc Add TLS support to the kernel RPC. 2020-08-22 03:57:55 +00:00
security cache: drop the always curthread argument from reverse lookup routines 2020-08-24 08:57:02 +00:00
sys LinuxKPI: Implement ksize() function. 2020-08-29 19:26:31 +00:00
teken
tests
tools
ufs cache: add cache_rename, a dedicated helper to use for renames 2020-08-20 10:05:46 +00:00
vm LinuxKPI: Implement ksize() function. 2020-08-29 19:26:31 +00:00
x86 amd64: Handle 5-level paging on wakeup. 2020-08-23 20:43:23 +00:00
xdr
xen
Makefile