Home
last modified time | relevance | path

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

/linux/drivers/char/ipmi/
H A Dssif_bmc.c902 struct ssif_bmc_test_ctx *test_ctx; in ssif_bmc_test_init() local
904 test_ctx = kunit_kzalloc(test, sizeof(*test_ctx), GFP_KERNEL); in ssif_bmc_test_init()
905 if (!test_ctx) in ssif_bmc_test_init()
908 test_ctx->adapter.algo = &test_ctx->algo; in ssif_bmc_test_init()
909 test_ctx->client.addr = 0x20; in ssif_bmc_test_init()
910 test_ctx->client.adapter = &test_ctx->adapter; in ssif_bmc_test_init()
912 spin_lock_init(&test_ctx->ssif_bmc.lock); in ssif_bmc_test_init()
913 init_waitqueue_head(&test_ctx->ssif_bmc.wait_queue); in ssif_bmc_test_init()
914 test_ctx->ssif_bmc.client = &test_ctx->client; in ssif_bmc_test_init()
915 i2c_set_clientdata(&test_ctx->client, &test_ctx->ssif_bmc); in ssif_bmc_test_init()
[all …]
/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()
/linux/samples/bpf/
H A Dtest_lwt_bpf.sh145 install_test xmit test_ctx
161 install_test out test_ctx
177 install_test in test_ctx
/linux/mm/damon/
H A Dcore.c1811 struct damon_ctx *test_ctx; in damon_new_test_ctx() local
1814 test_ctx = damon_new_ctx(); in damon_new_test_ctx()
1815 if (!test_ctx) in damon_new_test_ctx()
1817 err = __damon_commit_ctx(test_ctx, dst); in damon_new_test_ctx()
1819 damon_destroy_ctx(test_ctx); in damon_new_test_ctx()
1822 return test_ctx; in damon_new_test_ctx()
1840 struct damon_ctx *test_ctx; in damon_commit_ctx() local
1843 test_ctx = damon_new_test_ctx(dst); in damon_commit_ctx()
1844 if (!test_ctx) in damon_commit_ctx()
1846 err = __damon_commit_ctx(test_ctx, sr in damon_commit_ctx()
1980 struct damon_ctx *test_ctx; damon_start() local
[all...]