Searched refs:memory_block_size_bytes (Results 1 - 12 of 12) sorted by relevance
/linux-master/include/linux/ |
H A D | memory.h | 89 unsigned long memory_block_size_bytes(void);
|
/linux-master/drivers/base/ |
H A D | memory.c | 113 unsigned long __weak memory_block_size_bytes(void) function 117 EXPORT_SYMBOL_GPL(memory_block_size_bytes); variable 502 return sysfs_emit(buf, "%lx\n", memory_block_size_bytes()); 880 if (WARN_ON_ONCE(!IS_ALIGNED(start, memory_block_size_bytes()) || 881 !IS_ALIGNED(size, memory_block_size_bytes()))) 916 if (WARN_ON_ONCE(!IS_ALIGNED(start, memory_block_size_bytes()) || 917 !IS_ALIGNED(size, memory_block_size_bytes()))) 968 block_sz = memory_block_size_bytes(); 1156 unit_pages < PHYS_PFN(memory_block_size_bytes()))
|
H A D | node.c | 787 unsigned long memory_block_pfns = memory_block_size_bytes() / PAGE_SIZE;
|
/linux-master/drivers/dax/ |
H A D | kmem.c | 37 r->start = ALIGN(range->start, memory_block_size_bytes()); 38 r->end = ALIGN_DOWN(range->end + 1, memory_block_size_bytes()) - 1;
|
/linux-master/drivers/virtio/ |
H A D | virtio_mem.c | 322 return addr / memory_block_size_bytes(); 330 return mb_id * memory_block_size_bytes(); 668 const uint64_t size = memory_block_size_bytes(); 720 const uint64_t size = memory_block_size_bytes(); 770 const uint64_t size = memory_block_size_bytes(); 1004 if (WARN_ON_ONCE(size != memory_block_size_bytes() || 1005 !IS_ALIGNED(start, memory_block_size_bytes()))) 1769 if (!virtio_mem_could_add_memory(vm, memory_block_size_bytes())) 1780 if (!virtio_mem_could_add_memory(vm, memory_block_size_bytes())) 2364 if (!IS_ALIGNED(end_addr + 1, memory_block_size_bytes())) [all...] |
/linux-master/mm/ |
H A D | memory_hotplug.c | 54 return PHYS_PFN(memory_block_size_bytes()) * sizeof(struct page); 305 * enforces a larger memory_block_size_bytes() granularity for 1312 if (!size || !IS_ALIGNED(start, memory_block_size_bytes()) || 1313 !IS_ALIGNED(size, memory_block_size_bytes())) { 1315 memory_block_size_bytes(), start, size); 1382 if (memmap_pages == PHYS_PFN(memory_block_size_bytes())) 1392 unsigned long memblock_size = memory_block_size_bytes(); 1424 unsigned long memblock_size = memory_block_size_bytes(); 2135 endpa = beginpa + memory_block_size_bytes() - 1; 2226 u64 num_memblocks = size / memory_block_size_bytes(); [all...] |
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | memtrace.c | 289 bytes = memory_block_size_bytes();
|
/linux-master/arch/s390/mm/ |
H A D | init.c | 178 unsigned long memory_block_size_bytes(void) function
|
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | hotplug-memory.c | 299 if (is_fadump_memory_area(lmb->base_addr, memory_block_size_bytes())) 585 block_sz = memory_block_size_bytes();
|
/linux-master/arch/powerpc/kernel/ |
H A D | setup_64.c | 888 unsigned long memory_block_size_bytes(void) function
|
/linux-master/drivers/s390/char/ |
H A D | sclp_cmd.c | 422 block_size = memory_block_size_bytes();
|
/linux-master/arch/x86/mm/ |
H A D | init_64.c | 1477 unsigned long memory_block_size_bytes(void) function
|
Completed in 183 milliseconds