opnsense-src/sys/compat/linuxkpi/common/include
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
..
asm Implement the atomic fetch add unless functions for the LinuxKPI. 2020-04-20 16:21:37 +00:00
linux LinuxKPI: Implement ksize() function. 2020-08-29 19:26:31 +00:00
net Implement the ip_eth_mc_map() function in the LinuxKPI. 2018-06-12 08:43:49 +00:00