Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/prog_tests/
Dbpf_obj_id.c66 err = bpf_obj_get_info_by_fd(map_fds[i], &map_infos[i], in test_bpf_obj_id()
105 err = bpf_obj_get_info_by_fd(prog_fds[i], &prog_infos[i], in test_bpf_obj_id()
173 err = bpf_obj_get_info_by_fd(prog_fd, &prog_info, &info_len); in test_bpf_obj_id()
184 err = bpf_obj_get_info_by_fd(prog_fd, &prog_info, &info_len); in test_bpf_obj_id()
233 err = bpf_obj_get_info_by_fd(map_fd, &map_info, &info_len); in test_bpf_obj_id()
Dtp_attach_query.c48 err = bpf_obj_get_info_by_fd(prog_fd[i], &prog_info, &info_len); in test_tp_attach_query()
/tools/lib/bpf/
Dlibbpf.map36 bpf_obj_get_info_by_fd;
Dbpf.h163 LIBBPF_API int bpf_obj_get_info_by_fd(int prog_fd, void *info, __u32 *info_len);
Dxsk.c463 err = bpf_obj_get_info_by_fd(xsk->prog_fd, &prog_info, &prog_len); in xsk_lookup_bpf_maps()
477 err = bpf_obj_get_info_by_fd(xsk->prog_fd, &prog_info, &prog_len); in xsk_lookup_bpf_maps()
488 err = bpf_obj_get_info_by_fd(fd, &map_info, &map_len); in xsk_lookup_bpf_maps()
Dbpf.c631 int bpf_obj_get_info_by_fd(int prog_fd, void *info, __u32 *info_len) in bpf_obj_get_info_by_fd() function
Dbtf.c661 err = bpf_obj_get_info_by_fd(btf_fd, &btf_info, &len); in btf__get_from_id()
675 err = bpf_obj_get_info_by_fd(btf_fd, &btf_info, &len); in btf__get_from_id()
Dlibbpf.c1891 err = bpf_obj_get_info_by_fd(fd, &info, &len); in bpf_map__reuse_fd()
5478 err = bpf_obj_get_info_by_fd(map_fd, &map, &map_info_len); in __perf_buffer__new()
5767 err = bpf_obj_get_info_by_fd(fd, &info, &info_len); in bpf_program__get_prog_info_linear()
5830 err = bpf_obj_get_info_by_fd(fd, &info_linear->info, &info_len); in bpf_program__get_prog_info_linear()
/tools/testing/selftests/bpf/
Dtest_skb_cgroup_id_user.c97 if (bpf_obj_get_info_by_fd(prog_fd, &info, &info_len)) { in get_map_fd_by_prog_id()
Dtest_tcp_check_syncookie_user.c98 if (bpf_obj_get_info_by_fd(prog_fd, &info, &info_len)) { in get_map_fd_by_prog_id()
Dtest_btf.c3829 err = bpf_obj_get_info_by_fd(btf_fd, info, &info_len); in test_big_btf_info()
3842 err = bpf_obj_get_info_by_fd(btf_fd, info, &info_len); in test_big_btf_info()
3908 err = bpf_obj_get_info_by_fd(btf_fd[0], &info[0], &info_len); in test_btf_id()
3921 err = bpf_obj_get_info_by_fd(btf_fd[1], &info[1], &info_len); in test_btf_id()
3949 err = bpf_obj_get_info_by_fd(map_fd, &map_info, &info_len); in test_btf_id()
4051 err = bpf_obj_get_info_by_fd(btf_fd, &info, &info_len); in do_test_get_info()
4185 err = bpf_obj_get_info_by_fd(prog_fd, &info, &info_len); in do_test_file()
4217 err = bpf_obj_get_info_by_fd(prog_fd, &info, &info_len); in do_test_file()
5856 err = bpf_obj_get_info_by_fd(prog_fd, &info, &info_len); in test_get_finfo()
5886 err = bpf_obj_get_info_by_fd(prog_fd, &info, &info_len); in test_get_finfo()
[all …]
/tools/bpf/bpftool/
Dbtf.c451 err = bpf_obj_get_info_by_fd(fd, &info, &len); in do_dump()
636 err = bpf_obj_get_info_by_fd(fd, info, len); in build_btf_type_table()
769 err = bpf_obj_get_info_by_fd(fd, &info, &len); in show_btf()
Dcgroup.c81 if (bpf_obj_get_info_by_fd(prog_fd, &info, &info_len)) { in show_bpf_prog()
Dprog.c103 err = bpf_obj_get_info_by_fd(fd, &info, &len); in prog_fd_by_tag()
179 err = bpf_obj_get_info_by_fd(fd, &info, &len); in show_prog_maps()
338 err = bpf_obj_get_info_by_fd(fd, &info, &len); in show_prog()
Dcommon.c396 err = bpf_obj_get_info_by_fd(fd, &pinned_info, &len); in build_pinned_obj_table()
Dmap.c139 err = bpf_obj_get_info_by_fd(fd, info, info_len); in map_parse_fd_and_info()
691 err = bpf_obj_get_info_by_fd(fd, &info, &len); in do_show()