Searched refs:relative_fd (Results 1 - 10 of 10) sorted by relevance
/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A 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 in bpf_prog_detach_opts() 723 int fd, err, relative_fd; bpf_link_create() local [all...] |
H A D | bpf.h | 328 int relative_fd; member 338 int relative_fd; member 414 __u32 relative_fd; member
|
H A D | libbpf.h | 792 __u32 relative_fd; member
|
H A D | libbpf.c | 11968 int relative_fd; in bpf_program__attach_tcx() local 11974 relative_fd = OPTS_GET(opts, relative_fd, 0); in bpf_program__attach_tcx() 11982 if (relative_fd && relative_id) { in bpf_program__attach_tcx() 11983 pr_warn("prog '%s': relative_fd and relative_id cannot be set at the same time\n", in bpf_program__attach_tcx() 11989 link_create_opts.tcx.relative_fd = relative_fd; in bpf_program__attach_tcx()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
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 in test_tc_opts_invalid_target() [all...] |
H A 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 in test_tc_links_invalid_target() [all...] |
/kernel/linux/linux-6.6/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 | syscall.c | 3854 if (attr->relative_fd || in bpf_prog_attach() 3928 attr->relative_fd || in bpf_prog_detach()
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | bpf.h | 1480 __u32 relative_fd; member 1633 __u32 relative_fd; member
|
/kernel/linux/linux-6.6/tools/include/uapi/linux/ |
H A D | bpf.h | 1480 __u32 relative_fd; member 1633 __u32 relative_fd; member
|
Completed in 50 milliseconds