Searched refs:memory_block_size_bytes (Results  1 – 12 of 12) sorted by relevance
| /Linux-v5.10/drivers/base/ | 
| D | memory.c | 106 unsigned long __weak memory_block_size_bytes(void)  in memory_block_size_bytes()  function110 EXPORT_SYMBOL_GPL(memory_block_size_bytes);
 377 	return sysfs_emit(buf, "%lx\n", memory_block_size_bytes());  in block_size_bytes_show()
 643 	if (WARN_ON_ONCE(!IS_ALIGNED(start, memory_block_size_bytes()) ||  in create_memory_block_devices()
 644 			 !IS_ALIGNED(size, memory_block_size_bytes())))  in create_memory_block_devices()
 679 	if (WARN_ON_ONCE(!IS_ALIGNED(start, memory_block_size_bytes()) ||  in remove_memory_block_devices()
 680 			 !IS_ALIGNED(size, memory_block_size_bytes())))  in remove_memory_block_devices()
 733 	block_sz = memory_block_size_bytes();  in memory_dev_init()
 
 | 
| D | node.c | 808 	unsigned long memory_block_pfns = memory_block_size_bytes() / PAGE_SIZE;  in register_mem_block_under_node_early()
 | 
| /Linux-v5.10/drivers/virtio/ | 
| D | virtio_mem.c | 204 	return addr / memory_block_size_bytes();  in virtio_mem_phys_to_mb_id()212 	return mb_id * memory_block_size_bytes();  in virtio_mem_mb_id_to_phys()
 426 	return add_memory_driver_managed(nid, addr, memory_block_size_bytes(),  in virtio_mem_mb_add()
 449 	return remove_memory(nid, addr, memory_block_size_bytes());  in virtio_mem_mb_remove()
 471 	return offline_and_remove_memory(nid, addr, memory_block_size_bytes());  in virtio_mem_mb_offline_and_remove()
 507 				memory_block_size_bytes();  in virtio_mem_overlaps_range()
 662 	if (WARN_ON_ONCE(size != memory_block_size_bytes() ||  in virtio_mem_memory_notifier_cb()
 663 			 !IS_ALIGNED(start, memory_block_size_bytes())))  in virtio_mem_memory_notifier_cb()
 1666 	if (vm->device_block_size > memory_block_size_bytes()) {  in virtio_mem_init()
 1673 	if (!IS_ALIGNED(vm->addr, memory_block_size_bytes()))  in virtio_mem_init()
 [all …]
 
 | 
| /Linux-v5.10/drivers/dax/ | 
| D | kmem.c | 28 	r->start = ALIGN(range->start, memory_block_size_bytes());  in dax_kmem_range()29 	r->end = ALIGN_DOWN(range->end + 1, memory_block_size_bytes()) - 1;  in dax_kmem_range()
 
 | 
| /Linux-v5.10/arch/powerpc/platforms/powernv/ | 
| D | memtrace.c | 99 	u64 bytes = memory_block_size_bytes();  in memtrace_alloc_node()266 	bytes = memory_block_size_bytes();  in memtrace_enable_set()
 
 | 
| /Linux-v5.10/include/linux/ | 
| D | memory.h | 36 unsigned long memory_block_size_bytes(void);
 | 
| /Linux-v5.10/mm/ | 
| D | memory_hotplug.c | 999 	if (!size || !IS_ALIGNED(start, memory_block_size_bytes()) ||  in check_hotplug_memory_range()1000 	    !IS_ALIGNED(size, memory_block_size_bytes())) {  in check_hotplug_memory_range()
 1002 		       memory_block_size_bytes(), start, size);  in check_hotplug_memory_range()
 1633 		endpa = beginpa + memory_block_size_bytes() - 1;  in check_memblock_offlined_cb()
 1802 	if (!IS_ALIGNED(start, memory_block_size_bytes()) ||  in offline_and_remove_memory()
 1803 	    size != memory_block_size_bytes())  in offline_and_remove_memory()
 
 | 
| /Linux-v5.10/arch/s390/mm/ | 
| D | init.c | 219 unsigned long memory_block_size_bytes(void)  in memory_block_size_bytes()  function
 | 
| /Linux-v5.10/arch/powerpc/platforms/pseries/ | 
| D | hotplug-memory.c | 359 	if (is_fadump_memory_area(lmb->base_addr, memory_block_size_bytes()))  in lmb_is_removable()625 	block_sz = memory_block_size_bytes();  in dlpar_add_lmb()
 
 | 
| /Linux-v5.10/drivers/s390/char/ | 
| D | sclp_cmd.c | 404 	block_size = memory_block_size_bytes();  in add_memory_merged()
 | 
| /Linux-v5.10/arch/powerpc/kernel/ | 
| D | setup_64.c | 902 unsigned long memory_block_size_bytes(void)  in memory_block_size_bytes()  function
 | 
| /Linux-v5.10/arch/x86/mm/ | 
| D | init_64.c | 1476 unsigned long memory_block_size_bytes(void)  in memory_block_size_bytes()  function
 |