Home
last modified time | relevance | path

Searched refs:btf__fd (Results 1 – 5 of 5) sorted by relevance

/linux/tools/lib/bpf/
H A Dlibbpf.map54 btf__fd;
H A Dbtf.h161 LIBBPF_API int btf__fd(const struct btf *btf);
H A Dlibbpf.c3576 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()
H A Dbtf.c1464 int btf__fd(const struct btf *btf) in btf__fd() function
/linux/tools/testing/selftests/bpf/
H A Dtest_verifier.c1000 *fd_array = btf__fd(testmod_btf); in fixup_prog_kfuncs()