mirror_zfs/lib
наб 63ce6dd988 libshare: use AVL tree with static data, pass all data in arguments
This makes it so we don't leak a consistent 64 bytes anymore,
makes the searches simpler and faster, removes /all allocations/
from the driver (quite trivially, since they were absolutely needless),
and makes libshare thread-safe (except, maybe, linux/smb, but that only
does pointer-width loads/stores so it's also mostly fine, except for
leaking smb_shares)

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #13165
2022-05-12 09:26:25 -07:00
..
libavl cppcheck: explicitly exclude kernel code from userspace checks 2022-05-10 10:20:55 -07:00
libefi autoconf: use include directives instead of recursing down lib 2022-05-10 10:18:11 -07:00
libicp cppcheck: explicitly exclude kernel code from userspace checks 2022-05-10 10:20:55 -07:00
libnvpair autoconf: use include directives instead of recursing down lib 2022-05-10 10:18:11 -07:00
libshare libshare: use AVL tree with static data, pass all data in arguments 2022-05-12 09:26:25 -07:00
libspl libshare: interface: {=> const} char * 2022-05-12 09:26:22 -07:00
libtpool autoconf: use include directives instead of recursing down lib 2022-05-10 10:18:11 -07:00
libunicode cppcheck: explicitly exclude kernel code from userspace checks 2022-05-10 10:20:55 -07:00
libuutil autoconf: use include directives instead of recursing down lib 2022-05-10 10:18:11 -07:00
libzfs autoconf: use include directives instead of recursing down lib 2022-05-10 10:18:11 -07:00
libzfs_core autoconf: use include directives instead of recursing down lib 2022-05-10 10:18:11 -07:00
libzfsbootenv autoconf: use include directives instead of recursing down lib 2022-05-10 10:18:11 -07:00
libzpool autoconf: use include directives instead of recursing down lib 2022-05-10 10:18:11 -07:00
libzstd cppcheck: explicitly exclude kernel code from userspace checks 2022-05-10 10:20:55 -07:00
libzutil autoconf: use include directives instead of recursing down lib 2022-05-10 10:18:11 -07:00
Makefile.am autoconf: use include directives instead of recursing down lib 2022-05-10 10:18:11 -07:00