Home
last modified time | relevance | path

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

/openbmc/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.c307 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 Dtc_helpers.h13 err = bpf_obj_get_info_by_fd(fd, &prog_info, &prog_info_len); in id_from_prog_fd()
H A Dmodule_fentry_shadow.c39 err = bpf_obj_get_info_by_fd(fd, &info, &len); in get_bpf_testmod_btf_fd()
/openbmc/linux/tools/lib/bpf/
H A Dbpf.c1116 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 Dlibbpf.map21 bpf_obj_get_info_by_fd;
H A Dbpf.h483 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 Dmap_percpu_stats.c28 ret = bpf_obj_get_info_by_fd(map_fd, info, &len); in map_info()
/openbmc/linux/tools/bpf/bpftool/
H A Dnet.c439 ret = bpf_obj_get_info_by_fd(fd, &info, &ilen); in __show_dev_tc_bpf_name()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_verifier.c931 err = bpf_obj_get_info_by_fd(fd, &info, &len); in btf__load_testmod_btf()
/openbmc/linux/kernel/bpf/
H A Dsyscall.c4762 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()