Home
last modified time | relevance | path

Searched refs:bpf_btf_get_fd_by_id (Results 1 – 12 of 12) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dmodule_fentry_shadow.c26 fd = bpf_btf_get_fd_by_id(id); in get_bpf_testmod_btf_fd()
H A Dtest_struct_ops_module.c21 fd = bpf_btf_get_fd_by_id(info->btf_vmlinux_id); in check_map_info()
H A Dbtf.c4639 btf_fd[1] = bpf_btf_get_fd_by_id(info[0].id); in test_btf_id()
4685 btf_fd[0] = bpf_btf_get_fd_by_id(map_info.btf_id); in test_btf_id()
/linux/tools/lib/bpf/
H A Dlibbpf.map3 bpf_btf_get_fd_by_id;
H A Dbpf.h497 LIBBPF_API int bpf_btf_get_fd_by_id(__u32 id);
H A Dbpf.c1113 int bpf_btf_get_fd_by_id(__u32 id) in bpf_btf_get_fd_by_id() function
H A Dbtf.c1625 btf_fd = bpf_btf_get_fd_by_id(id); in btf__load_from_kernel_by_id_split()
H A Dlibbpf.c5613 fd = bpf_btf_get_fd_by_id(id); in load_module_btfs()
/linux/tools/bpf/bpftool/
H A Dbtf.c782 btf_fd = bpf_btf_get_fd_by_id(btf_id); in btf_is_kernel_module()
979 fd = bpf_btf_get_fd_by_id(id); in btf_parse_fd()
1280 fd = bpf_btf_get_fd_by_id(id); in do_show()
H A Dcgroup.c115 fd = bpf_btf_get_fd_by_id(attach_btf_obj_id); in guess_vmlinux_btf_id()
/linux/tools/testing/selftests/bpf/
H A Dtest_verifier.c920 fd = bpf_btf_get_fd_by_id(id); in btf__load_testmod_btf()
/linux/kernel/bpf/
H A Dsyscall.c4985 static int bpf_btf_get_fd_by_id(const union bpf_attr *attr) in bpf_btf_get_fd_by_id() function
5701 err = bpf_btf_get_fd_by_id(&attr); in __sys_bpf()