Searched refs:kfunc_id (Results 1 – 6 of 6) sorted by relevance
/linux/fs/ |
H A D | bpf_fs_kfuncs.c | 166 static int bpf_fs_kfuncs_filter(const struct bpf_prog *prog, u32 kfunc_id) in BTF_ID_FLAGS() 168 if (!btf_id_set8_contains(&bpf_fs_kfunc_set_ids, kfunc_id) || in BTF_ID_FLAGS()
|
/linux/fs/verity/ |
H A D | measure.c | 167 static int bpf_get_fsverity_digest_filter(const struct bpf_prog *prog, u32 kfunc_id) in BTF_ID_FLAGS() 169 if (!btf_id_set8_contains(&fsverity_set_ids, kfunc_id)) in BTF_ID_FLAGS()
|
/linux/include/linux/ |
H A D | btf.h | 116 typedef int (*btf_kfunc_filter_t)(const struct bpf_prog *prog, u32 kfunc_id);
|
/linux/kernel/trace/ |
H A D | bpf_trace.c | 3522 static int bpf_kprobe_multi_filter(const struct bpf_prog *prog, u32 kfunc_id) in BTF_ID_FLAGS() 3524 if (!btf_id_set8_contains(&kprobe_multi_kfunc_set_ids, kfunc_id)) in BTF_ID_FLAGS()
|
/linux/tools/lib/bpf/ |
H A D | libbpf.c | 8285 int local_func_proto_id, kfunc_proto_id, kfunc_id; in bpf_object__resolve_ksym_func_btf_id() local 8293 kfunc_id = find_ksym_btf_id(obj, ext->essent_name ?: ext->name, BTF_KIND_FUNC, &kern_btf, in bpf_object__resolve_ksym_func_btf_id() 8295 if (kfunc_id < 0) { in bpf_object__resolve_ksym_func_btf_id() 8296 if (kfunc_id == -ESRCH && ext->is_weak) in bpf_object__resolve_ksym_func_btf_id() 8300 return kfunc_id; in bpf_object__resolve_ksym_func_btf_id() 8303 kern_func = btf__type_by_id(kern_btf, kfunc_id); in bpf_object__resolve_ksym_func_btf_id() 8340 ext->ksym.kernel_btf_id = kfunc_id; in bpf_object__resolve_ksym_func_btf_id() 8349 ext->name, mod_btf ? mod_btf->name : "vmlinux", kfunc_id); in bpf_object__resolve_ksym_func_btf_id()
|
/linux/net/core/ |
H A D | filter.c | 12174 static int tracing_iter_filter(const struct bpf_prog *prog, u32 kfunc_id) in BTF_ID_FLAGS() 12176 if (btf_id_set8_contains(&bpf_sk_iter_kfunc_ids, kfunc_id) && in BTF_ID_FLAGS()
|