Home
last modified time | relevance | path

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

12

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A Dverif_stats.c19 err = bpf_prog_get_info_by_fd(skel->progs.sys_enter.prog_fd, in test_verif_stats()
H A Denable_stats.c31 err = bpf_prog_get_info_by_fd(prog_fd, &info, &info_len); in test_enable_stats()
H A 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()
H A Drecursion.c34 err = bpf_prog_get_info_by_fd(bpf_program__fd(skel->progs.on_delete), in test_recursion()
H A 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()
H A Dprog_run_opts.c15 err = bpf_prog_get_info_by_fd(prog_fd, &info, &info_len); in check_run_cnt()
H A Dxdp_info.c37 err = bpf_prog_get_info_by_fd(prog_fd, &info, &len); in serial_test_xdp_info()
H A Dtp_attach_query.c53 err = bpf_prog_get_info_by_fd(prog_fd[i], &prog_info, in serial_test_tp_attach_query()
H A 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()
H A Dlsm_cgroup.c50 ASSERT_OK(bpf_prog_get_info_by_fd(fd, &info, &info_len), in query_prog_cnt()
/openbmc/linux/tools/testing/selftests/bpf/
H A 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()
H A 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()
H A 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()
/openbmc/linux/tools/bpf/bpftool/
H A 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()
963 err = bpf_prog_get_info_by_fd(fds[i], &info, &info_len); in do_dump()
975 err = bpf_prog_get_info_by_fd(fds[i], &info, &info_len); in do_dump()
2214 err = bpf_prog_get_info_by_fd(tgt_fd, &info, &info_len); in profile_target_name()
2236 err = bpf_prog_get_info_by_fd(tgt_fd, &info, &info_len); in profile_target_name()
H A Dcommon.c431 if (bpf_prog_get_info_by_fd(prog_fd, &info, &info_len)) in get_prog_full_name()
566 if (bpf_prog_get_info_by_fd(fd, &pinned_info, &len)) in do_build_table_cb()
834 err = bpf_prog_get_info_by_fd(fd, &info, &len); in prog_fd_by_nametag()
/openbmc/linux/samples/bpf/
H A Dxdp_adjust_tail_user.c187 err = bpf_prog_get_info_by_fd(prog_fd, &info, &info_len); in main()
H A Dxdp_fwd_user.c79 err = bpf_prog_get_info_by_fd(prog_fd, &prog_info, &info_len); in do_detach()
H A Dxdp_tx_iptunnel_user.c298 err = bpf_prog_get_info_by_fd(prog_fd, &info, &info_len); in main()
/openbmc/linux/tools/lib/bpf/
H A Dlibbpf.map392 bpf_prog_get_info_by_fd;

12