Searched refs:BPF_PROG2 (Results 1 - 6 of 6) sorted by relevance

/linux-master/tools/testing/selftests/bpf/progs/
H A Dtracing_struct.c38 int BPF_PROG2(test_struct_arg_1, struct bpf_testmod_struct_arg_2, a, int, b, int, c) function
48 int BPF_PROG2(test_struct_arg_2, struct bpf_testmod_struct_arg_2, a, int, b, int, c, int, ret) function
67 int BPF_PROG2(test_struct_arg_3, int, a, struct bpf_testmod_struct_arg_2, b, int, c) function
77 int BPF_PROG2(test_struct_arg_4, int, a, struct bpf_testmod_struct_arg_2, b, int, c, int, ret) function
84 int BPF_PROG2(test_struct_arg_5, int, a, int, b, struct bpf_testmod_struct_arg_2, c) function
94 int BPF_PROG2(test_struct_arg_6, int, a, int, b, struct bpf_testmod_struct_arg_2, c, int, ret) function
101 int BPF_PROG2(test_struct_arg_7, struct bpf_testmod_struct_arg_1, a, int, b, function
114 int BPF_PROG2(test_struct_arg_8, struct bpf_testmod_struct_arg_1, a, int, b, function
122 int BPF_PROG2(test_struct_arg_9) function
128 int BPF_PROG2(test_struct_arg_1 function
135 int BPF_PROG2(test_struct_arg_11, struct bpf_testmod_struct_arg_3 *, a) function
142 int BPF_PROG2(test_struct_arg_12, __u64, a, void *, b, short, c, int, d, function
156 int BPF_PROG2(test_struct_arg_13, __u64, a, void *, b, short, c, int, d, function
164 int BPF_PROG2(test_struct_arg_14, __u64, a, void *, b, short, c, int, d, function
179 int BPF_PROG2(test_struct_arg_15, __u64, a, void *, b, short, c, int, d, function
[all...]
H A Dpreempted_bpf_ma_op.c81 int BPF_PROG2(test0, int, a) function
88 int BPF_PROG2(test1, int, a, u64, b) function
95 int BPF_PROG2(test2, char, a, int, b, u64, c) function
102 int BPF_PROG2(test3, void *, a, char, b, int, c, u64, d) function
H A Dtimer_failure.c55 long BPF_PROG2(test_bad_ret, int, a)
H A Dtest_ldsx_insn.c58 int BPF_PROG2(test_ptr_struct_arg, struct bpf_testmod_struct_arg_1 *, p) function
H A Dtimer.c134 int BPF_PROG2(test1, int, a) function
250 int BPF_PROG2(test2, int, a, int, b) function
317 int BPF_PROG2(test3, int, a) function
378 int BPF_PROG2(test4, int, a) function
387 int BPF_PROG2(test5, int, a) function
/linux-master/tools/lib/bpf/
H A Dbpf_tracing.h751 * BPF_PROG2 is an enhanced version of BPF_PROG in order to handle struct
754 * of u64 values for each argument. Therefore, BPF_PROG2 has different
759 * the corresponding BPF_PROG2 syntax is:
761 * int BPF_PROG2(test2, int, a, int, b) { ... }
765 * Use BPF_PROG2 macro if one of the arguments might be a struct/union larger
768 * int BPF_PROG2(test_struct_arg, struct bpf_testmod_struct_arg_1, a, int, b,
775 #define BPF_PROG2(name, args...) \ macro

Completed in 153 milliseconds