Home
last modified time | relevance | path

Searched refs:memory_block_size_bytes (Results 1 – 12 of 12) sorted by relevance

/linux-6.3-rc2/drivers/base/
A Dmemory.c112 unsigned long __weak memory_block_size_bytes(void) in memory_block_size_bytes() function
116 EXPORT_SYMBOL_GPL(memory_block_size_bytes);
462 return sysfs_emit(buf, "%lx\n", memory_block_size_bytes()); in block_size_bytes_show()
830 if (WARN_ON_ONCE(!IS_ALIGNED(start, memory_block_size_bytes()) || in create_memory_block_devices()
831 !IS_ALIGNED(size, memory_block_size_bytes()))) in create_memory_block_devices()
866 if (WARN_ON_ONCE(!IS_ALIGNED(start, memory_block_size_bytes()) || in remove_memory_block_devices()
867 !IS_ALIGNED(size, memory_block_size_bytes()))) in remove_memory_block_devices()
915 block_sz = memory_block_size_bytes(); in memory_dev_init()
1103 unit_pages < PHYS_PFN(memory_block_size_bytes())) in memory_group_register_dynamic()
A Dnode.c780 unsigned long memory_block_pfns = memory_block_size_bytes() / PAGE_SIZE; in register_mem_block_under_node_early()
/linux-6.3-rc2/drivers/virtio/
A Dvirtio_mem.c320 return addr / memory_block_size_bytes(); in virtio_mem_phys_to_mb_id()
328 return mb_id * memory_block_size_bytes(); in virtio_mem_mb_id_to_phys()
666 const uint64_t size = memory_block_size_bytes(); in virtio_mem_sbm_add_mb()
718 const uint64_t size = memory_block_size_bytes(); in virtio_mem_sbm_remove_mb()
764 const uint64_t size = memory_block_size_bytes(); in virtio_mem_sbm_offline_and_remove_mb()
971 !IS_ALIGNED(start, memory_block_size_bytes()))) in virtio_mem_memory_notifier_cb()
2487 vm->sbm.sbs_per_mb = memory_block_size_bytes() / in virtio_mem_init_hotplug()
2492 memory_block_size_bytes() - 1; in virtio_mem_init_hotplug()
2498 memory_block_size_bytes()); in virtio_mem_init_hotplug()
2524 memory_block_size_bytes()); in virtio_mem_init_hotplug()
[all …]
/linux-6.3-rc2/mm/
A Dmemory_hotplug.c1259 if (!size || !IS_ALIGNED(start, memory_block_size_bytes()) || in check_hotplug_memory_range()
1260 !IS_ALIGNED(size, memory_block_size_bytes())) { in check_hotplug_memory_range()
1262 memory_block_size_bytes(), start, size); in check_hotplug_memory_range()
1308 size == memory_block_size_bytes() && in mhp_supports_memmap_on_memory()
1975 endpa = beginpa + memory_block_size_bytes() - 1; in check_memblock_offlined_cb()
2092 if (size != memory_block_size_bytes()) { in try_remove_memory()
2227 const unsigned long mb_count = size / memory_block_size_bytes(); in offline_and_remove_memory()
2231 if (!IS_ALIGNED(start, memory_block_size_bytes()) || in offline_and_remove_memory()
2232 !IS_ALIGNED(size, memory_block_size_bytes()) || !size) in offline_and_remove_memory()
/linux-6.3-rc2/drivers/dax/
A Dkmem.c36 r->start = ALIGN(range->start, memory_block_size_bytes()); in dax_kmem_range()
37 r->end = ALIGN_DOWN(range->end + 1, memory_block_size_bytes()) - 1; in dax_kmem_range()
/linux-6.3-rc2/include/linux/
A Dmemory.h93 unsigned long memory_block_size_bytes(void);
/linux-6.3-rc2/arch/s390/mm/
A Dinit.c185 unsigned long memory_block_size_bytes(void) in memory_block_size_bytes() function
/linux-6.3-rc2/arch/powerpc/platforms/powernv/
A Dmemtrace.c289 bytes = memory_block_size_bytes(); in memtrace_enable_set()
/linux-6.3-rc2/arch/powerpc/platforms/pseries/
A Dhotplug-memory.c358 if (is_fadump_memory_area(lmb->base_addr, memory_block_size_bytes())) in lmb_is_removable()
645 block_sz = memory_block_size_bytes(); in dlpar_add_lmb()
/linux-6.3-rc2/arch/powerpc/kernel/
A Dsetup_64.c888 unsigned long memory_block_size_bytes(void) in memory_block_size_bytes() function
/linux-6.3-rc2/drivers/s390/char/
A Dsclp_cmd.c403 block_size = memory_block_size_bytes(); in add_memory_merged()
/linux-6.3-rc2/arch/x86/mm/
A Dinit_64.c1479 unsigned long memory_block_size_bytes(void) in memory_block_size_bytes() function

Completed in 31 milliseconds