Home
last modified time | relevance | path

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

12

/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)
/arch/powerpc/include/asm/
Dhighmem.h54 #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/
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))
74 BUILD_BUG_ON(PKMAP_BASE < in kmap()
/arch/nds32/include/asm/
Dhighmem.h30 #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))
Dpgtable.h58 #define CONSISTENT_BASE ((PKMAP_BASE) - (SZ_2M))
59 #define CONSISTENT_END (PKMAP_BASE)
/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))
/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)
/arch/sparc/include/asm/
Dhighmem.h45 #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/
Dhighmem.h47 #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/
Dinit.c126 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/
Dhighmem.h30 #define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT)
31 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
Dpgtable.h19 #define PKMAP_BASE (0xff800000) macro
22 #define VMALLOC_END (PKMAP_BASE - 2*PAGE_SIZE)
/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.h102 #define PKMAP_BASE (PKMAP_END - PAGE_SIZE * LAST_PKMAP) macro
105 # define VMALLOC_END (PKMAP_BASE-2*PAGE_SIZE)
/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_types.h58 #define PKMAP_BASE \ macro
62 # define VMALLOC_END (PKMAP_BASE - 2 * PAGE_SIZE)
/arch/microblaze/mm/
Dinit.c62 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/
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()
/arch/x86/mm/
Dinit_32.c423 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/
Dinit.c183 PKMAP_BASE, PKMAP_BASE + LAST_PKMAP * PAGE_SIZE, in mem_init()
Dmmu.c64 pkmap_page_table = init_pmd(PKMAP_BASE, LAST_PKMAP); in paging_init()
/arch/mips/mm/
Dpgtable-32.c81 vaddr = PKMAP_BASE; in pagetable_init()
/arch/powerpc/mm/
Dmem.c251 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/
Dhighmem.c137 pkmap_page_table = alloc_kmap_pgtable(PKMAP_BASE); in kmap_init()
/arch/sh/mm/
Dinit.c380 PKMAP_BASE, PKMAP_BASE+LAST_PKMAP*PAGE_SIZE, in mem_init()

12