Home
last modified time | relevance | path

Searched refs:INIT_MEMBLOCK_REGIONS (Results 1 – 6 of 6) sorted by relevance

/linux/tools/testing/memblock/tests/
A Dbasic_api.c465 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()
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()
950 ASSERT_EQ(memblock.reserved.cnt, 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()
1149 for (skip = 1; skip <= INIT_MEMBLOCK_REGIONS + 1; skip++) { in memblock_reserve_many_may_conflict_check()
[all …]
A Dcommon.h18 #define INIT_MEMBLOCK_REGIONS 128 macro
19 #define INIT_MEMBLOCK_RESERVED_REGIONS INIT_MEMBLOCK_REGIONS
A Dcommon.c44 memblock.memory.max = INIT_MEMBLOCK_REGIONS; in reset_memblock_regions()
/linux/arch/loongarch/include/asm/
A Dsparsemem.h29 #define INIT_MEMBLOCK_RESERVED_REGIONS (INIT_MEMBLOCK_REGIONS + NR_CPUS)
/linux/arch/arm64/include/asm/
A Dmemory.h441 # define INIT_MEMBLOCK_RESERVED_REGIONS (INIT_MEMBLOCK_REGIONS + NR_CPUS + 1)
450 #define INIT_MEMBLOCK_MEMORY_REGIONS (INIT_MEMBLOCK_REGIONS * 8)
/linux/mm/
A Dmemblock.c25 #define INIT_MEMBLOCK_REGIONS 128 macro
29 # define INIT_MEMBLOCK_RESERVED_REGIONS INIT_MEMBLOCK_REGIONS
33 #define INIT_MEMBLOCK_MEMORY_REGIONS INIT_MEMBLOCK_REGIONS

Completed in 16 milliseconds