Home
last modified time | relevance | path

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

/linux/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()
H A Dbtf_dump.c129 struct test_ctx { struct
137 static void test_ctx__free(struct test_ctx *t) in test_ctx__free() argument
145 static int test_ctx__init(struct test_ctx *t) in test_ctx__init()
164 static void test_ctx__dump_and_compare(struct test_ctx *t, in test_ctx__dump_and_compare()
183 struct test_ctx t = {}; in test_btf_dump_incremental()
284 struct test_ctx t = {}; in test_btf_dump_type_tags()
964 struct test_ctx t = {}; in test_btf_dump_string_data()
H A Dflow_dissector_classification.c726 struct test_ctx { struct
732 static int test_global_init(struct test_ctx *ctx) in test_global_init() argument
761 static void test_global_shutdown(struct test_ctx *ctx) in test_global_shutdown()
770 struct test_ctx ctx; in test_flow_dissector_classification()
/linux/drivers/fpga/tests/
H A Dfpga-region-test.c27 struct test_ctx { struct
104 struct test_ctx *ctx = test->priv; in fpga_region_test_class_find()
119 struct test_ctx *ctx = test->priv; in fpga_region_test_program_fpga()
159 struct test_ctx *ctx; in fpga_region_test_init()
28 mgrtest_ctx global() argument
29 mgr_devtest_ctx global() argument
30 bridgetest_ctx global() argument
31 bridge_devtest_ctx global() argument
32 regiontest_ctx global() argument
33 region_devtest_ctx global() argument
34 bridge_statstest_ctx global() argument
35 mgr_statstest_ctx global() argument
/linux/mm/damon/
H A Dsysfs.c1421 struct damon_ctx *param_ctx, *test_ctx; in damon_sysfs_commit_input() local
1433 test_ctx = damon_new_ctx(); in damon_sysfs_commit_input()
1434 err = damon_commit_ctx(test_ctx, param_ctx); in damon_sysfs_commit_input()
1436 damon_destroy_ctx(test_ctx); in damon_sysfs_commit_input()
/linux/drivers/mtd/nand/raw/
H A Dnand_base.c2533 struct nand_op_parser_ctx test_ctx = ctx; in nand_op_parser_exec_op() local
2536 if (!nand_op_parser_match_pat(pattern, &test_ctx)) in nand_op_parser_exec_op()
2540 nand_op_parser_cmp_ctx(&test_ctx, &best_ctx) <= 0) in nand_op_parser_exec_op()
2544 best_ctx = test_ctx; in nand_op_parser_exec_op()