Searched refs:memory_block_size_bytes (Results 1 – 9 of 9) sorted by relevance
| /linux/drivers/base/ |
| H A D | memory.c | 151 unsigned long __weak memory_block_size_bytes(void) in memory_block_size_bytes() function 155 EXPORT_SYMBOL_GPL(memory_block_size_bytes); 515 return sysfs_emit(buf, "%lx\n", memory_block_size_bytes()); in block_size_bytes_show() 870 if (WARN_ON_ONCE(!IS_ALIGNED(start, memory_block_size_bytes()) || in create_memory_block_devices() 871 !IS_ALIGNED(size, memory_block_size_bytes()))) in create_memory_block_devices() 906 if (WARN_ON_ONCE(!IS_ALIGNED(start, memory_block_size_bytes()) || in remove_memory_block_devices() 907 !IS_ALIGNED(size, memory_block_size_bytes()))) in remove_memory_block_devices() 958 block_sz = memory_block_size_bytes(); in memory_dev_init() 1154 unit_pages < PHYS_PFN(memory_block_size_bytes())) in memory_group_register_dynamic()
|
| /linux/mm/ |
| H A D | memory_hotplug.c | 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() [all …]
|
| /linux/drivers/s390/char/ |
| H A D | sclp_mem.c | 203 block_size = memory_block_size_bytes(); in sclp_config_mem_store() 295 block_size = memory_block_size_bytes(); in sclp_memmap_on_memory_store() 392 block_size = memory_block_size_bytes(); in sclp_create_standby_mems_merged() 425 const unsigned long block_size = memory_block_size_bytes(); in sclp_init_mem()
|
| /linux/include/linux/ |
| H A D | memory.h | 99 unsigned long memory_block_size_bytes(void);
|
| /linux/arch/s390/mm/ |
| H A D | init.c | 167 unsigned long memory_block_size_bytes(void) in memory_block_size_bytes() function
|
| /linux/arch/powerpc/platforms/pseries/ |
| H A D | hotplug-memory.c | 299 if (is_fadump_memory_area(lmb->base_addr, memory_block_size_bytes())) in lmb_is_removable() 585 block_sz = memory_block_size_bytes(); in dlpar_add_lmb()
|
| /linux/arch/powerpc/platforms/powernv/ |
| H A D | memtrace.c | 274 bytes = memory_block_size_bytes(); in memtrace_enable_set()
|
| /linux/arch/powerpc/kernel/ |
| H A D | setup_64.c | 883 unsigned long memory_block_size_bytes(void) in memory_block_size_bytes() function
|
| /linux/arch/x86/mm/ |
| H A D | init_64.c | 1507 unsigned long memory_block_size_bytes(void) in memory_block_size_bytes() function
|