Searched refs:bpf_obj_get_info_by_fd (Results 1 – 12 of 12) sorted by relevance
/openbmc/linux/tools/perf/util/ |
H A D | bpf_counter.h | 100 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 D | bpf-utils.c | 124 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 D | bpf_counter.c | 307 err = bpf_obj_get_info_by_fd(attr_map_fd, &map_info, &map_info_len); in bperf_attr_map_compatible()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | tc_helpers.h | 13 err = bpf_obj_get_info_by_fd(fd, &prog_info, &prog_info_len); in id_from_prog_fd()
|
H A D | module_fentry_shadow.c | 39 err = bpf_obj_get_info_by_fd(fd, &info, &len); in get_bpf_testmod_btf_fd()
|
/openbmc/linux/tools/lib/bpf/ |
H A D | bpf.c | 1116 int bpf_obj_get_info_by_fd(int bpf_fd, void *info, __u32 *info_len) in bpf_obj_get_info_by_fd() function 1135 return bpf_obj_get_info_by_fd(prog_fd, info, info_len); in bpf_prog_get_info_by_fd() 1140 return bpf_obj_get_info_by_fd(map_fd, info, info_len); in bpf_map_get_info_by_fd() 1145 return bpf_obj_get_info_by_fd(btf_fd, info, info_len); in bpf_btf_get_info_by_fd() 1150 return bpf_obj_get_info_by_fd(link_fd, info, info_len); in bpf_link_get_info_by_fd()
|
H A D | libbpf.map | 21 bpf_obj_get_info_by_fd;
|
H A D | bpf.h | 483 LIBBPF_API int bpf_obj_get_info_by_fd(int bpf_fd, void *info, __u32 *info_len);
|
/openbmc/linux/tools/testing/selftests/bpf/map_tests/ |
H A D | map_percpu_stats.c | 28 ret = bpf_obj_get_info_by_fd(map_fd, info, &len); in map_info()
|
/openbmc/linux/tools/bpf/bpftool/ |
H A D | net.c | 439 ret = bpf_obj_get_info_by_fd(fd, &info, &ilen); in __show_dev_tc_bpf_name()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_verifier.c | 931 err = bpf_obj_get_info_by_fd(fd, &info, &len); in btf__load_testmod_btf()
|
/openbmc/linux/kernel/bpf/ |
H A D | syscall.c | 4762 static int bpf_obj_get_info_by_fd(const union bpf_attr *attr, in bpf_obj_get_info_by_fd() function 5492 err = bpf_obj_get_info_by_fd(&attr, uattr.user); in __sys_bpf()
|