Home
last modified time | relevance | path

Searched refs:BPF_F_BEFORE (Results 1 – 12 of 12) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcgroup_mprog_opts.c49 .flags = BPF_F_ALLOW_MULTI | BPF_F_BEFORE | BPF_F_AFTER, in test_prog_attach_detach()
61 .flags = BPF_F_ALLOW_MULTI | BPF_F_BEFORE, in test_prog_attach_detach()
193 .flags = BPF_F_BEFORE | BPF_F_LINK, in test_link_attach_detach()
506 .flags = BPF_F_ALLOW_MULTI | BPF_F_BEFORE | BPF_F_AFTER, in test_invalid_attach_detach()
515 .flags = BPF_F_ALLOW_MULTI | BPF_F_BEFORE | BPF_F_ID, in test_invalid_attach_detach()
531 .flags = BPF_F_ALLOW_MULTI | BPF_F_BEFORE | BPF_F_AFTER, in test_invalid_attach_detach()
558 .flags = BPF_F_ALLOW_MULTI | BPF_F_BEFORE, in test_invalid_attach_detach()
H A Dtc_opts.c177 .flags = BPF_F_BEFORE, in test_tc_opts_before_target()
200 .flags = BPF_F_BEFORE, in test_tc_opts_before_target()
704 .flags = BPF_F_BEFORE, in test_tc_opts_replace_target()
780 .flags = BPF_F_REPLACE | BPF_F_BEFORE, in test_tc_opts_replace_target()
835 .flags = BPF_F_BEFORE | BPF_F_AFTER | BPF_F_REPLACE, in test_tc_opts_replace_target()
846 .flags = BPF_F_BEFORE, in test_tc_opts_replace_target()
896 .flags = BPF_F_BEFORE | BPF_F_AFTER, in test_tc_opts_invalid_target()
904 .flags = BPF_F_BEFORE | BPF_F_ID, in test_tc_opts_invalid_target()
928 .flags = BPF_F_BEFORE | BPF_F_AFTER, in test_tc_opts_invalid_target()
946 .flags = BPF_F_BEFORE, in test_tc_opts_invalid_target()
[all...]
H A Dtc_links.c203 .flags = BPF_F_BEFORE, in test_tc_links_before_target()
216 .flags = BPF_F_BEFORE | BPF_F_LINK, in test_tc_links_before_target()
676 .flags = BPF_F_BEFORE, in test_tc_links_replace_target()
884 optl.flags = BPF_F_BEFORE | BPF_F_AFTER; in test_tc_links_invalid_target()
895 .flags = BPF_F_BEFORE | BPF_F_ID, in test_tc_links_invalid_target()
968 .flags = BPF_F_BEFORE | BPF_F_AFTER, in test_tc_links_invalid_target()
981 .flags = BPF_F_BEFORE, in test_tc_links_invalid_target()
1020 .flags = BPF_F_BEFORE, in test_tc_links_invalid_target()
1033 .flags = BPF_F_BEFORE | BPF_F_LINK, in test_tc_links_invalid_target()
1107 .flags = BPF_F_BEFORE | BPF_F_LIN in test_tc_links_invalid_target()
[all...]
H A Dcgroup_mprog_ordering.c31 opts.flags = BPF_F_ALLOW_MULTI | BPF_F_BEFORE; in run_getsockopt_test()
/linux/tools/testing/selftests/hid/progs/
H A Dhid_bpf_helpers.h90 #ifndef BPF_F_BEFORE
91 #define BPF_F_BEFORE (1U << 3) macro
H A Dhid.c263 .flags = BPF_F_BEFORE,
/linux/drivers/hid/bpf/
H A Dhid_bpf_struct_ops.c172 if (uhid_bpf_ops->flags & ~BPF_F_BEFORE) in hid_bpf_ops_init_member()
219 if (ops->flags & BPF_F_BEFORE) in hid_bpf_reg()
/linux/kernel/bpf/
H A Dmprog.c140 else if (flags & BPF_F_BEFORE) in bpf_mprog_insert()
260 if (flags & BPF_F_BEFORE) { in bpf_mprog_attach()
358 if (flags & BPF_F_BEFORE) { in bpf_mprog_detach()
H A Dsyscall.c4475 BPF_F_BEFORE | \
/linux/Documentation/hid/
H A Dhid-bpf.rst253 Unless ``BPF_F_BEFORE`` is added to the flags while attaching the program, the new
255 ``BPF_F_BEFORE`` will insert the new program at the beginning of the list which is
258 Note that if there are multiple programs using the ``BPF_F_BEFORE`` flag,
/linux/include/uapi/linux/
H A Dbpf.h1224 #define BPF_F_BEFORE (1U << 3)
1223 #define BPF_F_BEFORE global() macro
/linux/tools/include/uapi/linux/
H A Dbpf.h1224 #define BPF_F_BEFORE (1U << 3)
1223 #define BPF_F_BEFORE global() macro