Searched refs:bpf_dummy_ops_state (Results 1 – 5 of 5) sorted by relevance
| /linux/net/bpf/ |
| H A D | bpf_dummy_struct_ops.c | 13 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 D | dummy_st_ops_success.c | 10 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 D | dummy_st_ops_fail.c | 15 struct bpf_dummy_ops_state *state, int a1, unsigned short a2, in BPF_PROG()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | dummy_st_ops.c | 9 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 D | bpf.h | 2128 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);
|