Home
last modified time | relevance | path

Searched refs:memory_size (Results 1 – 11 of 11) sorted by relevance

/arch/microblaze/mm/
Dinit.c44 unsigned long memory_size; variable
45 EXPORT_SYMBOL(memory_size);
127 memory_size = lowmem_size; in setup_memory()
131 (u32) memory_size); in setup_memory()
136 if (!memory_start || !memory_size) { in setup_memory()
138 __func__, (u32) memory_start, (u32) memory_size); in setup_memory()
163 max_mapnr = memory_size >> PAGE_SHIFT; in setup_memory()
165 max_pfn = ((u64)memory_start + (u64)memory_size) >> PAGE_SHIFT; in setup_memory()
239 if (maxmem && memory_size > maxmem) { in mm_cmdline_setup()
240 memory_size = maxmem; in mm_cmdline_setup()
[all …]
/arch/nios2/kernel/
Dsetup.c35 unsigned long memory_size; variable
151 memory_size = memblock_phys_mem_size(); in setup_arch()
153 memory_end = (unsigned long) CONFIG_NIOS2_MEM_BASE + memory_size; in setup_arch()
/arch/microblaze/include/asm/
Ddma.h18 #define MAX_DMA_ADDRESS (CONFIG_KERNEL_START + memory_size - 1)
Dpage.h138 extern unsigned long memory_size;
Duaccess.h56 ((addr + size - 1) > (memory_start + memory_size - 1))); in ___range_ok()
/arch/nios2/include/asm/
Dpage.h75 extern unsigned long memory_size;
/arch/x86/include/uapi/asm/
Dkvm.h59 __u64 memory_size; member
/arch/mips/kvm/
Dmips.c243 mem->memory_size, mem->userspace_addr); in kvm_arch_commit_memory_region()
/arch/s390/kvm/
Dkvm-s390.c4523 if (mem->memory_size & 0xffffful) in kvm_arch_prepare_memory_region()
4526 if (mem->guest_phys_addr + mem->memory_size > kvm->arch.mem_limit) in kvm_arch_prepare_memory_region()
4569 mem->guest_phys_addr, mem->memory_size); in kvm_arch_commit_memory_region()
/arch/x86/kvm/
Dx86.c9745 m.memory_size = size; in __x86_set_memory_region()
9917 mem->memory_size >> PAGE_SHIFT); in kvm_arch_prepare_memory_region()
/arch/powerpc/kvm/
Dbook3s_hv.c4516 unsigned long npages = mem->memory_size >> PAGE_SHIFT; in kvmppc_core_commit_memory_region_hv()