/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/powerpc/include/asm/ |
D | highmem.h | 54 #define PKMAP_BASE (FIXADDR_START - PAGE_SIZE*(LAST_PKMAP + 1)) macro 56 #define PKMAP_BASE ((FIXADDR_START - PAGE_SIZE*(LAST_PKMAP + 1)) & PMD_MASK) macro 59 #define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT) 60 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
|
/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)) 74 BUILD_BUG_ON(PKMAP_BASE < in kmap()
|
/arch/nds32/include/asm/ |
D | highmem.h | 30 #define PKMAP_BASE ((FIXADDR_START - PGDIR_SIZE) & (PGDIR_MASK)) macro 33 #define PKMAP_NR(virt) (((virt) - (PKMAP_BASE)) >> PAGE_SHIFT) 34 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
|
D | pgtable.h | 58 #define CONSISTENT_BASE ((PKMAP_BASE) - (SZ_2M)) 59 #define CONSISTENT_END (PKMAP_BASE)
|
/arch/arm/include/asm/ |
D | highmem.h | 7 #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))
|
/arch/arc/include/asm/ |
D | highmem.h | 21 #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)
|
/arch/sparc/include/asm/ |
D | highmem.h | 45 #define PKMAP_BASE PMD_ALIGN(SRMMU_NOCACHE_VADDR + (SRMMU_MAX_NOCACHE_PAGES << PAGE_SHIFT)) macro 48 #define PKMAP_NR(virt) ((virt - PKMAP_BASE) >> PAGE_SHIFT) 49 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
|
/arch/microblaze/include/asm/ |
D | highmem.h | 47 #define PKMAP_BASE ((FIXADDR_START - PAGE_SIZE * (LAST_PKMAP + 1)) \ macro 51 #define PKMAP_NR(virt) ((virt - PKMAP_BASE) >> PAGE_SHIFT) 52 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
|
/arch/nds32/mm/ |
D | init.c | 126 vaddr = PKMAP_BASE; in fixedrange_init() 216 PKMAP_BASE, PKMAP_BASE + LAST_PKMAP * PAGE_SIZE, in mem_init() 238 BUILD_BUG_ON(PKMAP_BASE + LAST_PKMAP * PAGE_SIZE > FIXADDR_START); in mem_init() 239 BUILD_BUG_ON((CONSISTENT_END) > PKMAP_BASE); in mem_init() 245 BUG_ON(PKMAP_BASE + LAST_PKMAP * PAGE_SIZE > FIXADDR_START); in mem_init() 246 BUG_ON(CONSISTENT_END > PKMAP_BASE); in mem_init()
|
/arch/csky/include/asm/ |
D | highmem.h | 30 #define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT) 31 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
|
D | pgtable.h | 19 #define PKMAP_BASE (0xff800000) macro 22 #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 | 102 #define PKMAP_BASE (PKMAP_END - PAGE_SIZE * LAST_PKMAP) macro 105 # define VMALLOC_END (PKMAP_BASE-2*PAGE_SIZE)
|
/arch/x86/include/asm/ |
D | highmem.h | 58 #define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT) 59 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
|
D | pgtable_32_types.h | 58 #define PKMAP_BASE \ macro 62 # define VMALLOC_END (PKMAP_BASE - 2 * PAGE_SIZE)
|
/arch/microblaze/mm/ |
D | init.c | 62 pr_debug("%x\n", (u32)PKMAP_BASE); in highmem_init() 63 map_page(PKMAP_BASE, 0, 0); /* XXX gross */ in highmem_init() 64 pkmap_page_table = virt_to_kpte(PKMAP_BASE); in highmem_init() 205 PKMAP_BASE, PKMAP_ADDR(LAST_PKMAP)); in mem_init() 333 ioremap_base = ioremap_bot = PKMAP_BASE; in mmu_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/x86/mm/ |
D | init_32.c | 423 vaddr = PKMAP_BASE; in permanent_kmaps_init() 809 PKMAP_BASE, PKMAP_BASE+LAST_PKMAP*PAGE_SIZE, in mem_init() 835 BUILD_BUG_ON(PKMAP_BASE + LAST_PKMAP*PAGE_SIZE > FIXADDR_START); in mem_init() 836 BUILD_BUG_ON(VMALLOC_END > PKMAP_BASE); in mem_init() 844 BUG_ON(PKMAP_BASE + LAST_PKMAP*PAGE_SIZE > FIXADDR_START); in mem_init() 845 BUG_ON(VMALLOC_END > PKMAP_BASE); in mem_init()
|
/arch/xtensa/mm/ |
D | init.c | 183 PKMAP_BASE, PKMAP_BASE + LAST_PKMAP * PAGE_SIZE, in mem_init()
|
D | mmu.c | 64 pkmap_page_table = init_pmd(PKMAP_BASE, LAST_PKMAP); in paging_init()
|
/arch/mips/mm/ |
D | pgtable-32.c | 81 vaddr = PKMAP_BASE; in pagetable_init()
|
/arch/powerpc/mm/ |
D | mem.c | 251 map_kernel_page(PKMAP_BASE, 0, __pgprot(0)); /* XXX gross */ in paging_init() 252 pkmap_page_table = virt_to_kpte(PKMAP_BASE); in paging_init() 334 PKMAP_BASE, PKMAP_ADDR(LAST_PKMAP)); in mem_init()
|
/arch/arc/mm/ |
D | highmem.c | 137 pkmap_page_table = alloc_kmap_pgtable(PKMAP_BASE); in kmap_init()
|
/arch/sh/mm/ |
D | init.c | 380 PKMAP_BASE, PKMAP_BASE+LAST_PKMAP*PAGE_SIZE, in mem_init()
|