Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/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) in BPF_PROG2() function
48 int BPF_PROG2(test_struct_arg_2, struct bpf_testmod_struct_arg_2, a, int, b, int, c, int, ret) in BPF_PROG2() function
67 int BPF_PROG2(test_struct_arg_3, int, a, struct bpf_testmod_struct_arg_2, b, int, c) in BPF_PROG2() function
77 int BPF_PROG2(test_struct_arg_4, int, a, struct bpf_testmod_struct_arg_2, b, int, c, int, ret) in BPF_PROG2() function
84 int BPF_PROG2(test_struct_arg_5, int, a, int, b, struct bpf_testmod_struct_arg_2, c) in BPF_PROG2() function
94 int BPF_PROG2(test_struct_arg_6, int, a, int, b, struct bpf_testmod_struct_arg_2, c, int, ret) in BPF_PROG2() function
101 int BPF_PROG2(test_struct_arg_7, struct bpf_testmod_struct_arg_1, a, int, b, in BPF_PROG2() function
114 int BPF_PROG2(test_struct_arg_8, struct bpf_testmod_struct_arg_1, a, int, b, in BPF_PROG2() function
122 int BPF_PROG2(test_struct_arg_9) in BPF_PROG2() 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) BPF_PROG2() function
142 int BPF_PROG2(test_struct_arg_12, __u64, a, void *, b, short, c, int, d, BPF_PROG2() function
156 int BPF_PROG2(test_struct_arg_13, __u64, a, void *, b, short, c, int, d, BPF_PROG2() function
164 int BPF_PROG2(test_struct_arg_14, __u64, a, void *, b, short, c, int, d, BPF_PROG2() function
179 int BPF_PROG2(test_struct_arg_15, __u64, a, void *, b, short, c, int, d, BPF_PROG2() function
[all...]
H A Dtimer.c131 int BPF_PROG2(test1, int, a) in BPF_PROG2() function
247 int BPF_PROG2(test2, int, a, int, b) in BPF_PROG2() function
314 int BPF_PROG2(test3, int, a) in BPF_PROG2() function
H A Dtimer_failure.c34 int BPF_PROG2(test_ret_1, int, a) in BPF_PROG2() function
H A Dtest_ldsx_insn.c56 int BPF_PROG2(test_ptr_struct_arg, struct bpf_testmod_struct_arg_1 *, p) in BPF_PROG2() function
/kernel/linux/linux-6.6/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 4 milliseconds