Home
last modified time | relevance | path

Searched refs:__btf_kfunc_is_allowed (Results 1 – 1 of 1) sorted by relevance

/linux/kernel/bpf/
H A Dbtf.c9968 static bool __btf_kfunc_is_allowed(const struct btf *btf, in btf_add_struct_ops()
10046 if (kfunc_flags && __btf_kfunc_is_allowed(btf, BTF_KFUNC_HOOK_COMMON, kfunc_btf_id, prog)) in __register_bpf_struct_ops()
10051 if (kfunc_flags && __btf_kfunc_is_allowed(btf, hook, kfunc_btf_id, prog)) in __register_bpf_struct_ops()
10110 if (!__btf_kfunc_is_allowed(btf, BTF_KFUNC_HOOK_FMODRET, kfunc_btf_id, prog))
9095 static bool __btf_kfunc_is_allowed(const struct btf *btf, __btf_kfunc_is_allowed() function