Searched refs:bpf_obj_get_info_by_fd (Results 1 – 11 of 11) sorted by relevance
/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 | 310 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 D | tc_helpers.h | 17 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 | 40 err = bpf_obj_get_info_by_fd(fd, &info, &len); in get_bpf_testmod_btf_fd()
|
/linux/tools/lib/bpf/ |
H A D | libbpf.map | 21 bpf_obj_get_info_by_fd;
|
H A D | bpf.h | 503 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 D | map_percpu_stats.c | 29 ret = bpf_obj_get_info_by_fd(map_fd, info, &len); in map_info()
|
/linux/tools/bpf/bpftool/ |
H A D | net.c | 445 ret = bpf_obj_get_info_by_fd(fd, &info, &ilen); in __show_dev_tc_bpf_name()
|
/linux/tools/testing/selftests/bpf/ |
H A D | test_verifier.c | 929 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 D | syscall.c | 5063 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()
|