/linux-6.1.9/tools/perf/util/ |
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()
|
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()
|
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
D | xdp_link.c | 32 err = bpf_obj_get_info_by_fd(prog_fd1, &prog_info, &prog_info_len); in serial_test_xdp_link() 38 err = bpf_obj_get_info_by_fd(prog_fd2, &prog_info, &prog_info_len); in serial_test_xdp_link() 122 err = bpf_obj_get_info_by_fd(bpf_link__fd(link), &link_info, &link_info_len); in serial_test_xdp_link() 140 err = bpf_obj_get_info_by_fd(bpf_link__fd(link), &link_info, &link_info_len); in serial_test_xdp_link()
|
D | bpf_obj_id.c | 82 err = bpf_obj_get_info_by_fd(map_fds[i], &map_infos[i], in serial_test_bpf_obj_id() 121 err = bpf_obj_get_info_by_fd(prog_fds[i], &prog_infos[i], in serial_test_bpf_obj_id() 164 err = bpf_obj_get_info_by_fd(bpf_link__fd(links[i]), in serial_test_bpf_obj_id() 220 err = bpf_obj_get_info_by_fd(prog_fd, &prog_info, &info_len); in serial_test_bpf_obj_id() 231 err = bpf_obj_get_info_by_fd(prog_fd, &prog_info, &info_len); in serial_test_bpf_obj_id() 280 err = bpf_obj_get_info_by_fd(map_fd, &map_info, &info_len); in serial_test_bpf_obj_id() 325 err = bpf_obj_get_info_by_fd(link_fd, &link_info, &info_len); in serial_test_bpf_obj_id()
|
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_attach.c | 21 err = bpf_obj_get_info_by_fd(fd1, &info, &len); in serial_test_xdp_attach() 31 err = bpf_obj_get_info_by_fd(fd2, &info, &len); in serial_test_xdp_attach()
|
D | xdp_cpumap_attach.c | 36 err = bpf_obj_get_info_by_fd(prog_fd, &info, &len); in test_xdp_with_cpumap_helpers() 88 err = bpf_obj_get_info_by_fd(frags_prog_fd, &info, &len); in test_xdp_with_cpumap_frags_helpers()
|
D | xdp_devmap_attach.c | 38 err = bpf_obj_get_info_by_fd(dm_fd, &info, &len); in test_xdp_with_devmap_helpers() 101 err = bpf_obj_get_info_by_fd(dm_fd_frags, &info, &len); in test_xdp_with_devmap_frags_helpers()
|
D | fexit_bpf2bpf.c | 80 err = bpf_obj_get_info_by_fd(tgt_fd, &prog_info, &info_len); in test_fexit_bpf2bpf_common() 137 err = bpf_obj_get_info_by_fd(bpf_link__fd(link[i]), in test_fexit_bpf2bpf_common() 418 ret = bpf_obj_get_info_by_fd(attach_prog_fd, &info, &info_len); in find_prog_btf_id() 488 ASSERT_OK(bpf_obj_get_info_by_fd(fentry_fd, &info, &info_len), in test_fentry_to_cgroup_bpf()
|
D | unpriv_bpf_disabled.c | 182 if (ASSERT_OK(bpf_obj_get_info_by_fd(map_fds[0], &map_info, &map_info_len), in test_unpriv_bpf_disabled_negative() 190 if (ASSERT_OK(bpf_obj_get_info_by_fd(bpf_link__fd(skel->links.sys_nanosleep_enter), in test_unpriv_bpf_disabled_negative() 272 ASSERT_OK(bpf_obj_get_info_by_fd(prog_fd, &prog_info, &prog_info_len), in test_unpriv_bpf_disabled()
|
D | verif_stats.c | 19 err = bpf_obj_get_info_by_fd(skel->progs.sys_enter.prog_fd, &info, &len); in test_verif_stats()
|
D | enable_stats.c | 31 err = bpf_obj_get_info_by_fd(prog_fd, &info, &info_len); in test_enable_stats()
|
D | recursion.c | 34 err = bpf_obj_get_info_by_fd(bpf_program__fd(skel->progs.on_delete), in test_recursion()
|
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 | xdp_info.c | 36 err = bpf_obj_get_info_by_fd(prog_fd, &info, &len); in serial_test_xdp_info()
|
D | prog_run_opts.c | 15 err = bpf_obj_get_info_by_fd(prog_fd, &info, &info_len); in check_run_cnt()
|
D | perf_link.c | 57 err = bpf_obj_get_info_by_fd(link_fd, &info, &info_len); in serial_test_perf_link()
|
/linux-6.1.9/tools/testing/selftests/bpf/ |
D | xdp_synproxy.c | 219 err = bpf_obj_get_info_by_fd(prog_fd, &info, &info_len); in syncookie_attach() 294 err = bpf_obj_get_info_by_fd(prog_fd, &prog_info, &info_len); in syncookie_open_bpf_maps() 319 err = bpf_obj_get_info_by_fd(map_fd, &map_info, &info_len); in syncookie_open_bpf_maps()
|
D | test_skb_cgroup_id_user.c | 96 if (bpf_obj_get_info_by_fd(prog_fd, &info, &info_len)) { in get_map_fd_by_prog_id()
|
/linux-6.1.9/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() 528 if (!bpf_obj_get_info_by_fd(bpf_map__fd(map), &info, in do_register()
|
D | common.c | 354 if (bpf_obj_get_info_by_fd(prog_fd, &info, &info_len)) in get_prog_full_name() 489 if (bpf_obj_get_info_by_fd(fd, &pinned_info, &len)) in do_build_table_cb() 755 err = bpf_obj_get_info_by_fd(fd, &info, &len); in prog_fd_by_nametag() 915 err = bpf_obj_get_info_by_fd(fd, &info, &len); in map_fd_by_name() 1034 err = bpf_obj_get_info_by_fd(fd, info, info_len); in map_parse_fd_and_info()
|
D | btf.c | 543 err = bpf_obj_get_info_by_fd(btf_fd, &btf_info, &len); in btf_is_kernel_module() 612 err = bpf_obj_get_info_by_fd(fd, &info, &len); in do_dump() 795 err = bpf_obj_get_info_by_fd(fd, info, len); in build_btf_type_table() 944 err = bpf_obj_get_info_by_fd(fd, &info, &len); in show_btf() 956 err = bpf_obj_get_info_by_fd(fd, &info, &len); in show_btf()
|
D | prog.c | 199 err = bpf_obj_get_info_by_fd(fd, &info, &len); in show_prog_maps() 232 ret = bpf_obj_get_info_by_fd(prog_fd, &prog_info, &prog_info_len); in find_metadata() 249 ret = bpf_obj_get_info_by_fd(prog_fd, &prog_info, &prog_info_len); in find_metadata() 260 ret = bpf_obj_get_info_by_fd(map_fd, map_info, &map_info_len); in find_metadata() 583 err = bpf_obj_get_info_by_fd(fd, &info, &len); in show_prog() 951 err = bpf_obj_get_info_by_fd(fds[i], &info, &info_len); in do_dump() 963 err = bpf_obj_get_info_by_fd(fds[i], &info, &info_len); in do_dump() 2106 err = bpf_obj_get_info_by_fd(tgt_fd, &info, &info_len); in profile_target_name() 2128 err = bpf_obj_get_info_by_fd(tgt_fd, &info, &info_len); in profile_target_name()
|
D | link.c | 148 err = bpf_obj_get_info_by_fd(prog_fd, info, &len); in get_prog_info() 332 err = bpf_obj_get_info_by_fd(fd, &info, &len); in do_show_link()
|
/linux-6.1.9/samples/bpf/ |
D | xdp1_user.c | 156 err = bpf_obj_get_info_by_fd(prog_fd, &info, &info_len); in main()
|