/tools/testing/selftests/bpf/prog_tests/ |
D | metadata.c | 28 ret = bpf_obj_get_info_by_fd(map_fd, &map_info, &map_info_len); in prog_holds_map() 33 ret = bpf_obj_get_info_by_fd(prog_fd, &prog_info, &prog_info_len); in prog_holds_map() 47 ret = bpf_obj_get_info_by_fd(prog_fd, &prog_info, &prog_info_len); in prog_holds_map()
|
D | xdp_link.c | 31 err = bpf_obj_get_info_by_fd(prog_fd1, &prog_info, &prog_info_len); in test_xdp_link() 37 err = bpf_obj_get_info_by_fd(prog_fd2, &prog_info, &prog_info_len); in test_xdp_link() 123 err = bpf_obj_get_info_by_fd(bpf_link__fd(link), &link_info, &link_info_len); in test_xdp_link() 139 err = bpf_obj_get_info_by_fd(bpf_link__fd(link), &link_info, &link_info_len); in test_xdp_link()
|
D | bpf_obj_id.c | 82 err = bpf_obj_get_info_by_fd(map_fds[i], &map_infos[i], in test_bpf_obj_id() 121 err = bpf_obj_get_info_by_fd(prog_fds[i], &prog_infos[i], in test_bpf_obj_id() 164 err = bpf_obj_get_info_by_fd(bpf_link__fd(links[i]), in test_bpf_obj_id() 220 err = bpf_obj_get_info_by_fd(prog_fd, &prog_info, &info_len); in test_bpf_obj_id() 231 err = bpf_obj_get_info_by_fd(prog_fd, &prog_info, &info_len); in test_bpf_obj_id() 280 err = bpf_obj_get_info_by_fd(map_fd, &map_info, &info_len); in test_bpf_obj_id() 325 err = bpf_obj_get_info_by_fd(link_fd, &link_info, &info_len); in test_bpf_obj_id()
|
D | xdp_attach.c | 22 err = bpf_obj_get_info_by_fd(fd1, &info, &len); in test_xdp_attach() 32 err = bpf_obj_get_info_by_fd(fd2, &info, &len); in test_xdp_attach()
|
D | enable_stats.c | 31 err = bpf_obj_get_info_by_fd(prog_fd, &info, &info_len); in test_enable_stats()
|
D | xdp_info.c | 36 err = bpf_obj_get_info_by_fd(prog_fd, &info, &len); in test_xdp_info()
|
D | xdp_cpumap_attach.c | 37 err = bpf_obj_get_info_by_fd(prog_fd, &info, &len); in test_xdp_with_cpumap_helpers()
|
D | xdp_devmap_attach.c | 39 err = bpf_obj_get_info_by_fd(dm_fd, &info, &len); in test_xdp_with_devmap_helpers()
|
D | flow_dissector_reattach.c | 63 err = bpf_obj_get_info_by_fd(prog, &info, &info_len); in query_prog_id() 500 err = bpf_obj_get_info_by_fd(link, &info, &info_len); in test_link_get_info() 524 err = bpf_obj_get_info_by_fd(link, &info, &info_len); in test_link_get_info() 549 err = bpf_obj_get_info_by_fd(link, &info, &info_len); in test_link_get_info()
|
D | tp_attach_query.c | 48 err = bpf_obj_get_info_by_fd(prog_fd[i], &prog_info, &info_len); in test_tp_attach_query()
|
D | btf_map_in_map.c | 17 err = bpf_obj_get_info_by_fd(bpf_map__fd(map), &info, &info_len); in bpf_map_id()
|
D | pinning.c | 21 err = bpf_obj_get_info_by_fd(bpf_map__fd(map), in get_map_id()
|
/tools/testing/selftests/bpf/ |
D | testing_helpers.c | 74 err = bpf_obj_get_info_by_fd(bpf_link__fd(link), info, &info_len); in link_info_prog_id()
|
D | test_skb_cgroup_id_user.c | 97 if (bpf_obj_get_info_by_fd(prog_fd, &info, &info_len)) { in get_map_fd_by_prog_id()
|
D | test_tcp_check_syncookie_user.c | 98 if (bpf_obj_get_info_by_fd(prog_fd, &info, &info_len)) { in get_map_fd_by_prog_id()
|
/tools/bpf/bpftool/ |
D | struct_ops.c | 156 err = bpf_obj_get_info_by_fd(fd, info, &info_len); in get_next_struct_ops_map() 267 if (bpf_obj_get_info_by_fd(fd, info, &info_len)) { in do_one_id() 531 if (!bpf_obj_get_info_by_fd(bpf_map__fd(map), &info, in do_register()
|
D | common.c | 416 if (bpf_obj_get_info_by_fd(fd, &pinned_info, &len)) in do_build_table_cb() 681 err = bpf_obj_get_info_by_fd(fd, &info, &len); in prog_fd_by_nametag() 833 err = bpf_obj_get_info_by_fd(fd, &info, &len); in map_fd_by_name() 952 err = bpf_obj_get_info_by_fd(fd, info, info_len); in map_parse_fd_and_info()
|
D | link.c | 106 err = bpf_obj_get_info_by_fd(prog_fd, info, &len); in get_prog_info() 271 err = bpf_obj_get_info_by_fd(fd, &info, &len); in do_show_link()
|
D | btf.c | 485 err = bpf_obj_get_info_by_fd(fd, &info, &len); in do_dump() 673 err = bpf_obj_get_info_by_fd(fd, info, len); in build_btf_type_table() 811 err = bpf_obj_get_info_by_fd(fd, &info, &len); in show_btf()
|
D | map.c | 664 err = bpf_obj_get_info_by_fd(fds[i], &info, &len); in do_show_subset() 727 err = bpf_obj_get_info_by_fd(fd, &info, &len); in do_show() 780 err = bpf_obj_get_info_by_fd(fds[i], &info, &len); in maps_have_btf() 942 if (bpf_obj_get_info_by_fd(fds[i], &info, &len)) { in do_dump()
|
D | prog.c | 139 err = bpf_obj_get_info_by_fd(fd, &info, &len); in show_prog_maps() 172 ret = bpf_obj_get_info_by_fd(prog_fd, &prog_info, &prog_info_len); in find_metadata() 189 ret = bpf_obj_get_info_by_fd(prog_fd, &prog_info, &prog_info_len); in find_metadata() 200 ret = bpf_obj_get_info_by_fd(map_fd, map_info, &map_info_len); in find_metadata() 509 err = bpf_obj_get_info_by_fd(fd, &info, &len); in show_prog()
|
/tools/lib/bpf/ |
D | libbpf.map | 36 bpf_obj_get_info_by_fd;
|
D | ringbuf.c | 68 err = bpf_obj_get_info_by_fd(map_fd, &info, &len); in ring_buffer__add()
|
D | xsk.c | 515 err = bpf_obj_get_info_by_fd(ctx->prog_fd, &prog_info, &prog_len); in xsk_lookup_bpf_maps() 529 err = bpf_obj_get_info_by_fd(ctx->prog_fd, &prog_info, &prog_len); in xsk_lookup_bpf_maps() 541 err = bpf_obj_get_info_by_fd(fd, &map_info, &map_len); in xsk_lookup_bpf_maps()
|
D | bpf.h | 233 LIBBPF_API int bpf_obj_get_info_by_fd(int bpf_fd, void *info, __u32 *info_len);
|