Home
last modified time | relevance | path

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

/linux-6.15/tools/lib/bpf/
H A Dlibbpf.c7428 int btf_obj_fd = 0, btf_type_id = 0, err; in libbpf_prepare_prog_load() local
7453 prog->attach_btf_obj_fd = btf_obj_fd; in libbpf_prepare_prog_load()
7461 opts->attach_btf_obj_fd = btf_obj_fd; in libbpf_prepare_prog_load()
10082 *btf_obj_fd = 0; /* vmlinux BTF */ in find_kernel_btf_id()
10104 *btf_obj_fd = mod->fd; in find_kernel_btf_id()
10136 *btf_obj_fd = 0; in libbpf_find_attach_btf_id()
10144 *btf_obj_fd = 0; in libbpf_find_attach_btf_id()
10148 attach_type, btf_obj_fd, in libbpf_find_attach_btf_id()
13729 int btf_obj_fd = 0, btf_id = 0, err; in bpf_program__set_attach_target() local
13760 &btf_obj_fd, &btf_id); in bpf_program__set_attach_target()
[all …]
/linux-6.15/kernel/bpf/
H A Dbtf.c8323 int btf_obj_fd = 0; in BPF_CALL_4() local
8334 btf_obj_fd = __btf_new_fd(btf); in BPF_CALL_4()
8335 if (btf_obj_fd < 0) { in BPF_CALL_4()
8337 return btf_obj_fd; in BPF_CALL_4()
8339 return ret | (((u64)btf_obj_fd) << 32); in BPF_CALL_4()