Lines Matching refs:memory_block_size_bytes
55 return PHYS_PFN(memory_block_size_bytes()) * sizeof(struct page); in memory_block_memmap_size()
1328 if (!size || !IS_ALIGNED(start, memory_block_size_bytes()) || in check_hotplug_memory_range()
1329 !IS_ALIGNED(size, memory_block_size_bytes())) { in check_hotplug_memory_range()
1331 memory_block_size_bytes(), start, size); in check_hotplug_memory_range()
1398 if (memmap_pages == PHYS_PFN(memory_block_size_bytes())) in mhp_supports_memmap_on_memory()
1408 unsigned long memblock_size = memory_block_size_bytes(); in remove_memory_blocks_and_altmaps()
1440 unsigned long memblock_size = memory_block_size_bytes(); in create_altmaps_and_memory_blocks()
2108 endpa = beginpa + memory_block_size_bytes() - 1; in check_memblock_offlined_cb()
2199 u64 num_memblocks = size / memory_block_size_bytes(); in memory_blocks_have_altmaps()
2361 const unsigned long mb_count = size / memory_block_size_bytes(); in offline_and_remove_memory()
2365 if (!IS_ALIGNED(start, memory_block_size_bytes()) || in offline_and_remove_memory()
2366 !IS_ALIGNED(size, memory_block_size_bytes()) || !size) in offline_and_remove_memory()