Lines Matching refs:INIT_MEMBLOCK_REGIONS
456 new_memory_regions_size = PAGE_ALIGN(INIT_MEMBLOCK_REGIONS * 2 * in memblock_add_many_check()
465 for (i = 0; i < INIT_MEMBLOCK_REGIONS; i++) { in memblock_add_many_check()
482 ASSERT_EQ(memblock.memory.max, INIT_MEMBLOCK_REGIONS * 2); in memblock_add_many_check()
496 ASSERT_EQ(memblock.memory.cnt, INIT_MEMBLOCK_REGIONS + 2); in memblock_add_many_check()
497 ASSERT_EQ(memblock.memory.total_size, INIT_MEMBLOCK_REGIONS * size + in memblock_add_many_check()
500 ASSERT_EQ(memblock.memory.max, INIT_MEMBLOCK_REGIONS * 2); in memblock_add_many_check()
511 memblock.memory.cnt = INIT_MEMBLOCK_REGIONS; in memblock_add_many_check()
921 for (i = 0; i < INIT_MEMBLOCK_REGIONS; i++) { in memblock_reserve_many_check()
942 new_reserved_regions_size = PAGE_ALIGN((INIT_MEMBLOCK_REGIONS * 2) * in memblock_reserve_many_check()
950 ASSERT_EQ(memblock.reserved.cnt, INIT_MEMBLOCK_REGIONS + 2); in memblock_reserve_many_check()
951 ASSERT_EQ(memblock.reserved.total_size, (INIT_MEMBLOCK_REGIONS + 1) * MEM_SIZE + in memblock_reserve_many_check()
953 ASSERT_EQ(memblock.reserved.max, INIT_MEMBLOCK_REGIONS * 2); in memblock_reserve_many_check()
963 ASSERT_EQ(memblock.reserved.cnt, INIT_MEMBLOCK_REGIONS + 3); in memblock_reserve_many_check()
964 ASSERT_EQ(memblock.reserved.total_size, (INIT_MEMBLOCK_REGIONS + 1) * MEM_SIZE + in memblock_reserve_many_check()
967 ASSERT_EQ(memblock.reserved.max, INIT_MEMBLOCK_REGIONS * 2); in memblock_reserve_many_check()
1013 for (skip = 0; skip < INIT_MEMBLOCK_REGIONS + 1; skip++) { in memblock_reserve_all_locations_check()
1021 for (i = 0; i < INIT_MEMBLOCK_REGIONS + 1; i++) { in memblock_reserve_all_locations_check()
1047 new_reserved_regions_size = PAGE_ALIGN((INIT_MEMBLOCK_REGIONS * 2) * in memblock_reserve_all_locations_check()
1055 ASSERT_EQ(memblock.reserved.cnt, INIT_MEMBLOCK_REGIONS + 2); in memblock_reserve_all_locations_check()
1056 ASSERT_EQ(memblock.reserved.total_size, (INIT_MEMBLOCK_REGIONS + 1) * MEM_SIZE + in memblock_reserve_all_locations_check()
1058 ASSERT_EQ(memblock.reserved.max, INIT_MEMBLOCK_REGIONS * 2); in memblock_reserve_all_locations_check()
1068 ASSERT_EQ(memblock.reserved.cnt, INIT_MEMBLOCK_REGIONS + 3); in memblock_reserve_all_locations_check()
1069 ASSERT_EQ(memblock.reserved.total_size, (INIT_MEMBLOCK_REGIONS + 1) * MEM_SIZE + in memblock_reserve_all_locations_check()
1072 ASSERT_EQ(memblock.reserved.max, INIT_MEMBLOCK_REGIONS * 2); in memblock_reserve_all_locations_check()
1149 for (skip = 1; skip <= INIT_MEMBLOCK_REGIONS + 1; skip++) { in memblock_reserve_many_may_conflict_check()
1162 for (i = 1; i <= INIT_MEMBLOCK_REGIONS + 1; i++) { in memblock_reserve_many_may_conflict_check()
1188 new_reserved_regions_size = PAGE_ALIGN((INIT_MEMBLOCK_REGIONS * 2) * in memblock_reserve_many_may_conflict_check()
1196 ASSERT_EQ(memblock.reserved.cnt, INIT_MEMBLOCK_REGIONS + 2); in memblock_reserve_many_may_conflict_check()
1197 ASSERT_EQ(memblock.reserved.total_size, (INIT_MEMBLOCK_REGIONS + 1) * MEM_SIZE + in memblock_reserve_many_may_conflict_check()
1199 ASSERT_EQ(memblock.reserved.max, INIT_MEMBLOCK_REGIONS * 2); in memblock_reserve_many_may_conflict_check()
1218 ASSERT_EQ(memblock.reserved.cnt, INIT_MEMBLOCK_REGIONS + 3); in memblock_reserve_many_may_conflict_check()
1219 ASSERT_EQ(memblock.reserved.total_size, (INIT_MEMBLOCK_REGIONS + 1) * MEM_SIZE + in memblock_reserve_many_may_conflict_check()
1222 ASSERT_EQ(memblock.reserved.max, INIT_MEMBLOCK_REGIONS * 2); in memblock_reserve_many_may_conflict_check()