Home
last modified time | relevance | path

Searched refs:test_ctx (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_bpf2bpf.c18 struct test_ctx_s test_ctx; variable
66 test_ctx.passed = false; in run_xdp_bpf2bpf_pkt_size()
67 test_ctx.pkt_size = pkt_size; in run_xdp_bpf2bpf_pkt_size()
93 ASSERT_TRUE(test_ctx.passed, "test passed"); in run_xdp_bpf2bpf_pkt_size()
150 on_sample, NULL, &test_ctx, NULL); in test_xdp_bpf2bpf()
/kernel/linux/linux-6.6/drivers/fpga/tests/
H A Dfpga-region-test.c27 struct test_ctx { struct
91 struct test_ctx *ctx = test->priv; in fpga_region_test_class_find()
106 struct test_ctx *ctx = test->priv; in fpga_region_test_program_fpga()
145 struct test_ctx *ctx; in fpga_region_test_init()
186 struct test_ctx *ctx = test->priv; in fpga_region_test_exit()
/kernel/linux/linux-5.10/samples/bpf/
H A Dtest_lwt_bpf.sh141 test_start "test_ctx on lwt xmit"
142 install_test xmit test_ctx
144 failure "test_ctx xmit: packets are dropped"
157 test_start "test_ctx on lwt out"
158 install_test out test_ctx
160 failure "test_ctx out: packets are dropped"
173 test_start "test_ctx on lwt in"
174 install_test in test_ctx
176 failure "test_ctx out: packets are dropped"
/kernel/linux/linux-6.6/samples/bpf/
H A Dtest_lwt_bpf.sh144 test_start "test_ctx on lwt xmit"
145 install_test xmit test_ctx
147 failure "test_ctx xmit: packets are dropped"
160 test_start "test_ctx on lwt out"
161 install_test out test_ctx
163 failure "test_ctx out: packets are dropped"
176 test_start "test_ctx on lwt in"
177 install_test in test_ctx
179 failure "test_ctx out: packets are dropped"
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
H A Dnand_base.c2188 struct nand_op_parser_ctx test_ctx = ctx; in nand_op_parser_exec_op() local
2191 if (!nand_op_parser_match_pat(pattern, &test_ctx)) in nand_op_parser_exec_op()
2195 nand_op_parser_cmp_ctx(&test_ctx, &best_ctx) <= 0) in nand_op_parser_exec_op()
2199 best_ctx = test_ctx; in nand_op_parser_exec_op()
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/
H A Dnand_base.c2507 struct nand_op_parser_ctx test_ctx = ctx; in nand_op_parser_exec_op() local
2510 if (!nand_op_parser_match_pat(pattern, &test_ctx)) in nand_op_parser_exec_op()
2514 nand_op_parser_cmp_ctx(&test_ctx, &best_ctx) <= 0) in nand_op_parser_exec_op()
2518 best_ctx = test_ctx; in nand_op_parser_exec_op()

Completed in 20 milliseconds