| /linux/arch/powerpc/include/asm/ |
| H A D | highmem.h | 51 #define PKMAP_BASE (FIXADDR_START - PAGE_SIZE*(LAST_PKMAP + 1)) macro 53 #define PKMAP_BASE ((FIXADDR_START - PAGE_SIZE*(LAST_PKMAP + 1)) & PMD_MASK) macro 56 #define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT) 57 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
|
| /linux/arch/hexagon/include/asm/ |
| H A D | mem-layout.h | 86 #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)
|
| /linux/arch/microblaze/include/asm/ |
| H A D | highmem.h | 45 #define PKMAP_BASE ((FIXADDR_START - PAGE_SIZE * (LAST_PKMAP + 1)) \ macro 49 #define PKMAP_NR(virt) ((virt - PKMAP_BASE) >> PAGE_SHIFT) 50 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
|
| /linux/arch/sparc/include/asm/ |
| H A D | highmem.h | 43 #define PKMAP_BASE PMD_ALIGN(SRMMU_NOCACHE_VADDR + (SRMMU_MAX_NOCACHE_PAGES << PAGE_SHIFT)) macro 46 #define PKMAP_NR(virt) ((virt - PKMAP_BASE) >> PAGE_SHIFT) 47 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
|
| /linux/arch/arc/include/asm/ |
| H A D | highmem.h | 34 #define PKMAP_BASE (FIXMAP_BASE + FIXMAP_SIZE) macro 37 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT)) 38 #define PKMAP_NR(virt) (((virt) - PKMAP_BASE) >> PAGE_SHIFT)
|
| /linux/arch/arm/include/asm/ |
| H A D | highmem.h | 8 #define PKMAP_BASE (PAGE_OFFSET - PMD_SIZE) macro 11 #define PKMAP_NR(virt) (((virt) - PKMAP_BASE) >> PAGE_SHIFT) 12 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
|
| /linux/arch/xtensa/include/asm/ |
| H A D | highmem.h | 21 #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))
|
| /linux/arch/microblaze/mm/ |
| H A D | init.c | 51 pr_debug("%x\n", (u32)PKMAP_BASE); in highmem_init() 52 map_page(PKMAP_BASE, 0, 0); /* XXX gross */ in highmem_init() 53 pkmap_page_table = virt_to_kpte(PKMAP_BASE); in highmem_init() 220 ioremap_base = ioremap_bot = PKMAP_BASE; in mmu_init()
|
| /linux/arch/csky/include/asm/ |
| H A D | memory.h | 12 #define PKMAP_BASE _AC(0xff800000, UL) macro 14 #define VMALLOC_END (PKMAP_BASE - (PAGE_SIZE * 2))
|
| H A D | highmem.h | 29 #define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT) 30 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
|
| /linux/arch/mips/include/asm/ |
| H A D | highmem.h | 46 #define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT) 47 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
|
| /linux/arch/x86/mm/ |
| H A D | init_32.c | 391 unsigned long vaddr = PKMAP_BASE; in permanent_kmaps_init() 705 BUILD_BUG_ON(PKMAP_BASE + LAST_PKMAP*PAGE_SIZE > FIXADDR_START); in mem_init() 706 BUILD_BUG_ON(VMALLOC_END > PKMAP_BASE); in mem_init() 714 BUG_ON(PKMAP_BASE + LAST_PKMAP*PAGE_SIZE > FIXADDR_START); in mem_init() 715 BUG_ON(VMALLOC_END > PKMAP_BASE); in mem_init()
|
| /linux/Documentation/arch/xtensa/ |
| H A D | mmu.rst | 93 | KMAP area | PKMAP_BASE PTRS_PER_PTE * 136 | KMAP area | PKMAP_BASE PTRS_PER_PTE * 180 | KMAP area | PKMAP_BASE PTRS_PER_PTE *
|
| /linux/arch/csky/mm/ |
| H A D | highmem.c | 28 vaddr = PKMAP_BASE; in kmap_init()
|
| /linux/arch/arc/mm/ |
| H A D | highmem.c | 71 pkmap_page_table = alloc_kmap_pgtable(PKMAP_BASE); in kmap_init()
|
| /linux/arch/xtensa/mm/ |
| H A D | highmem.c | 57 BUILD_BUG_ON(PKMAP_BASE < TLBTEMP_BASE_1 + TLBTEMP_SIZE); in kmap_init()
|
| H A D | mmu.c | 66 pkmap_page_table = init_pmd(PKMAP_BASE, LAST_PKMAP); in paging_init()
|
| /linux/arch/arm/mm/ |
| H A D | kasan_init.c | 286 create_mapping((void *)PKMAP_BASE, (void *)(PKMAP_BASE + PMD_SIZE)); in kasan_init()
|
| H A D | mmu.c | 1469 pkmap_page_table = early_pte_alloc(pmd_off_k(PKMAP_BASE), in kmap_init() 1470 PKMAP_BASE, _PAGE_KERNEL_TABLE); in kmap_init()
|
| /linux/arch/mips/mm/ |
| H A D | pgtable-32.c | 69 vaddr = PKMAP_BASE; in pagetable_init()
|
| /linux/arch/powerpc/include/asm/nohash/32/ |
| H A D | pgtable.h | 77 #define IOREMAP_TOP PKMAP_BASE
|
| /linux/arch/sparc/mm/ |
| H A D | srmmu.c | 953 srmmu_allocate_ptable_skeleton(PKMAP_BASE, PKMAP_END); in srmmu_paging_init() 955 pgd = pgd_offset_k(PKMAP_BASE); in srmmu_paging_init() 956 p4d = p4d_offset(pgd, PKMAP_BASE); in srmmu_paging_init() 957 pud = pud_offset(p4d, PKMAP_BASE); in srmmu_paging_init() 958 pmd = pmd_offset(pud, PKMAP_BASE); in srmmu_paging_init() 959 pte = pte_offset_kernel(pmd, PKMAP_BASE); in srmmu_paging_init()
|
| /linux/Documentation/arch/arm/ |
| H A D | memory.rst | 72 PKMAP_BASE PAGE_OFFSET-1 Permanent kernel mappings
|
| /linux/arch/powerpc/mm/ptdump/ |
| H A D | ptdump.c | 290 address_markers[i++].start_address = PKMAP_BASE; in populate_markers()
|
| /linux/arch/powerpc/include/asm/book3s/32/ |
| H A D | pgtable.h | 162 #define IOREMAP_TOP PKMAP_BASE
|