Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/prog_tests/
A Dcgroup_mprog_opts.c50 .expected_revision = 1, in test_prog_attach_detach()
62 .expected_revision = 2, in test_prog_attach_detach()
75 .expected_revision = 3, in test_prog_attach_detach()
87 .expected_revision = 4, in test_prog_attach_detach()
182 .expected_revision = 1, in test_link_attach_detach()
195 .expected_revision = 2, in test_link_attach_detach()
208 .expected_revision = 3, in test_link_attach_detach()
219 .expected_revision = 4, in test_link_attach_detach()
301 .expected_revision = 1, in test_preorder_prog_attach_detach()
313 .expected_revision = 2, in test_preorder_prog_attach_detach()
[all …]
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 …]
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()
/tools/lib/bpf/
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
444 __u64 expected_revision; member
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()
879 attr.link_create.cgroup.expected_revision = in bpf_link_create()
880 OPTS_GET(opts, cgroup.expected_revision, 0); in bpf_link_create()
A Dlibbpf.h858 __u64 expected_revision; member
861 #define bpf_tcx_opts__last_field expected_revision
873 __u64 expected_revision; member
876 #define bpf_netkit_opts__last_field expected_revision
888 __u64 expected_revision; member
891 #define bpf_cgroup_opts__last_field expected_revision
A Dlibbpf.c12878 link_create_opts.cgroup.expected_revision = OPTS_GET(opts, expected_revision, 0); in bpf_program__attach_cgroup_opts()
12912 link_create_opts.tcx.expected_revision = OPTS_GET(opts, expected_revision, 0); in bpf_program__attach_tcx()
12947 link_create_opts.netkit.expected_revision = OPTS_GET(opts, expected_revision, 0); in bpf_program__attach_netkit()
/tools/include/uapi/linux/
A Dbpf.h1636 __u64 expected_revision; member
1797 __u64 expected_revision; member
1813 __u64 expected_revision; member
1820 __u64 expected_revision; member

Completed in 61 milliseconds