Lines Matching +full:set +full:- +full:top
1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * -- paulus
7 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
44 for (; (s32)(FIXADDR_TOP - addr) > 0; in early_ioremap_init()
77 int err = -ENOMEM; in map_kernel_page()
81 /* Use middle 10 bits of VA to index the second-level map */ in map_kernel_page()
88 /* The PTE should never be already set nor present in the in map_kernel_page()
101 static void __init __mapin_ram_chunk(unsigned long offset, unsigned long top) in __mapin_ram_chunk() argument
110 for (; s < top; s += PAGE_SIZE) { in __mapin_ram_chunk()
124 phys_addr_t top = min(end, total_lowmem); in mapin_ram() local
126 if (base >= top) in mapin_ram()
128 base = mmu_mapin_ram(base, top); in mapin_ram()
129 __mapin_ram_chunk(base, top); in mapin_ram()
135 unsigned long numpages = PFN_UP((unsigned long)_einittext) - in mark_initmem_nx()
161 * mark text and rodata as read only. __end_rodata is set by in mark_rodata_ro()
165 numpages = PFN_UP((unsigned long)__end_rodata) - in mark_rodata_ro()