Lines Matching refs:c
52 struct damon_ctx *c = damon_new_ctx(); in damon_test_target() local
57 KUNIT_EXPECT_EQ(test, 0u, nr_damon_targets(c)); in damon_test_target()
59 damon_add_target(c, t); in damon_test_target()
60 KUNIT_EXPECT_EQ(test, 1u, nr_damon_targets(c)); in damon_test_target()
63 KUNIT_EXPECT_EQ(test, 0u, nr_damon_targets(c)); in damon_test_target()
65 damon_destroy_ctx(c); in damon_test_target()
121 struct damon_ctx *c = damon_new_ctx(); in damon_test_split_at() local
128 damon_split_region_at(c, t, r, 25); in damon_test_split_at()
137 damon_destroy_ctx(c); in damon_test_split_at()
214 struct damon_ctx *c = damon_new_ctx(); in damon_test_split_regions_of() local
221 damon_split_regions_of(c, t, 2); in damon_test_split_regions_of()
228 damon_split_regions_of(c, t, 4); in damon_test_split_regions_of()
231 damon_destroy_ctx(c); in damon_test_split_regions_of()