Searched refs:btf_obj_fd (Results 1 – 2 of 2) sorted by relevance
6817 int *btf_obj_fd, int *btf_type_id);6840 int btf_obj_fd = 0, btf_type_id = 0, err; in libbpf_prepare_prog_load() local6860 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() argument9359 *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() argument9407 *btf_obj_fd = 0; in libbpf_find_attach_btf_id()[all …]
7534 int btf_obj_fd = 0; in BPF_CALL_4() local7545 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()