/linux/tools/testing/selftests/bpf/progs/ |
H A D | tracing_struct.c | 30 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 D | tracing_struct_many_args.c | 23 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 D | preempted_bpf_ma_op.c | 81 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 D | timer.c | 135 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 D | timer_failure.c | 55 long BPF_PROG2(test_bad_ret, int, a) in __flag()
|
H A D | test_ldsx_insn.c | 58 int BPF_PROG2(test_ptr_struct_arg, struct bpf_testmod_struct_arg_1 *, p) in BPF_PROG2() function
|
/linux/tools/lib/bpf/ |
H A D | bpf_tracing.h | 758 * 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...) \
|