Files
linux/kernel
Amery Hung d87a513d09 bpf: Allow struct_ops to get map id by kdata
Add bpf_struct_ops_id() to enable struct_ops implementors to use
struct_ops map id as the unique id of a struct_ops in their subsystem.
A subsystem that wishes to create a mapping between id and struct_ops
instance pointer can update the mapping accordingly during
bpf_struct_ops::reg(), unreg(), and update().

Signed-off-by: Amery Hung <ameryhung@gmail.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://patch.msgid.link/20250806162540.681679-2-ameryhung@gmail.com
2025-08-06 13:39:58 -07:00
..
2025-07-11 16:02:01 +02:00
2025-07-11 17:55:16 +02:00
2025-02-10 16:56:58 -08:00
2025-06-13 17:26:17 +08:00
2023-12-29 12:22:29 -08:00
2024-11-03 01:28:06 -05:00
2025-02-12 12:12:27 +01:00