Home
last modified time | relevance | path

Searched refs:bpf_prog_get_info_by_fd (Results 1 – 25 of 40) sorted by relevance

12

/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dtask_local_storage.c122 err = bpf_prog_get_info_by_fd(prog_fd, &info, &info_len); in test_recursion()
128 err = bpf_prog_get_info_by_fd(prog_fd, &info, &info_len); in test_recursion()
134 err = bpf_prog_get_info_by_fd(prog_fd, &info, &info_len); in test_recursion()
224 err = bpf_prog_get_info_by_fd(prog_fd, &info, &info_len); in test_nodeadlock()
Dmetadata.c33 ret = bpf_prog_get_info_by_fd(prog_fd, &prog_info, &prog_info_len); in prog_holds_map()
47 ret = bpf_prog_get_info_by_fd(prog_fd, &prog_info, &prog_info_len); in prog_holds_map()
Dxdp_cpumap_attach.c36 err = bpf_prog_get_info_by_fd(prog_fd, &info, &len); in test_xdp_with_cpumap_helpers()
88 err = bpf_prog_get_info_by_fd(frags_prog_fd, &info, &len); in test_xdp_with_cpumap_frags_helpers()
Dxdp_devmap_attach.c38 err = bpf_prog_get_info_by_fd(dm_fd, &info, &len); in test_xdp_with_devmap_helpers()
101 err = bpf_prog_get_info_by_fd(dm_fd_frags, &info, &len); in test_xdp_with_devmap_frags_helpers()
Dxdp_attach.c21 err = bpf_prog_get_info_by_fd(fd1, &info, &len); in test_xdp_attach()
31 err = bpf_prog_get_info_by_fd(fd2, &info, &len); in test_xdp_attach()
Dxdp_link.c32 err = bpf_prog_get_info_by_fd(prog_fd1, &prog_info, &prog_info_len); in serial_test_xdp_link()
38 err = bpf_prog_get_info_by_fd(prog_fd2, &prog_info, &prog_info_len); in serial_test_xdp_link()
Dverif_stats.c19 err = bpf_prog_get_info_by_fd(skel->progs.sys_enter.prog_fd, in test_verif_stats()
Denable_stats.c31 err = bpf_prog_get_info_by_fd(prog_fd, &info, &info_len); in test_enable_stats()
Dbpf_obj_id.c121 err = bpf_prog_get_info_by_fd(prog_fds[i], &prog_infos[i], in serial_test_bpf_obj_id()
220 err = bpf_prog_get_info_by_fd(prog_fd, &prog_info, &info_len); in serial_test_bpf_obj_id()
231 err = bpf_prog_get_info_by_fd(prog_fd, &prog_info, &info_len); in serial_test_bpf_obj_id()
Drecursion.c34 err = bpf_prog_get_info_by_fd(bpf_program__fd(skel->progs.on_delete), in test_recursion()
Dprog_run_opts.c15 err = bpf_prog_get_info_by_fd(prog_fd, &info, &info_len); in check_run_cnt()
Dfexit_bpf2bpf.c82 err = bpf_prog_get_info_by_fd(tgt_fd, &prog_info, &info_len); in test_fexit_bpf2bpf_common()
420 ret = bpf_prog_get_info_by_fd(attach_prog_fd, &info, &info_len); in find_prog_btf_id()
490 ASSERT_OK(bpf_prog_get_info_by_fd(fentry_fd, &info, &info_len), in test_fentry_to_cgroup_bpf()
Dxdp_info.c37 err = bpf_prog_get_info_by_fd(prog_fd, &info, &len); in serial_test_xdp_info()
Dtp_attach_query.c53 err = bpf_prog_get_info_by_fd(prog_fd[i], &prog_info, in serial_test_tp_attach_query()
Dctx_rewrite.c639 if (bpf_prog_get_info_by_fd(fd_prog, &info, &info_len)) { in get_xlated_program()
661 if (bpf_prog_get_info_by_fd(fd_prog, &info, &info_len)) { in get_xlated_program()
Dlsm_cgroup.c50 ASSERT_OK(bpf_prog_get_info_by_fd(fd, &info, &info_len), in query_prog_cnt()
/linux-6.6.21/tools/testing/selftests/bpf/
Dxdp_synproxy.c220 err = bpf_prog_get_info_by_fd(prog_fd, &info, &info_len); in syncookie_attach()
296 err = bpf_prog_get_info_by_fd(prog_fd, &prog_info, &info_len); in syncookie_open_bpf_maps()
Dtest_skb_cgroup_id_user.c96 if (bpf_prog_get_info_by_fd(prog_fd, &info, &info_len)) { in get_map_fd_by_prog_id()
Dtest_tcp_check_syncookie_user.c99 if (bpf_prog_get_info_by_fd(prog_fd, &info, &info_len)) { in get_map_fd_by_prog_id()
/linux-6.6.21/samples/bpf/
Dxdp_adjust_tail_user.c187 err = bpf_prog_get_info_by_fd(prog_fd, &info, &info_len); in main()
Dxdp_fwd_user.c79 err = bpf_prog_get_info_by_fd(prog_fd, &prog_info, &info_len); in do_detach()
Dxdp_tx_iptunnel_user.c298 err = bpf_prog_get_info_by_fd(prog_fd, &info, &info_len); in main()
/linux-6.6.21/tools/bpf/bpftool/
Dprog.c201 err = bpf_prog_get_info_by_fd(fd, &info, &len); in show_prog_maps()
234 ret = bpf_prog_get_info_by_fd(prog_fd, &prog_info, &prog_info_len); in find_metadata()
251 ret = bpf_prog_get_info_by_fd(prog_fd, &prog_info, &prog_info_len); in find_metadata()
583 err = bpf_prog_get_info_by_fd(fd, &info, &len); in show_prog()
956 err = bpf_prog_get_info_by_fd(fds[i], &info, &info_len); in do_dump()
968 err = bpf_prog_get_info_by_fd(fds[i], &info, &info_len); in do_dump()
2200 err = bpf_prog_get_info_by_fd(tgt_fd, &info, &info_len); in profile_target_name()
2222 err = bpf_prog_get_info_by_fd(tgt_fd, &info, &info_len); in profile_target_name()
Dcommon.c359 if (bpf_prog_get_info_by_fd(prog_fd, &info, &info_len)) in get_prog_full_name()
494 if (bpf_prog_get_info_by_fd(fd, &pinned_info, &len)) in do_build_table_cb()
762 err = bpf_prog_get_info_by_fd(fd, &info, &len); in prog_fd_by_nametag()
/linux-6.6.21/tools/lib/bpf/
Dlibbpf.map392 bpf_prog_get_info_by_fd;

12