Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/base/
H A Dmemory.c106 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 Dnode.c807 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 Dvirtio_mem.c204 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 Dkmem.c28 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 Dmemtrace.c117 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 Dmemory_hotplug.c998 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 Dmemory.h35 unsigned long memory_block_size_bytes(void);
/OK3568_Linux_fs/kernel/arch/s390/mm/
H A Dinit.c219 unsigned long memory_block_size_bytes(void) in memory_block_size_bytes() function
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/pseries/
H A Dhotplug-memory.c359 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 Dsclp_cmd.c404 block_size = memory_block_size_bytes(); in add_memory_merged()
/OK3568_Linux_fs/kernel/arch/powerpc/kernel/
H A Dsetup_64.c915 unsigned long memory_block_size_bytes(void) in memory_block_size_bytes() function
/OK3568_Linux_fs/kernel/android/
H A Dabi_gki_aarch64_vivo931 memory_block_size_bytes
H A Dabi_gki_aarch64_qcom1424 memory_block_size_bytes
H A Dabi_gki_aarch64_oplus1559 memory_block_size_bytes
H A Dabi_gki_aarch64_galaxy2548 memory_block_size_bytes
/OK3568_Linux_fs/kernel/arch/x86/mm/
H A Dinit_64.c1476 unsigned long memory_block_size_bytes(void) in memory_block_size_bytes() function