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()
/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 Dsysfs.c1425 struct damon_ctx *param_ctx, *test_ctx; in damon_sysfs_commit_input() local
1437 test_ctx = damon_new_ctx(); in damon_sysfs_commit_input()
1438 err = damon_commit_ctx(test_ctx, param_ctx); in damon_sysfs_commit_input()
1440 damon_destroy_ctx(test_ctx); in damon_sysfs_commit_input()