Home
last modified time | relevance | path

Searched refs:bpf_dummy_ops_state (Results 1 – 5 of 5) sorted by relevance

/linux/net/bpf/
H A Dbpf_dummy_struct_ops.c13 typedef int (*dummy_ops_test_ret_fn)(struct bpf_dummy_ops_state *state, ...);
15 static int dummy_ops_test_ret_function(struct bpf_dummy_ops_state *state, ...) in dummy_ops_test_ret_function()
22 struct bpf_dummy_ops_state state;
73 struct bpf_dummy_ops_state *state = NULL; in dummy_ops_call_op()
256 if (off + size > sizeof(struct bpf_dummy_ops_state)) { in bpf_dummy_ops_btf_struct_access()
285 static int bpf_dummy_ops__test_1(struct bpf_dummy_ops_state *cb__nullable) in bpf_dummy_ops__test_1()
290 static int bpf_dummy_test_2(struct bpf_dummy_ops_state *cb, int a1, unsigned short a2, in bpf_dummy_test_2()
296 static int bpf_dummy_test_sleepable(struct bpf_dummy_ops_state *cb) in bpf_dummy_test_sleepable()
/linux/tools/testing/selftests/bpf/progs/
H A Ddummy_st_ops_success.c10 int BPF_PROG(test_1, struct bpf_dummy_ops_state *state) in BPF_PROG()
34 int BPF_PROG(test_2, struct bpf_dummy_ops_state *state, int a1, unsigned short a2, in BPF_PROG()
46 int BPF_PROG(test_sleepable, struct bpf_dummy_ops_state *state) in BPF_PROG()
H A Ddummy_st_ops_fail.c15 struct bpf_dummy_ops_state *state, int a1, unsigned short a2, in BPF_PROG()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Ddummy_st_ops.c9 struct bpf_dummy_ops_state { struct
53 struct bpf_dummy_ops_state in_state = { in test_dummy_init_ptr_arg()
101 struct bpf_dummy_ops_state st = { 7 }; in test_dummy_multiple_args()
130 struct bpf_dummy_ops_state st; in test_dummy_sleepable()
/linux/include/linux/
H A Dbpf.h2128 struct bpf_dummy_ops_state { struct
2133 int (*test_1)(struct bpf_dummy_ops_state *cb); argument
2134 int (*test_2)(struct bpf_dummy_ops_state *cb, int a1, unsigned short a2,
2136 int (*test_sleepable)(struct bpf_dummy_ops_state *cb);