Searched refs:relative_fd (Results 1 – 10 of 10) sorted by relevance
/linux-6.6.21/tools/lib/bpf/ |
D | bpf.c | 637 int ret, relative_fd; in bpf_prog_attach_opts() local 644 relative_fd = OPTS_GET(opts, relative_fd, 0); in bpf_prog_attach_opts() 648 if (relative_fd && relative_id) in bpf_prog_attach_opts() 663 attr.relative_fd = relative_fd; in bpf_prog_attach_opts() 675 int ret, relative_fd; in bpf_prog_detach_opts() local 682 relative_fd = OPTS_GET(opts, relative_fd, 0); in bpf_prog_detach_opts() 686 if (relative_fd && relative_id) in bpf_prog_detach_opts() 700 attr.relative_fd = relative_fd; in bpf_prog_detach_opts() 723 int fd, err, relative_fd; in bpf_link_create() local 799 relative_fd = OPTS_GET(opts, tcx.relative_fd, 0); in bpf_link_create() [all …]
|
D | bpf.h | 328 int relative_fd; member 338 int relative_fd; member 414 __u32 relative_fd; member
|
D | libbpf.h | 792 __u32 relative_fd; member
|
D | libbpf.c | 11964 int relative_fd; in bpf_program__attach_tcx() local 11970 relative_fd = OPTS_GET(opts, relative_fd, 0); in bpf_program__attach_tcx() 11978 if (relative_fd && relative_id) { in bpf_program__attach_tcx() 11985 link_create_opts.tcx.relative_fd = relative_fd; in bpf_program__attach_tcx()
|
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
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 …]
|
D | tc_links.c | 202 .relative_fd = bpf_program__fd(skel->progs.tc2), in test_tc_links_before_target() 356 .relative_fd = bpf_program__fd(skel->progs.tc1), in test_tc_links_after_target() 369 .relative_fd = bpf_link__fd(skel->links.tc2), in test_tc_links_after_target() 718 .relative_fd = bpf_program__fd(skel->progs.tc2), in test_tc_links_replace_target() 732 .relative_fd = bpf_link__fd(skel->links.tc2), in test_tc_links_replace_target() 930 .relative_fd = bpf_program__fd(skel->progs.tc2), in test_tc_links_invalid_target() 954 .relative_fd = bpf_program__fd(skel->progs.tc2), in test_tc_links_invalid_target() 967 .relative_fd = bpf_program__fd(skel->progs.tc2), in test_tc_links_invalid_target() 980 .relative_fd = bpf_program__fd(skel->progs.tc1), in test_tc_links_invalid_target() 1019 .relative_fd = bpf_program__fd(skel->progs.tc1), in test_tc_links_invalid_target() [all …]
|
/linux-6.6.21/kernel/bpf/ |
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()
|
D | syscall.c | 3854 if (attr->relative_fd || in bpf_prog_attach() 3928 attr->relative_fd || in bpf_prog_detach()
|
/linux-6.6.21/tools/include/uapi/linux/ |
D | bpf.h | 1480 __u32 relative_fd; member 1633 __u32 relative_fd; member
|
/linux-6.6.21/include/uapi/linux/ |
D | bpf.h | 1480 __u32 relative_fd; member 1633 __u32 relative_fd; member
|