Searched refs:relative_fd (Results 1 – 10 of 10) sorted by relevance
| /tools/lib/bpf/ |
| A D | bpf.c | 645 int ret, relative_fd; in bpf_prog_attach_opts() local 652 relative_fd = OPTS_GET(opts, relative_fd, 0); in bpf_prog_attach_opts() 671 attr.relative_fd = relative_fd; in bpf_prog_attach_opts() 690 relative_fd = OPTS_GET(opts, relative_fd, 0); in bpf_prog_detach_opts() 708 attr.relative_fd = relative_fd; in bpf_prog_detach_opts() 810 relative_fd = OPTS_GET(opts, tcx.relative_fd, 0); in bpf_link_create() 818 attr.link_create.tcx.relative_fd = relative_fd; in bpf_link_create() 826 relative_fd = OPTS_GET(opts, netkit.relative_fd, 0); in bpf_link_create() 834 attr.link_create.netkit.relative_fd = relative_fd; in bpf_link_create() 869 relative_fd = OPTS_GET(opts, cgroup.relative_fd, 0); in bpf_link_create() [all …]
|
| A D | bpf.h | 346 int relative_fd; member 356 int relative_fd; member 432 __u32 relative_fd; member 437 __u32 relative_fd; member 442 __u32 relative_fd; member
|
| A D | libbpf.h | 856 __u32 relative_fd; member 871 __u32 relative_fd; member 886 __u32 relative_fd; member
|
| A D | libbpf.c | 12864 int relative_fd; in bpf_program__attach_cgroup_opts() local 12870 relative_fd = OPTS_GET(opts, relative_fd, 0); in bpf_program__attach_cgroup_opts() 12872 if (relative_fd && relative_id) { in bpf_program__attach_cgroup_opts() 12879 link_create_opts.cgroup.relative_fd = relative_fd; in bpf_program__attach_cgroup_opts() 12892 int relative_fd; in bpf_program__attach_tcx() local 12898 relative_fd = OPTS_GET(opts, relative_fd, 0); in bpf_program__attach_tcx() 12906 if (relative_fd && relative_id) { in bpf_program__attach_tcx() 12913 link_create_opts.tcx.relative_fd = relative_fd; in bpf_program__attach_tcx() 12927 int relative_fd; in bpf_program__attach_netkit() local 12933 relative_fd = OPTS_GET(opts, relative_fd, 0); in bpf_program__attach_netkit() [all …]
|
| /tools/testing/selftests/bpf/prog_tests/ |
| 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()
|
| 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 …]
|
| A D | cgroup_mprog_ordering.c | 33 opts.relative_fd = prog_p_fd; in run_getsockopt_test()
|
| 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 = bpf_program__fd(skel->progs.tc1), in test_tc_links_invalid_target() [all …]
|
| A D | tc_netkit.c | 378 .relative_fd = bpf_program__fd(skel->progs.tc1), in serial_test_tc_netkit_multi_links_target() 493 .relative_fd = fd1, in serial_test_tc_netkit_multi_opts_target()
|
| /tools/include/uapi/linux/ |
| A D | bpf.h | 1633 __u32 relative_fd; member 1794 __u32 relative_fd; member 1810 __u32 relative_fd; member 1817 __u32 relative_fd; member
|
Completed in 75 milliseconds