Home
last modified time | relevance | path

Searched refs:bpf_obj_get_info_by_fd (Results 1 – 11 of 11) sorted by relevance

/linux/tools/perf/util/
H A Dbpf_counter.h100 bpf_obj_get_info_by_fd(fd, &link_info, &link_info_len); in bpf_link_get_id()
109 bpf_obj_get_info_by_fd(fd, &link_info, &link_info_len); in bpf_link_get_prog_id()
118 bpf_obj_get_info_by_fd(fd, &map_info, &map_info_len); in bpf_map_get_id()
H A Dbpf-utils.c124 err = bpf_obj_get_info_by_fd(fd, &info, &info_len); in get_bpf_prog_info_linear()
186 err = bpf_obj_get_info_by_fd(fd, &info_linear->info, &info_len); in get_bpf_prog_info_linear()
H A Dbpf_counter.c310 err = bpf_obj_get_info_by_fd(attr_map_fd, &map_info, &map_info_len); in bperf_attr_map_compatible()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtc_helpers.h17 err = bpf_obj_get_info_by_fd(fd, &prog_info, &prog_info_len); in id_from_prog_fd()
H A Dmodule_fentry_shadow.c40 err = bpf_obj_get_info_by_fd(fd, &info, &len); in get_bpf_testmod_btf_fd()
/linux/tools/lib/bpf/
H A Dlibbpf.map21 bpf_obj_get_info_by_fd;
H A Dbpf.h503 LIBBPF_API int bpf_obj_get_info_by_fd(int bpf_fd, void *info, __u32 *info_len);
/linux/tools/testing/selftests/bpf/map_tests/
H A Dmap_percpu_stats.c29 ret = bpf_obj_get_info_by_fd(map_fd, info, &len); in map_info()
/linux/tools/bpf/bpftool/
H A Dnet.c445 ret = bpf_obj_get_info_by_fd(fd, &info, &ilen); in __show_dev_tc_bpf_name()
/linux/tools/testing/selftests/bpf/
H A Dtest_verifier.c929 err = bpf_obj_get_info_by_fd(fd, &info, &len); in btf__load_testmod_btf()
932 perror("bpf_obj_get_info_by_fd failed"); in btf__load_testmod_btf()
/linux/kernel/bpf/
H A Dsyscall.c5063 static int bpf_obj_get_info_by_fd(const union bpf_attr *attr, in bpf_obj_get_info_by_fd() function
5829 err = bpf_obj_get_info_by_fd(&attr, uattr.user); in __sys_bpf()