memory_block_size_bytes
bytes = memory_block_size_bytes();
if (is_fadump_memory_area(lmb->base_addr, memory_block_size_bytes()))
block_sz = memory_block_size_bytes();
unit_pages < PHYS_PFN(memory_block_size_bytes()))
EXPORT_SYMBOL_GPL(memory_block_size_bytes);
return sysfs_emit(buf, "%lx\n", memory_block_size_bytes());
if (WARN_ON_ONCE(!IS_ALIGNED(start, memory_block_size_bytes()) ||
!IS_ALIGNED(size, memory_block_size_bytes())))
if (WARN_ON_ONCE(!IS_ALIGNED(start, memory_block_size_bytes()) ||
!IS_ALIGNED(size, memory_block_size_bytes())))
block_sz = memory_block_size_bytes();
r->start = ALIGN(range->start, memory_block_size_bytes());
r->end = ALIGN_DOWN(range->end + 1, memory_block_size_bytes()) - 1;
ha_pages_in_chunk = memory_block_size_bytes() / PAGE_SIZE;
block_size = memory_block_size_bytes();
block_size = memory_block_size_bytes();
block_size = memory_block_size_bytes();
const unsigned long block_size = memory_block_size_bytes();
if (WARN_ON_ONCE(size != memory_block_size_bytes() ||
!IS_ALIGNED(start, memory_block_size_bytes())))
if (!virtio_mem_could_add_memory(vm, memory_block_size_bytes()))
if (!virtio_mem_could_add_memory(vm, memory_block_size_bytes()))
if (!IS_ALIGNED(end_addr + 1, memory_block_size_bytes()))
if (!IS_ALIGNED(vm->addr, memory_block_size_bytes()))
if (!IS_ALIGNED(vm->addr + vm->region_size, memory_block_size_bytes()))
vm->offline_threshold = max_t(uint64_t, 2 * memory_block_size_bytes(),
if (sb_size < memory_block_size_bytes() && !force_bbm) {
vm->sbm.sbs_per_mb = memory_block_size_bytes() /
memory_block_size_bytes() - 1;
memory_block_size_bytes());
memory_block_size_bytes());
unit_pages = PHYS_PFN(memory_block_size_bytes());
return addr / memory_block_size_bytes();
return mb_id * memory_block_size_bytes();
const uint64_t size = memory_block_size_bytes();
const uint64_t size = memory_block_size_bytes();
const uint64_t size = memory_block_size_bytes();
unsigned long memory_block_size_bytes(void);
if (!size || !IS_ALIGNED(start, memory_block_size_bytes()) ||
!IS_ALIGNED(size, memory_block_size_bytes())) {
memory_block_size_bytes(), start, size);
if (memmap_pages == PHYS_PFN(memory_block_size_bytes()))
unsigned long memblock_size = memory_block_size_bytes();
unsigned long memblock_size = memory_block_size_bytes();
endpa = beginpa + memory_block_size_bytes() - 1;
u64 num_memblocks = size / memory_block_size_bytes();
const unsigned long mb_count = size / memory_block_size_bytes();
if (!IS_ALIGNED(start, memory_block_size_bytes()) ||
!IS_ALIGNED(size, memory_block_size_bytes()) || !size)
return PHYS_PFN(memory_block_size_bytes()) * sizeof(struct page);