Home
last modified time | relevance | path

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

/openbmc/linux/tools/lib/bpf/
H A Dlibbpf.c6844 int btf_obj_fd = 0, btf_type_id = 0, err; in libbpf_prepare_prog_load() local
6869 prog->attach_btf_obj_fd = btf_obj_fd; in libbpf_prepare_prog_load()
6877 opts->attach_btf_obj_fd = btf_obj_fd; in libbpf_prepare_prog_load()
9357 int *btf_obj_fd, int *btf_type_id) in find_kernel_btf_id() argument
9363 *btf_obj_fd = 0; /* vmlinux BTF */ in find_kernel_btf_id()
9379 *btf_obj_fd = mod->fd; in find_kernel_btf_id()
9411 *btf_obj_fd = 0; in libbpf_find_attach_btf_id()
9419 *btf_obj_fd = 0; in libbpf_find_attach_btf_id()
12807 int btf_obj_fd = 0, btf_id = 0, err; in bpf_program__set_attach_target() local
12838 &btf_obj_fd, &btf_id); in bpf_program__set_attach_target()
[all …]
/openbmc/linux/kernel/bpf/
H A 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()