/linux-4.1.27/arch/sparc/include/asm/ |
D | highmem.h | 42 #define LAST_PKMAP 1024 macro 43 #define PKMAP_SIZE (LAST_PKMAP << PAGE_SHIFT) 46 #define LAST_PKMAP_MASK (LAST_PKMAP - 1) 50 #define PKMAP_END (PKMAP_ADDR(LAST_PKMAP))
|
/linux-4.1.27/arch/xtensa/include/asm/ |
D | highmem.h | 22 (LAST_PKMAP + 1) * PAGE_SIZE) & PMD_MASK) 23 #define LAST_PKMAP (PTRS_PER_PTE * DCACHE_N_COLORS) macro 24 #define LAST_PKMAP_MASK (LAST_PKMAP - 1) 53 return LAST_PKMAP / DCACHE_N_COLORS; in get_pkmap_entries_count()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | highmem.h | 51 #define LAST_PKMAP (1 << PKMAP_ORDER) macro 53 #define PKMAP_BASE (FIXADDR_START - PAGE_SIZE*(LAST_PKMAP + 1)) 55 #define PKMAP_BASE ((FIXADDR_START - PAGE_SIZE*(LAST_PKMAP + 1)) & PMD_MASK) 57 #define LAST_PKMAP_MASK (LAST_PKMAP-1)
|
/linux-4.1.27/arch/x86/include/asm/ |
D | pgtable_32_types.h | 35 #define LAST_PKMAP 512 macro 37 #define LAST_PKMAP 1024 macro 40 #define PKMAP_BASE ((FIXADDR_START - PAGE_SIZE * (LAST_PKMAP + 1)) \
|
D | highmem.h | 56 #define LAST_PKMAP_MASK (LAST_PKMAP-1)
|
/linux-4.1.27/arch/hexagon/include/asm/ |
D | mem-layout.h | 97 #define LAST_PKMAP PTRS_PER_PTE macro 98 #define LAST_PKMAP_MASK (LAST_PKMAP - 1) 110 #define PKMAP_BASE (FIXADDR_START-PAGE_SIZE*LAST_PKMAP)
|
/linux-4.1.27/arch/microblaze/include/asm/ |
D | highmem.h | 44 #define LAST_PKMAP (1 << PKMAP_ORDER) macro 46 #define PKMAP_BASE ((FIXADDR_START - PAGE_SIZE * (LAST_PKMAP + 1)) \ 49 #define LAST_PKMAP_MASK (LAST_PKMAP - 1)
|
/linux-4.1.27/arch/x86/um/asm/ |
D | archparam.h | 13 #define LAST_PKMAP 512 macro 15 #define LAST_PKMAP 1024 macro
|
/linux-4.1.27/mm/ |
D | highmem.c | 91 return LAST_PKMAP; in get_pkmap_entries_count() 130 static int pkmap_count[LAST_PKMAP]; 158 if (addr >= PKMAP_ADDR(0) && addr < PKMAP_ADDR(LAST_PKMAP)) { in kmap_to_page() 174 for (i = 0; i < LAST_PKMAP; i++) { in flush_all_zero_pkmaps() 204 flush_tlb_kernel_range(PKMAP_ADDR(0), PKMAP_ADDR(LAST_PKMAP)); in flush_all_zero_pkmaps() 391 static struct page_address_map page_address_maps[LAST_PKMAP];
|
/linux-4.1.27/arch/mips/include/asm/ |
D | highmem.h | 39 #define LAST_PKMAP 1024 macro 40 #define LAST_PKMAP_MASK (LAST_PKMAP-1)
|
/linux-4.1.27/arch/metag/include/asm/ |
D | highmem.h | 27 #define LAST_PKMAP PTRS_PER_PTE macro 28 #define LAST_PKMAP_MASK (LAST_PKMAP - 1)
|
/linux-4.1.27/arch/arm/include/asm/ |
D | highmem.h | 7 #define LAST_PKMAP PTRS_PER_PTE macro 8 #define LAST_PKMAP_MASK (LAST_PKMAP - 1)
|
/linux-4.1.27/arch/tile/include/asm/ |
D | pgtable_32.h | 53 #define LAST_PKMAP PTRS_PER_PTE macro 55 #define PKMAP_BASE ((FIXADDR_BOOT_START - PAGE_SIZE*LAST_PKMAP) & PGDIR_MASK)
|
D | highmem.h | 49 #define LAST_PKMAP_MASK (LAST_PKMAP-1)
|
/linux-4.1.27/arch/mn10300/include/asm/ |
D | highmem.h | 41 #define LAST_PKMAP 1024 macro 42 #define LAST_PKMAP_MASK (LAST_PKMAP - 1)
|
/linux-4.1.27/arch/frv/include/asm/ |
D | highmem.h | 54 #define LAST_PKMAP PTRS_PER_PTE macro 55 #define LAST_PKMAP_MASK (LAST_PKMAP - 1)
|
/linux-4.1.27/arch/x86/mm/ |
D | init_32.c | 422 page_table_range_init(vaddr, vaddr + PAGE_SIZE*LAST_PKMAP, pgd_base); in permanent_kmaps_init() 777 PKMAP_BASE, PKMAP_BASE+LAST_PKMAP*PAGE_SIZE, in mem_init() 778 (LAST_PKMAP*PAGE_SIZE) >> 10, in mem_init() 803 BUILD_BUG_ON(PKMAP_BASE + LAST_PKMAP*PAGE_SIZE > FIXADDR_START); in mem_init() 815 BUG_ON(PKMAP_BASE + LAST_PKMAP*PAGE_SIZE > FIXADDR_START); in mem_init()
|
/linux-4.1.27/arch/mips/mm/ |
D | pgtable-32.c | 62 fixrange_init(vaddr, vaddr + PAGE_SIZE*LAST_PKMAP, pgd_base); in pagetable_init()
|
/linux-4.1.27/arch/xtensa/mm/ |
D | mmu.c | 61 pkmap_page_table = init_pmd(PKMAP_BASE, LAST_PKMAP); in paging_init()
|
D | init.c | 351 PKMAP_BASE, PKMAP_BASE + LAST_PKMAP * PAGE_SIZE, in mem_init() 352 (LAST_PKMAP*PAGE_SIZE) >> 10, in mem_init()
|
/linux-4.1.27/arch/tile/mm/ |
D | init.c | 646 page_table_range_init(vaddr, vaddr + PAGE_SIZE*LAST_PKMAP, pgd_base); in permanent_kmaps_init() 796 if (PKMAP_ADDR(LAST_PKMAP-1) >= FIXADDR_START) { in mem_init() 799 PKMAP_BASE, PKMAP_ADDR(LAST_PKMAP-1), FIXADDR_START); in mem_init() 823 PKMAP_BASE, PKMAP_ADDR(LAST_PKMAP) - 1); in mem_init()
|
/linux-4.1.27/arch/sparc/mm/ |
D | init_32.c | 292 if (PKMAP_BASE+LAST_PKMAP*PAGE_SIZE >= FIXADDR_START) { in mem_init() 296 (unsigned long)PKMAP_BASE+LAST_PKMAP*PAGE_SIZE, in mem_init()
|
/linux-4.1.27/arch/arm/mm/ |
D | init.c | 529 MLM(PKMAP_BASE, (PKMAP_BASE) + (LAST_PKMAP) * in mem_init() 555 BUILD_BUG_ON(PKMAP_BASE + LAST_PKMAP * PAGE_SIZE > PAGE_OFFSET); in mem_init() 556 BUG_ON(PKMAP_BASE + LAST_PKMAP * PAGE_SIZE > PAGE_OFFSET); in mem_init()
|
D | highmem.c | 119 } else if (vaddr >= PKMAP_ADDR(0) && vaddr < PKMAP_ADDR(LAST_PKMAP)) { in __kunmap_atomic()
|
/linux-4.1.27/arch/sh/mm/ |
D | init.c | 448 PKMAP_BASE, PKMAP_BASE+LAST_PKMAP*PAGE_SIZE, in mem_init() 449 (LAST_PKMAP*PAGE_SIZE) >> 10, in mem_init()
|
/linux-4.1.27/arch/microblaze/mm/ |
D | init.c | 256 PKMAP_BASE, PKMAP_ADDR(LAST_PKMAP)); in mem_init()
|
/linux-4.1.27/arch/metag/mm/ |
D | init.c | 311 allocate_pgtables(vaddr, vaddr + PAGE_SIZE*LAST_PKMAP); in fixedrange_init()
|
/linux-4.1.27/arch/um/include/asm/ |
D | pgtable.h | 49 #define PKMAP_BASE ((FIXADDR_START - LAST_PKMAP * PAGE_SIZE) & PMD_MASK)
|
/linux-4.1.27/arch/powerpc/mm/ |
D | mem.c | 368 PKMAP_BASE, PKMAP_ADDR(LAST_PKMAP)); in mem_init()
|
/linux-4.1.27/Documentation/ |
D | cachetlb.txt | 213 PKMAP_ADDR(LAST_PKMAP).
|
/linux-4.1.27/drivers/staging/lustre/lnet/klnds/o2iblnd/ |
D | o2iblnd_cb.c | 539 vaddr < (PKMAP_BASE + LAST_PKMAP * PAGE_SIZE)) { in kiblnd_kvaddr_to_page()
|