/linux-4.1.27/arch/metag/include/asm/ |
H A D | highmem.h | 18 * PKMAP_BASE 26 #define PKMAP_BASE (FIXADDR_START - PMD_SIZE) macro 29 #define PKMAP_NR(virt) (((virt) - PKMAP_BASE) >> PAGE_SHIFT) 30 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | highmem.h | 53 #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))
|
H A D | pgtable-ppc32.h | 62 #define KVIRT_TOP PKMAP_BASE
|
/linux-4.1.27/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-4.1.27/arch/sparc/include/asm/ |
H A D | highmem.h | 44 #define PKMAP_BASE PMD_ALIGN(SRMMU_NOCACHE_VADDR + (SRMMU_MAX_NOCACHE_PAGES << PAGE_SHIFT)) macro 47 #define PKMAP_NR(virt) ((virt - PKMAP_BASE) >> PAGE_SHIFT) 48 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
|
/linux-4.1.27/arch/tile/include/asm/ |
H A D | highmem.h | 43 * PKMAP_BASE 50 #define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT) 51 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
|
H A D | pgtable_32.h | 55 #define PKMAP_BASE ((FIXADDR_BOOT_START - PAGE_SIZE*LAST_PKMAP) & PGDIR_MASK) macro 58 # define _VMALLOC_END (PKMAP_BASE & ~(HPAGE_SIZE-1))
|
H A D | page.h | 210 * PKMAP_BASE 0xf9000000 (via LAST_PKMAP)
|
/linux-4.1.27/arch/x86/include/asm/ |
H A D | highmem.h | 46 * PKMAP_BASE temp fixed addresses/vmalloc area 57 #define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT) 58 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
|
H A D | pgtable_32_types.h | 40 #define PKMAP_BASE ((FIXADDR_START - PAGE_SIZE * (LAST_PKMAP + 1)) \ macro 44 # define VMALLOC_END (PKMAP_BASE - 2 * PAGE_SIZE)
|
/linux-4.1.27/arch/microblaze/include/asm/ |
H A D | highmem.h | 46 #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))
|
/linux-4.1.27/arch/arm/include/asm/ |
H A D | highmem.h | 6 #define PKMAP_BASE (PAGE_OFFSET - PMD_SIZE) macro 9 #define PKMAP_NR(virt) (((virt) - PKMAP_BASE) >> PAGE_SHIFT) 10 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
|
/linux-4.1.27/arch/hexagon/include/asm/ |
H A D | mem-layout.h | 99 #define PKMAP_NR(virt) ((virt - PKMAP_BASE) >> PAGE_SHIFT) 100 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT)) 110 #define PKMAP_BASE (FIXADDR_START-PAGE_SIZE*LAST_PKMAP) macro 116 #define VMALLOC_END (PKMAP_BASE-PAGE_SIZE*2)
|
/linux-4.1.27/arch/mips/include/asm/ |
H A D | highmem.h | 41 #define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT) 42 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
|
H A D | pgtable-32.h | 64 #define PKMAP_BASE (0xfe000000UL) macro 67 # define VMALLOC_END (PKMAP_BASE-2*PAGE_SIZE)
|
/linux-4.1.27/arch/mn10300/include/asm/ |
H A D | highmem.h | 40 #define PKMAP_BASE 0xfe000000UL macro 43 #define PKMAP_NR(virt) ((virt - PKMAP_BASE) >> PAGE_SHIFT) 44 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
|
/linux-4.1.27/arch/frv/mm/ |
H A D | init.c | 88 pge = swapper_pg_dir + pgd_index_k(PKMAP_BASE); paging_init() 89 pue = pud_offset(pge, PKMAP_BASE); paging_init() 90 pme = pmd_offset(pue, PKMAP_BASE); paging_init()
|
H A D | fault.c | 71 if (ear0 >= PKMAP_BASE && ear0 < PKMAP_END) do_page_fault()
|
/linux-4.1.27/arch/frv/include/asm/ |
H A D | highmem.h | 56 #define PKMAP_NR(virt) ((virt - PKMAP_BASE) >> PAGE_SHIFT) 57 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
|
H A D | mem-layout.h | 54 #define PKMAP_BASE __UL(0xd8000000) macro
|
/linux-4.1.27/arch/mips/mm/ |
H A D | pgtable-32.c | 61 vaddr = PKMAP_BASE; pagetable_init()
|
/linux-4.1.27/arch/microblaze/mm/ |
H A D | init.c | 66 pr_debug("%x\n", (u32)PKMAP_BASE); highmem_init() 67 map_page(PKMAP_BASE, 0, 0); /* XXX gross */ highmem_init() 68 pkmap_page_table = virt_to_kpte(PKMAP_BASE); highmem_init() 256 PKMAP_BASE, PKMAP_ADDR(LAST_PKMAP)); mem_init() 384 ioremap_base = ioremap_bot = PKMAP_BASE; mmu_init()
|
/linux-4.1.27/arch/xtensa/mm/ |
H A D | mmu.c | 61 pkmap_page_table = init_pmd(PKMAP_BASE, LAST_PKMAP); paging_init()
|
H A D | init.c | 351 PKMAP_BASE, PKMAP_BASE + LAST_PKMAP * PAGE_SIZE, mem_init()
|
/linux-4.1.27/arch/sparc/mm/ |
H A D | init_32.c | 292 if (PKMAP_BASE+LAST_PKMAP*PAGE_SIZE >= FIXADDR_START) { mem_init() 295 PKMAP_BASE, mem_init() 296 (unsigned long)PKMAP_BASE+LAST_PKMAP*PAGE_SIZE, mem_init()
|
H A D | srmmu.c | 934 srmmu_allocate_ptable_skeleton(PKMAP_BASE, PKMAP_END); srmmu_paging_init() 936 pgd = pgd_offset_k(PKMAP_BASE); srmmu_paging_init() 937 pmd = pmd_offset(pgd, PKMAP_BASE); srmmu_paging_init() 938 pte = pte_offset_kernel(pmd, PKMAP_BASE); srmmu_paging_init()
|
/linux-4.1.27/arch/x86/mm/ |
H A D | init_32.c | 421 vaddr = PKMAP_BASE; permanent_kmaps_init() 777 PKMAP_BASE, PKMAP_BASE+LAST_PKMAP*PAGE_SIZE, mem_init() 803 BUILD_BUG_ON(PKMAP_BASE + LAST_PKMAP*PAGE_SIZE > FIXADDR_START); mem_init() 804 BUILD_BUG_ON(VMALLOC_END > PKMAP_BASE); mem_init() 815 BUG_ON(PKMAP_BASE + LAST_PKMAP*PAGE_SIZE > FIXADDR_START); mem_init() 816 BUG_ON(VMALLOC_END > PKMAP_BASE); mem_init()
|
H A D | dump_pagetables.c | 90 { 0/*PKMAP_BASE*/, "Persisent kmap() Area" }, 410 address_markers[PKMAP_BASE_NR].start_address = PKMAP_BASE; pt_dump_init()
|
/linux-4.1.27/arch/powerpc/mm/ |
H A D | mem.c | 297 map_page(PKMAP_BASE, 0, 0); /* XXX gross */ paging_init() 298 pkmap_page_table = virt_to_kpte(PKMAP_BASE); paging_init() 368 PKMAP_BASE, PKMAP_ADDR(LAST_PKMAP)); mem_init()
|
/linux-4.1.27/arch/arm/mm/ |
H A D | init.c | 529 MLM(PKMAP_BASE, (PKMAP_BASE) + (LAST_PKMAP) * mem_init() 555 BUILD_BUG_ON(PKMAP_BASE + LAST_PKMAP * PAGE_SIZE > PAGE_OFFSET); mem_init() 556 BUG_ON(PKMAP_BASE + LAST_PKMAP * PAGE_SIZE > PAGE_OFFSET); mem_init()
|
H A D | mmu.c | 1321 pkmap_page_table = early_pte_alloc(pmd_off_k(PKMAP_BASE), kmap_init() 1322 PKMAP_BASE, _PAGE_KERNEL_TABLE); kmap_init()
|
/linux-4.1.27/arch/sh/mm/ |
H A D | init.c | 448 PKMAP_BASE, PKMAP_BASE+LAST_PKMAP*PAGE_SIZE, mem_init()
|
/linux-4.1.27/arch/metag/mm/ |
H A D | init.c | 310 vaddr = PKMAP_BASE; fixedrange_init()
|
/linux-4.1.27/arch/score/include/asm/ |
H A D | pgtable.h | 34 #define PKMAP_BASE (0xfd000000UL) macro
|
/linux-4.1.27/arch/um/include/asm/ |
H A D | pgtable.h | 49 #define PKMAP_BASE ((FIXADDR_START - LAST_PKMAP * PAGE_SIZE) & PMD_MASK) macro
|
/linux-4.1.27/arch/tile/mm/ |
H A D | init.c | 645 vaddr = PKMAP_BASE; permanent_kmaps_init() 799 PKMAP_BASE, PKMAP_ADDR(LAST_PKMAP-1), FIXADDR_START); mem_init() 823 PKMAP_BASE, PKMAP_ADDR(LAST_PKMAP) - 1); mem_init()
|
/linux-4.1.27/drivers/staging/lustre/lnet/klnds/o2iblnd/ |
H A D | o2iblnd_cb.c | 538 if (vaddr >= PKMAP_BASE && kiblnd_kvaddr_to_page() 539 vaddr < (PKMAP_BASE + LAST_PKMAP * PAGE_SIZE)) { kiblnd_kvaddr_to_page()
|