| /Linux-v4.19/arch/sparc/include/asm/ |
| D | highmem.h | 43 #define LAST_PKMAP 1024 macro 44 #define PKMAP_SIZE (LAST_PKMAP << PAGE_SHIFT) 47 #define LAST_PKMAP_MASK (LAST_PKMAP - 1) 51 #define PKMAP_END (PKMAP_ADDR(LAST_PKMAP))
|
| /Linux-v4.19/arch/powerpc/include/asm/ |
| D | highmem.h | 52 #define LAST_PKMAP (1 << PKMAP_ORDER) macro 54 #define PKMAP_BASE (FIXADDR_START - PAGE_SIZE*(LAST_PKMAP + 1)) 56 #define PKMAP_BASE ((FIXADDR_START - PAGE_SIZE*(LAST_PKMAP + 1)) & PMD_MASK) 58 #define LAST_PKMAP_MASK (LAST_PKMAP-1)
|
| /Linux-v4.19/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-v4.19/arch/mips/include/asm/ |
| D | highmem.h | 40 #define LAST_PKMAP 512 macro 42 #define LAST_PKMAP 1024 macro 45 #define LAST_PKMAP_MASK (LAST_PKMAP-1)
|
| D | pgtable-32.h | 69 #define PKMAP_END ((FIXADDR_START) & ~((LAST_PKMAP << PAGE_SHIFT)-1)) 70 #define PKMAP_BASE (PKMAP_END - PAGE_SIZE * LAST_PKMAP)
|
| /Linux-v4.19/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-v4.19/arch/microblaze/include/asm/ |
| D | highmem.h | 45 #define LAST_PKMAP (1 << PKMAP_ORDER) macro 47 #define PKMAP_BASE ((FIXADDR_START - PAGE_SIZE * (LAST_PKMAP + 1)) \ 50 #define LAST_PKMAP_MASK (LAST_PKMAP - 1)
|
| /Linux-v4.19/arch/x86/um/asm/ |
| D | archparam.h | 13 #define LAST_PKMAP 512 macro 15 #define LAST_PKMAP 1024 macro
|
| /Linux-v4.19/mm/ |
| D | highmem.c | 92 return LAST_PKMAP; in get_pkmap_entries_count() 127 static int pkmap_count[LAST_PKMAP]; 155 if (addr >= PKMAP_ADDR(0) && addr < PKMAP_ADDR(LAST_PKMAP)) { in kmap_to_page() 171 for (i = 0; i < LAST_PKMAP; i++) { in flush_all_zero_pkmaps() 201 flush_tlb_kernel_range(PKMAP_ADDR(0), PKMAP_ADDR(LAST_PKMAP)); in flush_all_zero_pkmaps() 388 static struct page_address_map page_address_maps[LAST_PKMAP];
|
| /Linux-v4.19/arch/nds32/include/asm/ |
| D | highmem.h | 31 #define LAST_PKMAP PTRS_PER_PTE macro 32 #define LAST_PKMAP_MASK (LAST_PKMAP - 1)
|
| /Linux-v4.19/arch/x86/include/asm/ |
| D | pgtable_32_types.h | 38 #define LAST_PKMAP 512 macro 40 #define LAST_PKMAP 1024 macro
|
| D | highmem.h | 57 #define LAST_PKMAP_MASK (LAST_PKMAP-1)
|
| /Linux-v4.19/arch/arc/include/asm/ |
| D | highmem.h | 27 #define LAST_PKMAP (PKMAP_SIZE >> PAGE_SHIFT) macro 28 #define LAST_PKMAP_MASK (LAST_PKMAP - 1)
|
| /Linux-v4.19/arch/arm/include/asm/ |
| D | highmem.h | 8 #define LAST_PKMAP PTRS_PER_PTE macro 9 #define LAST_PKMAP_MASK (LAST_PKMAP - 1)
|
| /Linux-v4.19/arch/nds32/mm/ |
| D | init.c | 211 PKMAP_BASE, PKMAP_BASE + LAST_PKMAP * PAGE_SIZE, in mem_init() 212 (LAST_PKMAP * PAGE_SIZE) >> 10, in mem_init() 233 BUILD_BUG_ON(PKMAP_BASE + LAST_PKMAP * PAGE_SIZE > FIXADDR_START); in mem_init() 240 BUG_ON(PKMAP_BASE + LAST_PKMAP * PAGE_SIZE > FIXADDR_START); in mem_init()
|
| /Linux-v4.19/arch/xtensa/mm/ |
| D | init.c | 183 PKMAP_BASE, PKMAP_BASE + LAST_PKMAP * PAGE_SIZE, in mem_init() 184 (LAST_PKMAP*PAGE_SIZE) >> 10, in mem_init()
|
| D | mmu.c | 61 pkmap_page_table = init_pmd(PKMAP_BASE, LAST_PKMAP); in paging_init()
|
| /Linux-v4.19/arch/x86/mm/ |
| D | init_32.c | 424 page_table_range_init(vaddr, vaddr + PAGE_SIZE*LAST_PKMAP, pgd_base); in permanent_kmaps_init() 809 PKMAP_BASE, PKMAP_BASE+LAST_PKMAP*PAGE_SIZE, in mem_init() 810 (LAST_PKMAP*PAGE_SIZE) >> 10, in mem_init() 835 BUILD_BUG_ON(PKMAP_BASE + LAST_PKMAP*PAGE_SIZE > FIXADDR_START); in mem_init() 844 BUG_ON(PKMAP_BASE + LAST_PKMAP*PAGE_SIZE > FIXADDR_START); in mem_init()
|
| /Linux-v4.19/arch/sparc/mm/ |
| D | init_32.c | 251 if (PKMAP_BASE+LAST_PKMAP*PAGE_SIZE >= FIXADDR_START) { in mem_init() 255 (unsigned long)PKMAP_BASE+LAST_PKMAP*PAGE_SIZE, in mem_init()
|
| /Linux-v4.19/arch/mips/mm/ |
| D | pgtable-32.c | 62 fixrange_init(vaddr & PMD_MASK, vaddr + PAGE_SIZE*LAST_PKMAP, pgd_base); in pagetable_init()
|
| /Linux-v4.19/arch/arc/mm/ |
| D | highmem.c | 139 BUILD_BUG_ON(LAST_PKMAP > PTRS_PER_PTE); in kmap_init()
|
| /Linux-v4.19/arch/arm/mm/ |
| D | init.c | 555 MLM(PKMAP_BASE, (PKMAP_BASE) + (LAST_PKMAP) * in mem_init() 581 BUILD_BUG_ON(PKMAP_BASE + LAST_PKMAP * PAGE_SIZE > PAGE_OFFSET); in mem_init() 582 BUG_ON(PKMAP_BASE + LAST_PKMAP * PAGE_SIZE > PAGE_OFFSET); in mem_init()
|
| D | highmem.c | 120 } else if (vaddr >= PKMAP_ADDR(0) && vaddr < PKMAP_ADDR(LAST_PKMAP)) { in __kunmap_atomic()
|
| /Linux-v4.19/arch/sh/mm/ |
| D | init.c | 382 PKMAP_BASE, PKMAP_BASE+LAST_PKMAP*PAGE_SIZE, in mem_init() 383 (LAST_PKMAP*PAGE_SIZE) >> 10, in mem_init()
|
| /Linux-v4.19/arch/microblaze/mm/ |
| D | init.c | 218 PKMAP_BASE, PKMAP_ADDR(LAST_PKMAP)); in mem_init()
|