Lines Matching +full:top +full:- +full:level
1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * -- paulus
7 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
45 for (; (s32)(FIXADDR_TOP - addr) > 0; in early_ioremap_init()
78 int err = -ENOMEM; in map_kernel_page()
80 /* Use upper 10 bits of VA to index the first level map */ in map_kernel_page()
82 /* Use middle 10 bits of VA to index the second-level map */ in map_kernel_page()
102 static void __init __mapin_ram_chunk(unsigned long offset, unsigned long top) in __mapin_ram_chunk() argument
111 for (; s < top; s += PAGE_SIZE) { in __mapin_ram_chunk()
130 phys_addr_t top = min(end, total_lowmem); in mapin_ram() local
132 if (base >= top) in mapin_ram()
134 base = mmu_mapin_ram(base, top); in mapin_ram()
135 __mapin_ram_chunk(base, top); in mapin_ram()
151 return -EINVAL; in __change_page_attr_noflush()
184 unsigned long numpages = PFN_UP((unsigned long)_einittext) - in mark_initmem_nx()
206 numpages = PFN_UP((unsigned long)_etext) - in mark_rodata_ro()
215 numpages = PFN_UP((unsigned long)__init_begin) - in mark_rodata_ro()