Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
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 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,
782 #define BPF_PROG2(name, args...) \ macro