Home
last modified time | relevance | path

Searched refs:test_1 (Results 1 – 19 of 19) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dstruct_ops_autocreate.c11 SEC("struct_ops/test_1")
12 int BPF_PROG(test_1) in BPF_PROG() argument
18 SEC("struct_ops/test_1")
25 int (*test_1)(void); member
29 int (*test_1)(void); member
35 .test_1 = (void *)test_1
40 .test_1 = (void *)test_1,
46 .test_1
[all...]
H A Dstruct_ops_module.c13 SEC("struct_ops/test_1")
14 int BPF_PROG(test_1) in BPF_PROG() argument
35 .test_1 = (void *)test_1,
47 int (*test_1)(void); member
54 .test_1 = (void *)test_1,
59 int (*test_1)(void); member
74 .test_1 = (void *)test_1,
80 int (*test_1)(void); global() member
[all...]
H A Dbad_struct_ops.c10 SEC("struct_ops/test_1")
11 int BPF_PROG(test_1) { return 0; } in BPF_PROG() argument
18 .test_1 = (void *)test_1,
24 .test_1 = (void *)test_1
H A Dtest_global_map_resize.c81 SEC("struct_ops/test_1")
82 int BPF_PROG(test_1) in BPF_PROG() argument
88 int (*test_1)(void); member
93 .test_1 = (void *)test_1
H A Dstruct_ops_private_stack_recur.c36 int BPF_PROG(test_1) in BPF_PROG() argument
49 .test_1 = (void *)test_1,
H A Dstruct_ops_private_stack_fail.c36 int BPF_PROG(test_1) in BPF_PROG() argument
60 .test_1 = (void *)test_1,
H A Dstruct_ops_private_stack.c36 int BPF_PROG(test_1) in BPF_PROG() argument
60 .test_1 = (void *)test_1,
H A Dstruct_ops_autocreate2.c11 SEC("?struct_ops/test_1")
18 SEC("?struct_ops/test_1")
26 int (*test_1)(void); member
31 .test_1 = (void *)bar
H A Dstruct_ops_nulled_out_cb.c12 SEC("struct_ops/test_1")
20 .test_1 = (void *)test_1_turn_off,
H A Ddummy_st_ops_fail.c24 .test_1 = NULL,
/linux/tools/testing/selftests/bpf/test_kmods/
H A Dbpf_testmod.h35 int (*test_1)(void); member
100 int (*test_1)(void); member
104 int (*test_1)(void); member
H A Dbpf_testmod.c265 .test_1 = bpf_testmod_test_3,
272 st_ops3->test_1(); in bpf_testmod_test_struct_ops3()
277 st_ops3->test_1(); in bpf_testmod_ops3_call_test_1()
1149 if (ops->test_1) in bpf_dummy_reg()
1150 ops->test_1(); in bpf_dummy_reg()
1198 .test_1 = bpf_testmod_test_1,
1220 ops->test_1(); in bpf_dummy_reg2()
1225 .test_1 = bpf_testmod_test_1,
1268 printk("bpf_testmod: oh no, recursing into test_1, recursion_misses %llu", in test_1_recursion_detected()
1279 case offsetof(struct bpf_testmod_ops3, test_1) in st_ops3_check_member()
[all...]
/linux/Documentation/dev-tools/
H A Dktap.rst209 ok 1 test_1
224 not ok 1 test_1
259 # test_1: initializing test_1
260 ok 1 test_1
264 ok 1 test_1 # SKIP test_1 skipped
269 ok 1 test_1
281 - "test_1", which passes, and outputs the diagnostic message "test_1
[all...]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dstruct_ops_autocreate.c46 /* test_1() would be called from bpf_dummy_reg2() in bpf_testmod.c */ in check_test_1_link()
65 ASSERT_TRUE(bpf_program__autoload(skel->progs.test_1), "test_1 default autoload"); in can_load_partial_object()
72 ASSERT_TRUE(bpf_program__autoload(skel->progs.test_1), "test_1 actual autoload"); in can_load_partial_object()
111 /* Swap test_mod1->test_1 program from 'bar' to 'foo' using shadow vars.
128 skel->struct_ops.testmod_1->test_1 = skel->progs.foo; in autoload_and_shadow_vars()
141 /* test_1() would be called from bpf_dummy_reg2() in bpf_testmod.c */ in autoload_and_shadow_vars()
H A Ddummy_st_ops.c42 fd = bpf_program__fd(skel->progs.test_1); in test_dummy_init_ret_value()
69 fd = bpf_program__fd(skel->progs.test_1); in test_dummy_init_ptr_arg()
76 fd, "test_1"); in test_dummy_init_ptr_arg()
H A Dtest_struct_ops_module.c193 /* kernel knows about test_1, but we still null it out */ in test_struct_ops_nulled_out_cb()
194 skel->struct_ops.ops->test_1 = NULL; in test_struct_ops_nulled_out_cb()
239 skel->struct_ops.ops->test_1 = skel->progs.test_1_forgotten; /* not anymore */ in test_struct_ops_forgotten_cb()
/linux/net/bpf/
H A Dbpf_dummy_struct_ops.c302 .test_1 = bpf_dummy_ops__test_1,
/linux/tools/bpf/bpftool/Documentation/
H A Dbpftool-gen.rst306 const struct bpf_program *test_1;
/linux/include/linux/
H A Dbpf.h1996 int (*test_1)(struct bpf_dummy_ops_state *cb); member