Searched refs:test_ctx (Results 1 – 6 of 6) sorted by relevance
902 struct ssif_bmc_test_ctx *test_ctx; in ssif_bmc_test_init() local904 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 …]
18 struct test_ctx_s test_ctx; variable66 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()
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()
726 struct test_ctx { struct732 static int test_global_init(struct test_ctx *ctx) in test_global_init() argument761 static void test_global_shutdown(struct test_ctx *ctx) in test_global_shutdown()770 struct test_ctx ctx; in test_flow_dissector_classification()
27 struct test_ctx { struct104 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()
145 install_test xmit test_ctx161 install_test out test_ctx177 install_test in test_ctx