Searched refs:memory_block_size_bytes (Results 1 – 16 of 16) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/base/ |
| H A D | memory.c | 106 unsigned long __weak memory_block_size_bytes(void) in memory_block_size_bytes() function 110 EXPORT_SYMBOL_GPL(memory_block_size_bytes); 377 return sysfs_emit(buf, "%lx\n", memory_block_size_bytes()); in block_size_bytes_show() 635 if (WARN_ON_ONCE(!IS_ALIGNED(start, memory_block_size_bytes()) || in create_memory_block_devices() 636 !IS_ALIGNED(size, memory_block_size_bytes()))) in create_memory_block_devices() 671 if (WARN_ON_ONCE(!IS_ALIGNED(start, memory_block_size_bytes()) || in remove_memory_block_devices() 672 !IS_ALIGNED(size, memory_block_size_bytes()))) in remove_memory_block_devices() 725 block_sz = memory_block_size_bytes(); in memory_dev_init()
|
| H A D | node.c | 807 unsigned long memory_block_pfns = memory_block_size_bytes() / PAGE_SIZE; in register_mem_block_under_node_early()
|
| /OK3568_Linux_fs/kernel/drivers/virtio/ |
| H A 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() 1667 if (vm->device_block_size > memory_block_size_bytes()) { in virtio_mem_init() 1674 if (!IS_ALIGNED(vm->addr, memory_block_size_bytes())) in virtio_mem_init() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/dax/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/powernv/ |
| H A D | memtrace.c | 117 u64 bytes = memory_block_size_bytes(); in memtrace_alloc_node() 290 bytes = memory_block_size_bytes(); in memtrace_enable_set()
|
| /OK3568_Linux_fs/kernel/mm/ |
| H A D | memory_hotplug.c | 998 if (!size || !IS_ALIGNED(start, memory_block_size_bytes()) || in check_hotplug_memory_range() 999 !IS_ALIGNED(size, memory_block_size_bytes())) { in check_hotplug_memory_range() 1001 memory_block_size_bytes(), start, size); in check_hotplug_memory_range() 1687 endpa = beginpa + memory_block_size_bytes() - 1; in check_memblock_offlined_cb() 1879 if (!IS_ALIGNED(start, memory_block_size_bytes()) || in offline_and_remove_memory() 1880 size != memory_block_size_bytes()) in offline_and_remove_memory()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | memory.h | 35 unsigned long memory_block_size_bytes(void);
|
| /OK3568_Linux_fs/kernel/arch/s390/mm/ |
| H A D | init.c | 219 unsigned long memory_block_size_bytes(void) in memory_block_size_bytes() function
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/pseries/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/s390/char/ |
| H A D | sclp_cmd.c | 404 block_size = memory_block_size_bytes(); in add_memory_merged()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kernel/ |
| H A D | setup_64.c | 915 unsigned long memory_block_size_bytes(void) in memory_block_size_bytes() function
|
| /OK3568_Linux_fs/kernel/android/ |
| H A D | abi_gki_aarch64_vivo | 931 memory_block_size_bytes
|
| H A D | abi_gki_aarch64_qcom | 1424 memory_block_size_bytes
|
| H A D | abi_gki_aarch64_oplus | 1559 memory_block_size_bytes
|
| H A D | abi_gki_aarch64_galaxy | 2548 memory_block_size_bytes
|
| /OK3568_Linux_fs/kernel/arch/x86/mm/ |
| H A D | init_64.c | 1476 unsigned long memory_block_size_bytes(void) in memory_block_size_bytes() function
|