Lines Matching +full:use +full:- +full:guard +full:- +full:pages
1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (c) 2010-2013, The Linux Foundation. All rights reserved.
50 FIX_KMAP_END, /* check for per-cpuism */
64 /* Gap between physical ram and vmalloc space for guard purposes. */
77 #define FIXADDR_START (FIXADDR_TOP - FIXADDR_SIZE)
80 * "permanent kernel mappings", defined as long-lasting mappings of
81 * high-memory page frames into the kernel address space.
85 #define LAST_PKMAP_MASK (LAST_PKMAP - 1)
86 #define PKMAP_NR(virt) ((virt - PKMAP_BASE) >> PAGE_SHIFT)
94 * Need to check the alignment/shift usage; some archs use
97 #define PKMAP_BASE (FIXADDR_START-PAGE_SIZE*LAST_PKMAP)
100 * 2 pages of guard gap between where vmalloc area ends
103 #define VMALLOC_END (PKMAP_BASE-PAGE_SIZE*2)