H A D | vaddr-kunit.h | 44 * discontiguous regions which cover every mapped areas. However, the three 45 * regions should not include the two biggest unmapped areas in the original 47 * heap and the mmap()-ed regions, and 2) the mmap()-ed regions and stack. 54 * three regions and returns. For more detail, refer to the comment of 60 * mapped. To cover every mappings, the three regions should start with 10, 63 * unmapped areas, and thus it should be converted to three regions of 10-25, 69 struct damon_addr_range regions[3] = {0}; in damon_test_three_regions_in_vmas() local 84 __damon_va_three_regions(&mm, regions); in damon_test_three_regions_in_vmas() 86 KUNIT_EXPECT_EQ(test, 10ul, regions[ in damon_test_three_regions_in_vmas() 130 damon_do_test_apply_three_regions(struct kunit * test,unsigned long * regions,int nr_regions,struct damon_addr_range * three_regions,unsigned long * expected,int nr_expected) damon_do_test_apply_three_regions() argument 164 unsigned long regions[] = {10, 20, 20, 30, 50, 55, 55, 57, 57, 59, damon_test_apply_three_regions1() local 186 unsigned long regions[] = {10, 20, 20, 30, 50, 55, 55, 57, 57, 59, damon_test_apply_three_regions2() local 210 unsigned long regions[] = {10, 20, 20, 30, 50, 55, 55, 57, 57, 59, damon_test_apply_three_regions3() local 235 unsigned long regions[] = {10, 20, 20, 30, 50, 55, 55, 57, 57, 59, damon_test_apply_three_regions4() local [all...] |