Home
last modified time | relevance | path

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

12

/tools/perf/util/
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()
/tools/testing/selftests/bpf/prog_tests/
Dxdp_link.c31 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()
Dmetadata.c28 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()
Dbpf_obj_id.c82 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()
Dxdp_attach.c22 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()
Denable_stats.c31 err = bpf_obj_get_info_by_fd(prog_fd, &info, &info_len); in test_enable_stats()
Drecursion.c34 err = bpf_obj_get_info_by_fd(bpf_program__fd(skel->progs.on_lookup), in test_recursion()
Dxdp_info.c36 err = bpf_obj_get_info_by_fd(prog_fd, &info, &len); in test_xdp_info()
Dxdp_cpumap_attach.c35 err = bpf_obj_get_info_by_fd(prog_fd, &info, &len); in test_xdp_cpumap_attach()
Dxdp_devmap_attach.c37 err = bpf_obj_get_info_by_fd(dm_fd, &info, &len); in test_xdp_with_devmap_helpers()
Dperf_link.c56 err = bpf_obj_get_info_by_fd(link_fd, &info, &info_len); in test_perf_link()
Dprog_run_xattr.c15 err = bpf_obj_get_info_by_fd(prog_fd, &info, &info_len); in check_run_cnt()
Dflow_dissector_reattach.c63 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()
Dfexit_bpf2bpf.c77 err = bpf_obj_get_info_by_fd(tgt_fd, &prog_info, &info_len); in test_fexit_bpf2bpf_common()
120 err = bpf_obj_get_info_by_fd(bpf_link__fd(link[i]), in test_fexit_bpf2bpf_common()
Dtp_attach_query.c48 err = bpf_obj_get_info_by_fd(prog_fd[i], &prog_info, &info_len); in test_tp_attach_query()
Dbtf_map_in_map.c17 err = bpf_obj_get_info_by_fd(bpf_map__fd(map), &info, &info_len); in bpf_map_id()
Dcheck_mtu.c62 err = bpf_obj_get_info_by_fd(fd, &link_info, &link_info_len); in test_check_mtu_xdp_attach()
/tools/testing/selftests/bpf/
Dtesting_helpers.c74 err = bpf_obj_get_info_by_fd(bpf_link__fd(link), info, &info_len); in link_info_prog_id()
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()
/tools/bpf/bpftool/
Dstruct_ops.c156 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()
Dcommon.c423 if (bpf_obj_get_info_by_fd(fd, &pinned_info, &len)) in do_build_table_cb()
688 err = bpf_obj_get_info_by_fd(fd, &info, &len); in prog_fd_by_nametag()
840 err = bpf_obj_get_info_by_fd(fd, &info, &len); in map_fd_by_name()
959 err = bpf_obj_get_info_by_fd(fd, info, info_len); in map_parse_fd_and_info()
Dlink.c106 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()
Dbtf.c510 err = bpf_obj_get_info_by_fd(fd, &info, &len); in do_dump()
709 err = bpf_obj_get_info_by_fd(fd, info, len); in build_btf_type_table()
862 err = bpf_obj_get_info_by_fd(fd, &info, &len); in show_btf()
874 err = bpf_obj_get_info_by_fd(fd, &info, &len); in show_btf()
/tools/lib/bpf/
Dlibbpf.map36 bpf_obj_get_info_by_fd;

12