Searched refs:kfunc_id (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/include/linux/ |
D | btf.h | 103 typedef int (*btf_kfunc_filter_t)(const struct bpf_prog *prog, u32 kfunc_id);
|
/linux-6.6.21/tools/lib/bpf/ |
D | libbpf.c | 7677 int local_func_proto_id, kfunc_proto_id, kfunc_id; in bpf_object__resolve_ksym_func_btf_id() local 7685 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() 7687 if (kfunc_id < 0) { in bpf_object__resolve_ksym_func_btf_id() 7688 if (kfunc_id == -ESRCH && ext->is_weak) in bpf_object__resolve_ksym_func_btf_id() 7692 return kfunc_id; in bpf_object__resolve_ksym_func_btf_id() 7695 kern_func = btf__type_by_id(kern_btf, kfunc_id); in bpf_object__resolve_ksym_func_btf_id() 7732 ext->ksym.kernel_btf_id = kfunc_id; in bpf_object__resolve_ksym_func_btf_id() 7741 ext->name, mod_btf ? mod_btf->name : "vmlinux", kfunc_id); in bpf_object__resolve_ksym_func_btf_id()
|
/linux-6.6.21/net/core/ |
D | filter.c | 11951 static int tracing_iter_filter(const struct bpf_prog *prog, u32 kfunc_id) in BTF_SET8_START() 11953 if (btf_id_set8_contains(&bpf_sk_iter_kfunc_ids, kfunc_id) && in BTF_SET8_START()
|