Home
last modified time | relevance | path

Searched refs:MIN_MEMORY_BLOCK_SIZE (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/include/linux/
H A Dmemory.h23 #define MIN_MEMORY_BLOCK_SIZE (1UL << SECTION_SIZE_BITS) macro
/openbmc/linux/drivers/base/
H A Dmemory.c115 return MIN_MEMORY_BLOCK_SIZE; in memory_block_size_bytes()
549 MIN_MEMORY_BLOCK_SIZE * sections_per_block, in probe_store()
948 if (!is_power_of_2(block_sz) || block_sz < MIN_MEMORY_BLOCK_SIZE) in memory_dev_init()
950 sections_per_block = block_sz / MIN_MEMORY_BLOCK_SIZE; in memory_dev_init()
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Dhotplug-memory.c249 sections_per_block = memory_block_size / MIN_MEMORY_BLOCK_SIZE; in pseries_remove_memblock()
252 __remove_memory(base, MIN_MEMORY_BLOCK_SIZE); in pseries_remove_memblock()
253 base += MIN_MEMORY_BLOCK_SIZE; in pseries_remove_memblock()
/openbmc/linux/arch/s390/mm/
H A Dinit.c190 return max_t(unsigned long, MIN_MEMORY_BLOCK_SIZE, sclp.rzm); in memory_block_size_bytes()
/openbmc/linux/arch/x86/mm/
H A Dinit_64.c1439 if (size > MEM_SIZE_FOR_LARGE_BLOCK || size < MIN_MEMORY_BLOCK_SIZE) in set_memory_block_size_order()
1458 bz = MIN_MEMORY_BLOCK_SIZE; in probe_memory_block_size()
1472 for (bz = MAX_BLOCK_SIZE; bz > MIN_MEMORY_BLOCK_SIZE; bz >>= 1) { in probe_memory_block_size()
/openbmc/linux/arch/powerpc/mm/
H A Dinit_64.c506 #define DEFAULT_MEMORY_BLOCK_SIZE MIN_MEMORY_BLOCK_SIZE
/openbmc/linux/arch/powerpc/kernel/
H A Dsetup_64.c895 return MIN_MEMORY_BLOCK_SIZE; in memory_block_size_bytes()
/openbmc/linux/arch/x86/kernel/apic/
H A Dx2apic_uv_x.c582 for (size = mem_block_size; size > MIN_MEMORY_BLOCK_SIZE; size >>= 1) in adj_blksize()