Searched refs:relative_fd (Results 1 – 10 of 10) sorted by relevance
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | cgroup_mprog_opts.c | 74 .relative_fd = fd2, in test_prog_attach_detach() 207 .relative_fd = bpf_link__fd(link2), in test_link_attach_detach() 325 .relative_fd = fd2, in test_preorder_prog_attach_detach() 337 .relative_fd = fd2, in test_preorder_prog_attach_detach() 429 .relative_fd = fd2, in test_preorder_link_attach_detach() 441 .relative_fd = bpf_link__fd(link2), in test_preorder_link_attach_detach() 559 .relative_fd = fd1, in test_invalid_attach_detach() 568 .relative_fd = fd1, in test_invalid_attach_detach()
|
| H A D | tc_opts.c | 178 .relative_fd = fd2, in test_tc_opts_before_target() 330 .relative_fd = fd1, in test_tc_opts_after_target() 782 .relative_fd = fd1, in test_tc_opts_replace_target() 826 .relative_fd = fd1, in test_tc_opts_replace_target() 837 .relative_fd = fd1, in test_tc_opts_replace_target() 920 .relative_fd = fd2, in test_tc_opts_invalid_target() 929 .relative_fd = fd2, in test_tc_opts_invalid_target() 947 .relative_fd = fd1, in test_tc_opts_invalid_target() 956 .relative_fd = fd1, in test_tc_opts_invalid_target() 979 .relative_fd = fd1, in test_tc_opts_invalid_target() [all …]
|
| H A D | tc_links.c | 204 .relative_fd = bpf_program__fd(skel->progs.tc2), in test_tc_links_before_target() 358 .relative_fd = bpf_program__fd(skel->progs.tc1), in test_tc_links_after_target() 371 .relative_fd = bpf_link__fd(skel->links.tc2), in test_tc_links_after_target() 720 .relative_fd = bpf_program__fd(skel->progs.tc2), in test_tc_links_replace_target() 734 .relative_fd = bpf_link__fd(skel->links.tc2), in test_tc_links_replace_target() 932 .relative_fd = bpf_program__fd(skel->progs.tc2), in test_tc_links_invalid_target() 956 .relative_fd = bpf_program__fd(skel->progs.tc2), in test_tc_links_invalid_target() 969 .relative_fd = bpf_program__fd(skel->progs.tc2), in test_tc_links_invalid_target() 982 .relative_fd = bpf_program__fd(skel->progs.tc1), in test_tc_links_invalid_target() 1021 .relative_fd in test_tc_links_invalid_target() [all...] |
| H A D | cgroup_mprog_ordering.c | 33 opts.relative_fd = prog_p_fd; in run_getsockopt_test()
|
| /linux/kernel/bpf/ |
| H A D | tcx.c | 40 attr->attach_flags, attr->relative_fd, in tcx_prog_attach() 79 attr->relative_fd, attr->expected_revision); in tcx_prog_detach() 335 attr->link_create.tcx.relative_fd, in tcx_link_attach()
|
| H A D | cgroup.c | 1410 attr->relative_fd, attr->expected_revision); in cgroup_bpf_prog_attach() 1571 attr->link_create.cgroup.relative_fd, in cgroup_bpf_link_attach()
|
| H A D | syscall.c | 4617 if (attr->relative_fd || in bpf_prog_attach() 4688 if (attr->attach_flags || attr->relative_fd) in bpf_prog_detach() 4691 attr->relative_fd || in bpf_prog_detach()
|
| /linux/tools/include/uapi/linux/ |
| H A D | bpf.h | 1697 __u32 relative_fd; member 1858 __u32 relative_fd; member 1875 __u32 relative_fd; member 1882 __u32 relative_fd; member
|
| /linux/include/uapi/linux/ |
| H A D | bpf.h | 1697 __u32 relative_fd; member 1858 __u32 relative_fd; member 1875 __u32 relative_fd; member 1882 __u32 relative_fd; member
|
| /linux/tools/lib/bpf/ |
| H A D | libbpf.c | 13851 int relative_fd; in bpf_program__attach_cgroup_opts() local 13857 relative_fd = OPTS_GET(opts, relative_fd, 0); in bpf_program__attach_cgroup_opts() 13859 if (relative_fd && relative_id) { in bpf_program__attach_cgroup_opts() 13866 link_create_opts.cgroup.relative_fd = relative_fd; in bpf_program__attach_cgroup_opts() 13879 int relative_fd; in bpf_program__attach_tcx() local 13885 relative_fd = OPTS_GET(opts, relative_fd, 0); in bpf_program__attach_tcx() 13893 if (relative_fd && relative_id) { in bpf_program__attach_tcx() 13900 link_create_opts.tcx.relative_fd = relative_fd; in bpf_program__attach_tcx() 13914 int relative_fd; in bpf_program__attach_netkit() local 13920 relative_fd = OPTS_GET(opts, relative_fd, 0); in bpf_program__attach_netkit() [all …]
|