1
0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2026-01-19 21:04:26 +00:00
D. Wythe 07c428ece3 bpf: Export necessary symbols for modules with struct_ops
Exports three necessary symbols for implementing struct_ops with
tristate subsystem.

To hold or release refcnt of struct_ops refcnt by inline funcs
bpf_try_module_get and bpf_module_put which use bpf_struct_ops_get(put)
conditionally.

And to copy obj name from one to the other with effective checks by
bpf_obj_name_cpy.

Signed-off-by: D. Wythe <alibuda@linux.alibaba.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://patch.msgid.link/20251107035632.115950-2-alibuda@linux.alibaba.com
2025-11-10 11:07:34 -08:00
..
2025-09-11 13:00:43 -07:00
2025-09-23 07:34:38 -07:00
2025-08-12 14:56:04 -07:00
2025-09-23 07:34:38 -07:00
2025-09-30 17:58:11 -07:00
2025-07-29 12:15:39 -07:00
2025-07-11 11:00:57 -07:00
2025-07-16 18:38:05 -07:00