Home
last modified time | relevance | path

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

/linux-6.12.1/include/linux/
Dmemory.h23 #define MIN_MEMORY_BLOCK_SIZE (1UL << SECTION_SIZE_BITS) macro
/linux-6.12.1/drivers/base/
Dmemory.c115 return MIN_MEMORY_BLOCK_SIZE; in memory_block_size_bytes()
570 MIN_MEMORY_BLOCK_SIZE * sections_per_block, in probe_store()
969 if (!is_power_of_2(block_sz) || block_sz < MIN_MEMORY_BLOCK_SIZE) in memory_dev_init()
971 sections_per_block = block_sz / MIN_MEMORY_BLOCK_SIZE; in memory_dev_init()
/linux-6.12.1/arch/powerpc/platforms/pseries/
Dhotplug-memory.c252 sections_per_block = memory_block_size / MIN_MEMORY_BLOCK_SIZE; in pseries_remove_memblock()
255 __remove_memory(base, MIN_MEMORY_BLOCK_SIZE); in pseries_remove_memblock()
256 base += MIN_MEMORY_BLOCK_SIZE; in pseries_remove_memblock()
/linux-6.12.1/arch/s390/mm/
Dinit.c181 return max_t(unsigned long, MIN_MEMORY_BLOCK_SIZE, sclp.rzm); in memory_block_size_bytes()
/linux-6.12.1/arch/x86/mm/
Dinit_64.c1431 if (size > MEM_SIZE_FOR_LARGE_BLOCK || size < MIN_MEMORY_BLOCK_SIZE) in set_memory_block_size_order()
1450 bz = MIN_MEMORY_BLOCK_SIZE; in probe_memory_block_size()
1464 for (bz = MAX_BLOCK_SIZE; bz > MIN_MEMORY_BLOCK_SIZE; bz >>= 1) { in probe_memory_block_size()
/linux-6.12.1/arch/powerpc/mm/
Dinit_64.c506 #define DEFAULT_MEMORY_BLOCK_SIZE MIN_MEMORY_BLOCK_SIZE
/linux-6.12.1/arch/powerpc/kernel/
Dsetup_64.c891 return MIN_MEMORY_BLOCK_SIZE; in memory_block_size_bytes()
/linux-6.12.1/arch/x86/kernel/apic/
Dx2apic_uv_x.c548 for (size = mem_block_size; size > MIN_MEMORY_BLOCK_SIZE; size >>= 1) in adj_blksize()