/arch/powerpc/include/asm/ |
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))
|
/arch/hexagon/include/asm/ |
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)
|
/arch/microblaze/include/asm/ |
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))
|
/arch/nds32/include/asm/ |
D | highmem.h | 28 #define PKMAP_BASE ((FIXADDR_START - PGDIR_SIZE) & (PGDIR_MASK)) macro 31 #define PKMAP_NR(virt) (((virt) - (PKMAP_BASE)) >> PAGE_SHIFT) 32 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
|
/arch/sparc/include/asm/ |
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))
|
/arch/arc/include/asm/ |
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)
|
/arch/arm/include/asm/ |
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))
|
/arch/nds32/mm/ |
D | init.c | 121 vaddr = PKMAP_BASE; in fixedrange_init() 208 PKMAP_BASE, PKMAP_BASE + LAST_PKMAP * PAGE_SIZE, in mem_init() 230 BUILD_BUG_ON(PKMAP_BASE + LAST_PKMAP * PAGE_SIZE > FIXADDR_START); in mem_init() 231 BUILD_BUG_ON((CONSISTENT_END) > PKMAP_BASE); in mem_init() 237 BUG_ON(PKMAP_BASE + LAST_PKMAP * PAGE_SIZE > FIXADDR_START); in mem_init() 238 BUG_ON(CONSISTENT_END > PKMAP_BASE); in mem_init()
|
/arch/xtensa/include/asm/ |
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))
|
/arch/csky/include/asm/ |
D | memory.h | 12 #define PKMAP_BASE _AC(0xff800000, UL) macro 14 #define VMALLOC_END (PKMAP_BASE - (PAGE_SIZE * 2))
|
D | highmem.h | 29 #define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT) 30 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
|
/arch/x86/include/asm/ |
D | highmem.h | 57 #define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT) 58 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
|
D | pgtable_32_areas.h | 38 #define PKMAP_BASE \ macro 42 # define VMALLOC_END (PKMAP_BASE - 2 * PAGE_SIZE)
|
/arch/mips/include/asm/ |
D | highmem.h | 46 #define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT) 47 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
|
D | pgtable-32.h | 100 #define PKMAP_BASE (PKMAP_END - PAGE_SIZE * LAST_PKMAP) macro 103 # define VMALLOC_END (PKMAP_BASE-2*PAGE_SIZE)
|
/arch/microblaze/mm/ |
D | init.c | 50 pr_debug("%x\n", (u32)PKMAP_BASE); in highmem_init() 51 map_page(PKMAP_BASE, 0, 0); /* XXX gross */ in highmem_init() 52 pkmap_page_table = virt_to_kpte(PKMAP_BASE); in highmem_init() 249 ioremap_base = ioremap_bot = PKMAP_BASE; in mmu_init()
|
/arch/xtensa/mm/ |
D | init.c | 147 PKMAP_BASE, PKMAP_BASE + LAST_PKMAP * PAGE_SIZE, in mem_init()
|
D | highmem.c | 57 BUILD_BUG_ON(PKMAP_BASE < TLBTEMP_BASE_1 + TLBTEMP_SIZE); in kmap_init()
|
/arch/sparc/mm/ |
D | init_32.c | 252 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()
|
/arch/csky/mm/ |
D | highmem.c | 28 vaddr = PKMAP_BASE; in kmap_init()
|
/arch/arc/mm/ |
D | highmem.c | 71 pkmap_page_table = alloc_kmap_pgtable(PKMAP_BASE); in kmap_init()
|
/arch/powerpc/mm/ |
D | mem.c | 235 map_kernel_page(PKMAP_BASE, 0, __pgprot(0)); /* XXX gross */ in paging_init() 236 pkmap_page_table = virt_to_kpte(PKMAP_BASE); in paging_init() 328 PKMAP_BASE, PKMAP_ADDR(LAST_PKMAP)); in mem_init()
|
/arch/x86/mm/ |
D | init_32.c | 400 unsigned long vaddr = PKMAP_BASE; in permanent_kmaps_init() 764 BUILD_BUG_ON(PKMAP_BASE + LAST_PKMAP*PAGE_SIZE > FIXADDR_START); in mem_init() 765 BUILD_BUG_ON(VMALLOC_END > PKMAP_BASE); in mem_init() 773 BUG_ON(PKMAP_BASE + LAST_PKMAP*PAGE_SIZE > FIXADDR_START); in mem_init() 774 BUG_ON(VMALLOC_END > PKMAP_BASE); in mem_init()
|
/arch/arm/mm/ |
D | kasan_init.c | 281 create_mapping((void *)PKMAP_BASE, (void *)(PKMAP_BASE + PMD_SIZE)); in kasan_init()
|
/arch/mips/mm/ |
D | pgtable-32.c | 80 vaddr = PKMAP_BASE; in pagetable_init()
|