/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | cgroup_mprog_opts.c | 50 .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() 119 optd.expected_revision = 5; 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 in test_preorder_prog_attach_detach() [all...] |
H A D | tc_opts.c | 479 .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 in test_tc_opts_replace_target() [all...] |
/linux/tools/lib/bpf/ |
H A D | bpf.h | 348 __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
|
H A D | bpf.c | 643 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, in bpf_link_create() [all...] |
H A D | libbpf.h | 858 __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
|
H A D | libbpf.c | 12878 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()
|
/linux/kernel/bpf/ |
H A D | tcx.c | 41 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 D | cgroup.c | 1348 attr->relative_fd, attr->expected_revision); in cgroup_bpf_prog_attach() 1370 ret = cgroup_bpf_detach(cgrp, prog, attr->attach_type, attr->expected_revision); in cgroup_bpf_prog_detach() 1510 attr->link_create.cgroup.expected_revision); in cgroup_bpf_link_attach()
|
H A D | syscall.c | 4352 #define BPF_PROG_ATTACH_LAST_FIELD expected_revision 4389 attr->expected_revision) in bpf_prog_attach() 4434 #define BPF_PROG_DETACH_LAST_FIELD expected_revision 4461 attr->expected_revision) { in bpf_prog_detach()
|
/linux/drivers/net/ |
H A D | netkit.c | 553 attr->expected_revision); in netkit_prog_attach() 587 attr->relative_fd, attr->expected_revision); in netkit_prog_detach() 810 attr->link_create.netkit.expected_revision); in netkit_link_attach()
|
/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 1636 __u64 expected_revision; member 1797 __u64 expected_revision; member 1813 __u64 expected_revision; member 1820 __u64 expected_revision; member
|
/linux/include/uapi/linux/ |
H A D | bpf.h | 1636 __u64 expected_revision; member 1797 __u64 expected_revision; member 1813 __u64 expected_revision; member 1820 __u64 expected_revision; member
|