Searched refs:test_ctx (Results 1 – 7 of 7) sorted by relevance
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | xdp_bpf2bpf.c | 18 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 D | btf_dump.c | 129 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 D | flow_dissector_classification.c | 726 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 D | fpga-region-test.c | 27 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()
|
| /linux/samples/bpf/ |
| H A D | test_lwt_bpf.sh | 145 install_test xmit test_ctx 161 install_test out test_ctx 177 install_test in test_ctx
|
| /linux/mm/damon/ |
| H A D | sysfs.c | 1492 struct damon_ctx *test_ctx; in damon_sysfs_new_test_ctx() local 1495 test_ctx = damon_new_ctx(); in damon_sysfs_new_test_ctx() 1496 if (!test_ctx) in damon_sysfs_new_test_ctx() 1498 err = damon_commit_ctx(test_ctx, running_ctx); in damon_sysfs_new_test_ctx() 1500 damon_destroy_ctx(test_ctx); in damon_sysfs_new_test_ctx() 1503 return test_ctx; in damon_sysfs_new_test_ctx() 1515 struct damon_ctx *param_ctx, *test_ctx; in damon_sysfs_commit_input() local 1527 test_ctx = damon_sysfs_new_test_ctx(kdamond->damon_ctx); in damon_sysfs_commit_input() 1528 if (!test_ctx) in damon_sysfs_commit_input() 1530 err = damon_commit_ctx(test_ctx, param_ctx); in damon_sysfs_commit_input() [all …]
|
| /linux/drivers/mtd/nand/raw/ |
| H A D | nand_base.c | 2533 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()
|