Home
last modified time | relevance | path

Searched refs:expected_revision (Results 1 – 11 of 11) sorted by relevance

/linux-6.15/tools/lib/bpf/
H A Dbpf.h348 __u64 expected_revision; member
351 #define bpf_prog_attach_opts__last_field expected_revision
358 __u64 expected_revision; member
361 #define bpf_prog_detach_opts__last_field expected_revision
434 __u64 expected_revision; member
439 __u64 expected_revision; member
H A Dbpf.c643 const size_t attr_sz = offsetofend(union bpf_attr, expected_revision); in bpf_prog_attach_opts()
664 attr.expected_revision = OPTS_GET(opts, expected_revision, 0); in bpf_prog_attach_opts()
681 const size_t attr_sz = offsetofend(union bpf_attr, expected_revision); in bpf_prog_detach_opts()
701 attr.expected_revision = OPTS_GET(opts, expected_revision, 0); in bpf_prog_detach_opts()
820 attr.link_create.tcx.expected_revision = OPTS_GET(opts, tcx.expected_revision, 0); in bpf_link_create()
836 attr.link_create.netkit.expected_revision = OPTS_GET(opts, netkit.expected_revision, 0); in bpf_link_create()
H A Dlibbpf.h856 __u64 expected_revision; member
859 #define bpf_tcx_opts__last_field expected_revision
871 __u64 expected_revision; member
874 #define bpf_netkit_opts__last_field expected_revision
H A Dlibbpf.c12862 link_create_opts.tcx.expected_revision = OPTS_GET(opts, expected_revision, 0); in bpf_program__attach_tcx()
12897 link_create_opts.netkit.expected_revision = OPTS_GET(opts, expected_revision, 0); in bpf_program__attach_netkit()
/linux-6.15/kernel/bpf/
H A Dtcx.c41 attr->expected_revision); in tcx_prog_attach()
79 attr->relative_fd, attr->expected_revision); in tcx_prog_detach()
336 attr->link_create.tcx.expected_revision); in tcx_link_attach()
H A Dsyscall.c4186 #define BPF_PROG_ATTACH_LAST_FIELD expected_revision
4220 attr->expected_revision) in bpf_prog_attach()
4274 #define BPF_PROG_DETACH_LAST_FIELD expected_revision
4298 attr->expected_revision) { in bpf_prog_detach()
/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A Dtc_opts.c479 .expected_revision = 1, in test_tc_opts_revision_target()
489 .expected_revision = 1, in test_tc_opts_revision_target()
499 .expected_revision = 2, in test_tc_opts_revision_target()
530 .expected_revision = 2, in test_tc_opts_revision_target()
539 .expected_revision = 3, in test_tc_opts_revision_target()
694 .expected_revision = 1, in test_tc_opts_replace_target()
706 .expected_revision = 2, in test_tc_opts_replace_target()
748 .expected_revision = 3, in test_tc_opts_replace_target()
783 .expected_revision = 4, in test_tc_opts_replace_target()
827 .expected_revision = 5, in test_tc_opts_replace_target()
[all …]
H A Dtc_links.c453 optl.expected_revision = 1; in test_tc_links_revision_target()
465 optl.expected_revision = 1; in test_tc_links_revision_target()
475 optl.expected_revision = 2; in test_tc_links_revision_target()
663 optl.expected_revision = 1; in test_tc_links_replace_target()
678 .expected_revision = 2, in test_tc_links_replace_target()
721 .expected_revision = 3, in test_tc_links_replace_target()
735 .expected_revision = 3, in test_tc_links_replace_target()
/linux-6.15/drivers/net/
H A Dnetkit.c554 attr->expected_revision); in netkit_prog_attach()
588 attr->relative_fd, attr->expected_revision); in netkit_prog_detach()
812 attr->link_create.netkit.expected_revision); in netkit_link_attach()
/linux-6.15/tools/include/uapi/linux/
H A Dbpf.h1618 __u64 expected_revision; member
1779 __u64 expected_revision; member
1795 __u64 expected_revision; member
/linux-6.15/include/uapi/linux/
H A Dbpf.h1618 __u64 expected_revision; member
1779 __u64 expected_revision; member
1795 __u64 expected_revision; member