Searched refs:btf__fd (Results 1 – 5 of 5) sorted by relevance
54 btf__fd;
161 LIBBPF_API int btf__fd(const struct btf *btf);
3576 btf__set_fd(obj->btf, btf__fd(kern_btf)); in bpf_object__sanitize_and_load_btf()5161 if (obj->btf && btf__fd(obj->btf) >= 0) { in bpf_object__create_map()5162 create_attr.btf_fd = btf__fd(obj->btf); in bpf_object__create_map()7448 if (obj->btf && btf__fd(obj->btf) >= 0 && kernel_supports(obj, FEAT_BTF_FUNC)) { in bpf_object_load_prog()7449 load_attr.prog_btf_fd = btf__fd(obj->btf); in bpf_object_load_prog()9074 return obj->btf ? btf__fd(obj->btf) : -1; in bpf_object__btf_fd()
1464 int btf__fd(const struct btf *btf) in btf__fd() function
1000 *fd_array = btf__fd(testmod_btf); in fixup_prog_kfuncs()