Home
last modified time | relevance | path

Searched refs:PKMAP_BASE (Results 1 – 25 of 39) sorted by relevance

12

/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dhighmem.h53 #define PKMAP_BASE (FIXADDR_START - PAGE_SIZE*(LAST_PKMAP + 1)) macro
55 #define PKMAP_BASE ((FIXADDR_START - PAGE_SIZE*(LAST_PKMAP + 1)) & PMD_MASK) macro
58 #define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT)
59 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
/kernel/linux/linux-5.10/arch/hexagon/include/asm/
Dmem-layout.h86 #define PKMAP_NR(virt) ((virt - PKMAP_BASE) >> PAGE_SHIFT)
87 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
97 #define PKMAP_BASE (FIXADDR_START-PAGE_SIZE*LAST_PKMAP) macro
103 #define VMALLOC_END (PKMAP_BASE-PAGE_SIZE*2)
/kernel/linux/linux-5.10/arch/nds32/mm/
Dinit.c121 vaddr = PKMAP_BASE; in fixedrange_init()
209 PKMAP_BASE, PKMAP_BASE + LAST_PKMAP * PAGE_SIZE, in mem_init()
231 BUILD_BUG_ON(PKMAP_BASE + LAST_PKMAP * PAGE_SIZE > FIXADDR_START); in mem_init()
232 BUILD_BUG_ON((CONSISTENT_END) > PKMAP_BASE); in mem_init()
238 BUG_ON(PKMAP_BASE + LAST_PKMAP * PAGE_SIZE > FIXADDR_START); in mem_init()
239 BUG_ON(CONSISTENT_END > PKMAP_BASE); in mem_init()
/kernel/linux/linux-5.10/arch/nds32/include/asm/
Dhighmem.h29 #define PKMAP_BASE ((FIXADDR_START - PGDIR_SIZE) & (PGDIR_MASK)) macro
32 #define PKMAP_NR(virt) (((virt) - (PKMAP_BASE)) >> PAGE_SHIFT)
33 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
/kernel/linux/linux-5.10/arch/microblaze/include/asm/
Dhighmem.h46 #define PKMAP_BASE ((FIXADDR_START - PAGE_SIZE * (LAST_PKMAP + 1)) \ macro
50 #define PKMAP_NR(virt) ((virt - PKMAP_BASE) >> PAGE_SHIFT)
51 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
/kernel/linux/linux-5.10/arch/arc/include/asm/
Dhighmem.h21 #define PKMAP_BASE (FIXMAP_BASE + FIXMAP_SIZE) macro
25 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
26 #define PKMAP_NR(virt) (((virt) - PKMAP_BASE) >> PAGE_SHIFT)
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Dhighmem.h46 #define PKMAP_BASE PMD_ALIGN(SRMMU_NOCACHE_VADDR + (SRMMU_MAX_NOCACHE_PAGES << PAGE_SHIFT)) macro
49 #define PKMAP_NR(virt) ((virt - PKMAP_BASE) >> PAGE_SHIFT)
50 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
/kernel/linux/linux-5.10/arch/arm/include/asm/
Dhighmem.h7 #define PKMAP_BASE (PAGE_OFFSET - PMD_SIZE) macro
10 #define PKMAP_NR(virt) (((virt) - PKMAP_BASE) >> PAGE_SHIFT)
11 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
/kernel/linux/linux-5.10/arch/xtensa/include/asm/
Dhighmem.h21 #define PKMAP_BASE ((FIXADDR_START - \ macro
25 #define PKMAP_NR(virt) (((virt) - PKMAP_BASE) >> PAGE_SHIFT)
26 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
/kernel/linux/linux-5.10/arch/csky/include/asm/
Dmemory.h12 #define PKMAP_BASE _AC(0xff800000, UL) macro
14 #define VMALLOC_END (PKMAP_BASE - (PAGE_SIZE * 2))
Dhighmem.h30 #define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT)
31 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dhighmem.h58 #define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT)
59 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
Dpgtable_32_areas.h38 #define PKMAP_BASE \ macro
42 # define VMALLOC_END (PKMAP_BASE - 2 * PAGE_SIZE)
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dhighmem.h46 #define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT)
47 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
Dpgtable-32.h101 #define PKMAP_BASE (PKMAP_END - PAGE_SIZE * LAST_PKMAP) macro
104 # define VMALLOC_END (PKMAP_BASE-2*PAGE_SIZE)
/kernel/linux/linux-5.10/arch/microblaze/mm/
Dinit.c58 pr_debug("%x\n", (u32)PKMAP_BASE); in highmem_init()
59 map_page(PKMAP_BASE, 0, 0); /* XXX gross */ in highmem_init()
60 pkmap_page_table = virt_to_kpte(PKMAP_BASE); in highmem_init()
302 ioremap_base = ioremap_bot = PKMAP_BASE; in mmu_init()
/kernel/linux/linux-5.10/arch/sparc/mm/
Dinit_32.c252 if (PKMAP_BASE+LAST_PKMAP*PAGE_SIZE >= FIXADDR_START) { in mem_init()
255 PKMAP_BASE, in mem_init()
256 (unsigned long)PKMAP_BASE+LAST_PKMAP*PAGE_SIZE, in mem_init()
/kernel/linux/linux-5.10/arch/xtensa/mm/
Dinit.c148 PKMAP_BASE, PKMAP_BASE + LAST_PKMAP * PAGE_SIZE, in mem_init()
Dhighmem.c86 BUILD_BUG_ON(PKMAP_BASE < TLBTEMP_BASE_1 + TLBTEMP_SIZE); in kmap_init()
Dmmu.c63 pkmap_page_table = init_pmd(PKMAP_BASE, LAST_PKMAP); in paging_init()
/kernel/linux/linux-5.10/arch/x86/mm/
Dinit_32.c413 unsigned long vaddr = PKMAP_BASE; in permanent_kmaps_init()
781 BUILD_BUG_ON(PKMAP_BASE + LAST_PKMAP*PAGE_SIZE > FIXADDR_START); in mem_init()
782 BUILD_BUG_ON(VMALLOC_END > PKMAP_BASE); in mem_init()
790 BUG_ON(PKMAP_BASE + LAST_PKMAP*PAGE_SIZE > FIXADDR_START); in mem_init()
791 BUG_ON(VMALLOC_END > PKMAP_BASE); in mem_init()
/kernel/linux/linux-5.10/Documentation/xtensa/
Dmmu.rst93 | KMAP area | PKMAP_BASE PTRS_PER_PTE *
136 | KMAP area | PKMAP_BASE PTRS_PER_PTE *
180 | KMAP area | PKMAP_BASE PTRS_PER_PTE *
/kernel/linux/linux-5.10/arch/powerpc/mm/
Dmem.c238 map_kernel_page(PKMAP_BASE, 0, __pgprot(0)); /* XXX gross */ in paging_init()
239 pkmap_page_table = virt_to_kpte(PKMAP_BASE); in paging_init()
335 PKMAP_BASE, PKMAP_ADDR(LAST_PKMAP)); in mem_init()
/kernel/linux/linux-5.10/arch/arc/mm/
Dhighmem.c113 pkmap_page_table = alloc_kmap_pgtable(PKMAP_BASE); in kmap_init()
/kernel/linux/linux-5.10/arch/mips/mm/
Dpgtable-32.c81 vaddr = PKMAP_BASE; in pagetable_init()

12