Home
last modified time | relevance | path

Searched refs:BPF_PROG2 (Results 1 – 7 of 7) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dtracing_struct.c30 int BPF_PROG2(test_struct_arg_1, struct bpf_testmod_struct_arg_2, a, int, b, int, c) in BPF_PROG2() function
40 int BPF_PROG2(test_struct_arg_2, struct bpf_testmod_struct_arg_2, a, int, b, int, c, int, ret) in BPF_PROG2() function
59 int BPF_PROG2(test_struct_arg_3, int, a, struct bpf_testmod_struct_arg_2, b, int, c) in BPF_PROG2() function
69 int BPF_PROG2(test_struct_arg_4, int, a, struct bpf_testmod_struct_arg_2, b, int, c, int, ret) in BPF_PROG2() function
76 int BPF_PROG2(test_struct_arg_5, int, a, int, b, struct bpf_testmod_struct_arg_2, c) in BPF_PROG2() function
86 int BPF_PROG2(test_struct_arg_6, int, a, int, b, struct bpf_testmod_struct_arg_2, c, int, ret) in BPF_PROG2() function
93 int BPF_PROG2(test_struct_arg_7, struct bpf_testmod_struct_arg_1, a, int, b, in BPF_PROG2() function
106 int BPF_PROG2(test_struct_arg_8, struct bpf_testmod_struct_arg_1, a, int, b, in BPF_PROG2() function
114 int BPF_PROG2(test_struct_arg_9) in BPF_PROG2() function
120 int BPF_PROG2(test_struct_arg_10, int, ret) in BPF_PROG2() function
[all …]
H A Dtracing_struct_many_args.c23 int BPF_PROG2(test_struct_many_args_1, __u64, a, void *, b, short, c, int, d, in BPF_PROG2() function
37 int BPF_PROG2(test_struct_many_args_2, __u64, a, void *, b, short, c, int, d, in BPF_PROG2() function
45 int BPF_PROG2(test_struct_many_args_3, __u64, a, void *, b, short, c, int, d, in BPF_PROG2() function
60 int BPF_PROG2(test_struct_many_args_4, __u64, a, void *, b, short, c, int, d, in BPF_PROG2() function
69 int BPF_PROG2(test_struct_many_args_5, __u64, a, void *, b, short, c, int, d, void *, e, in BPF_PROG2() function
88 int BPF_PROG2(test_struct_many_args_6, __u64, a, void *, b, short, c, int, d, void *, e, in BPF_PROG2() function
H A Dpreempted_bpf_ma_op.c81 int BPF_PROG2(test0, int, a) in BPF_PROG2() function
88 int BPF_PROG2(test1, int, a, u64, b) in BPF_PROG2() function
95 int BPF_PROG2(test2, char, a, int, b, u64, c) in BPF_PROG2() function
102 int BPF_PROG2(test3, void *, a, char, b, int, c, u64, d) in BPF_PROG2() function
H A Dtimer.c135 int BPF_PROG2(test1, int, a) in BPF_PROG2() function
251 int BPF_PROG2(test2, int, a, int, b) in BPF_PROG2() function
318 int BPF_PROG2(test3, int, a) in BPF_PROG2() function
379 int BPF_PROG2(test4, int, a) in BPF_PROG2() function
388 int BPF_PROG2(test5, int, a) in BPF_PROG2() function
H A Dtimer_failure.c55 long BPF_PROG2(test_bad_ret, int, a) in __flag()
H A Dtest_ldsx_insn.c58 int BPF_PROG2(test_ptr_struct_arg, struct bpf_testmod_struct_arg_1 *, p) in BPF_PROG2() function
/linux/tools/lib/bpf/
H A Dbpf_tracing.h758 * BPF_PROG2 is an enhanced version of BPF_PROG in order to handle struct
761 * of u64 values for each argument. Therefore, BPF_PROG2 has different
766 * the corresponding BPF_PROG2 syntax is:
768 * int BPF_PROG2(test2, int, a, int, b) { ... }
772 * Use BPF_PROG2 macro if one of the arguments might be a struct/union larger
775 * int BPF_PROG2(test_struct_arg, struct bpf_testmod_struct_arg_1, a, int, b, macro
782 #define BPF_PROG2(name, args...) \