/arch/x86/mm/ |
D | numa_emulation.c | 84 u64 addr, u64 max_addr, int nr_nodes) in split_nodes_interleave() argument 104 size = max_addr - addr - mem_hole_size(addr, max_addr); in split_nodes_interleave() 186 static u64 __init find_end_of_node(u64 start, u64 max_addr, u64 size) in find_end_of_node() argument 192 if (end > max_addr) { in find_end_of_node() 193 end = max_addr; in find_end_of_node() 200 static u64 uniform_size(u64 max_addr, u64 base, u64 hole, int nr_nodes) in uniform_size() argument 202 unsigned long max_pfn = PHYS_PFN(max_addr); in uniform_size() 217 u64 addr, u64 max_addr, u64 size, in split_nodes_size_interleave_uniform() argument 247 min_size = uniform_size(max_addr, addr, 0, nr_nodes); in split_nodes_size_interleave_uniform() 257 min_size = uniform_size(max_addr, addr, in split_nodes_size_interleave_uniform() [all …]
|
/arch/s390/mm/ |
D | dump_pagetables.c | 11 static unsigned long max_addr; variable 140 for (i = 0; i < PTRS_PER_PTE && addr < max_addr; i++) { in walk_pte_level() 165 for (i = 0; i < PTRS_PER_PMD && addr < max_addr; i++, pmd++) { in walk_pmd_level() 196 for (i = 0; i < PTRS_PER_PUD && addr < max_addr; i++, pud++) { in walk_pud_level() 226 for (i = 0; i < PTRS_PER_P4D && addr < max_addr; i++, p4d++) { in walk_p4d_level() 244 for (i = 0; i < PTRS_PER_PGD && addr < max_addr; i++) { in walk_pgd_level() 255 st.current_address = max_addr; in walk_pgd_level() 284 max_addr = (S390_lowcore.kernel_asce & _REGION_ENTRY_TYPE_MASK) >> 2; in pt_dump_init() 285 max_addr = 1UL << (max_addr * 11 + 31); in pt_dump_init()
|
/arch/mips/cavium-octeon/ |
D | dma-octeon.c | 194 phys_addr_t max_addr; in plat_swiotlb_setup() local 199 max_addr = 0; in plat_swiotlb_setup() 209 if (max_addr < mem->base + mem->size) in plat_swiotlb_setup() 210 max_addr = mem->base + mem->size; in plat_swiotlb_setup() 226 } else if (max_addr > 0xf0000000ul) { in plat_swiotlb_setup() 236 if (OCTEON_IS_OCTEON2() && max_addr >= 0x100000000ul) in plat_swiotlb_setup()
|
/arch/m68k/mm/ |
D | motorola.c | 217 unsigned long min_addr, max_addr; in paging_init() local 236 max_addr = min_addr + m68k_memory[0].size; in paging_init() 250 if (addr > max_addr) in paging_init() 251 max_addr = addr; in paging_init() 255 m68k_virt_to_node_shift = fls(max_addr - min_addr - 1) - 6; in paging_init() 260 high_memory = phys_to_virt(max_addr); in paging_init() 263 max_pfn = max_low_pfn = max_addr >> PAGE_SHIFT; in paging_init()
|
/arch/mips/include/asm/octeon/ |
D | cvmx-bootmem.h | 206 uint64_t max_addr, uint64_t align, 232 uint64_t max_addr, 300 uint64_t max_addr,
|
D | octeon.h | 17 uint64_t max_addr, 22 uint64_t min_addr, uint64_t max_addr, 27 uint64_t max_addr, uint64_t align,
|
/arch/mips/cavium-octeon/executive/ |
D | cvmx-bootmem.c | 139 uint64_t min_addr, uint64_t max_addr) in cvmx_bootmem_alloc_range() argument 143 cvmx_bootmem_phy_alloc(size, min_addr, max_addr, alignment, 0); in cvmx_bootmem_alloc_range() 159 uint64_t max_addr, uint64_t align, in cvmx_bootmem_alloc_named_range() argument 164 addr = cvmx_bootmem_phy_named_block_alloc(size, min_addr, max_addr, in cvmx_bootmem_alloc_named_range() 626 uint64_t max_addr, uint64_t align, in cvmx_bootmem_alloc_named_range_once() argument 644 addr = cvmx_bootmem_phy_named_block_alloc(size, min_addr, max_addr, in cvmx_bootmem_alloc_named_range_once() 726 uint64_t max_addr, in cvmx_bootmem_phy_named_block_alloc() argument 739 (unsigned long long)max_addr, in cvmx_bootmem_phy_named_block_alloc() 784 addr_allocated = cvmx_bootmem_phy_alloc(size, min_addr, max_addr, in cvmx_bootmem_phy_named_block_alloc()
|
/arch/x86/boot/compressed/ |
D | misc.c | 181 unsigned long max_addr = min_addr + (VO___bss_start - VO__text); in handle_relocations() local 236 if (ptr < min_addr || ptr > max_addr) in handle_relocations() 247 if (ptr < min_addr || ptr > max_addr) in handle_relocations() 257 if (ptr < min_addr || ptr > max_addr) in handle_relocations()
|
/arch/powerpc/platforms/pseries/ |
D | iommu.c | 945 phys_addr_t max_addr = memory_hotplug_max(); in ddw_memory_hotplug_max() local 965 max_addr = max_t(phys_addr_t, max_addr, start + size); in ddw_memory_hotplug_max() 968 return max_addr; in ddw_memory_hotplug_max() 988 u64 dma_addr, max_addr; in enable_ddw() local 1060 max_addr = ddw_memory_hotplug_max(); in enable_ddw() 1061 if (query.largest_available_block < (max_addr >> page_shift)) { in enable_ddw() 1063 "%llu-sized pages\n", max_addr, query.largest_available_block, in enable_ddw() 1067 len = order_base_2(max_addr); in enable_ddw()
|
/arch/ia64/kernel/ |
D | efi.c | 61 static u64 mem_limit = ~0UL, max_addr = ~0UL, min_addr = 0UL; variable 494 max_addr = GRANULEROUNDDOWN(memparse(cp + 9, &cp)); in efi_init() 507 if (max_addr != ~0UL) in efi_init() 509 max_addr >> 20); in efi_init() 1023 ae = min(ae, max_addr); in find_memmap_space() 1142 ae = min(ae, max_addr); in efi_memmap_init()
|
/arch/powerpc/mm/book3s64/ |
D | radix_pgtable.c | 41 phys_addr_t max_addr = MEMBLOCK_ALLOC_ANYWHERE; in early_alloc_pgtable() local 47 max_addr = region_end; in early_alloc_pgtable() 49 ptr = memblock_alloc_try_nid(size, size, min_addr, max_addr, nid); in early_alloc_pgtable() 53 __func__, size, size, nid, &min_addr, &max_addr); in early_alloc_pgtable()
|