Lines Matching defs:state
13 typedef int (*dummy_ops_test_ret_fn)(struct bpf_dummy_ops_state *state, ...);
17 struct bpf_dummy_ops_state state;
40 /* args[0] is 0 means state argument of test_N will be NULL */
42 if (u_state && copy_from_user(&args->state, u_state,
43 sizeof(args->state)))
57 if (u_state && copy_to_user(u_state, &args->state, sizeof(args->state)))
66 struct bpf_dummy_ops_state *state = NULL;
68 /* state needs to be NULL if args[0] is 0 */
70 state = &args->state;
71 return test(state, args->args[1], args->args[2],
178 const struct btf_type *state;
188 state = btf_type_by_id(reg->btf, type_id);
189 if (t != state) {