Home
last modified time | relevance | path

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

/linux-6.6.21/tools/lib/bpf/
Dlibbpf.c6817 int *btf_obj_fd, int *btf_type_id);
6840 int btf_obj_fd = 0, btf_type_id = 0, err; in libbpf_prepare_prog_load() local
6860 err = libbpf_find_attach_btf_id(prog, attach_name, &btf_obj_fd, &btf_type_id); in libbpf_prepare_prog_load()
6865 prog->attach_btf_obj_fd = btf_obj_fd; in libbpf_prepare_prog_load()
6873 opts->attach_btf_obj_fd = btf_obj_fd; in libbpf_prepare_prog_load()
9353 int *btf_obj_fd, int *btf_type_id) in find_kernel_btf_id() argument
9359 *btf_obj_fd = 0; /* vmlinux BTF */ in find_kernel_btf_id()
9375 *btf_obj_fd = mod->fd; in find_kernel_btf_id()
9389 int *btf_obj_fd, int *btf_type_id) in libbpf_find_attach_btf_id() argument
9407 *btf_obj_fd = 0; in libbpf_find_attach_btf_id()
[all …]
/linux-6.6.21/kernel/bpf/
Dbtf.c7534 int btf_obj_fd = 0; in BPF_CALL_4() local
7545 btf_obj_fd = __btf_new_fd(btf); in BPF_CALL_4()
7546 if (btf_obj_fd < 0) { in BPF_CALL_4()
7548 return btf_obj_fd; in BPF_CALL_4()
7550 return ret | (((u64)btf_obj_fd) << 32); in BPF_CALL_4()