Lines Matching refs:memory_block_size_bytes
54 return PHYS_PFN(memory_block_size_bytes()) * sizeof(struct page); in memory_block_memmap_size()
1338 if (!size || !IS_ALIGNED(start, memory_block_size_bytes()) || in check_hotplug_memory_range()
1339 !IS_ALIGNED(size, memory_block_size_bytes())) { in check_hotplug_memory_range()
1341 memory_block_size_bytes(), start, size); in check_hotplug_memory_range()
1408 if (memmap_pages == PHYS_PFN(memory_block_size_bytes())) in mhp_supports_memmap_on_memory()
1418 unsigned long memblock_size = memory_block_size_bytes(); in remove_memory_blocks_and_altmaps()
1450 unsigned long memblock_size = memory_block_size_bytes(); in create_altmaps_and_memory_blocks()
2144 endpa = beginpa + memory_block_size_bytes() - 1; in check_memblock_offlined_cb()
2235 u64 num_memblocks = size / memory_block_size_bytes(); in memory_blocks_have_altmaps()
2397 const unsigned long mb_count = size / memory_block_size_bytes(); in offline_and_remove_memory()
2401 if (!IS_ALIGNED(start, memory_block_size_bytes()) || in offline_and_remove_memory()
2402 !IS_ALIGNED(size, memory_block_size_bytes()) || !size) in offline_and_remove_memory()