/linux-6.3-rc2/arch/sparc/include/asm/ |
A D | highmem.h | 41 #define LAST_PKMAP 1024 macro 42 #define PKMAP_SIZE (LAST_PKMAP << PAGE_SHIFT) 45 #define LAST_PKMAP_MASK (LAST_PKMAP - 1) 49 #define PKMAP_END (PKMAP_ADDR(LAST_PKMAP))
|
/linux-6.3-rc2/arch/powerpc/include/asm/ |
A D | highmem.h | 49 #define LAST_PKMAP (1 << PKMAP_ORDER) macro 51 #define PKMAP_BASE (FIXADDR_START - PAGE_SIZE*(LAST_PKMAP + 1)) 53 #define PKMAP_BASE ((FIXADDR_START - PAGE_SIZE*(LAST_PKMAP + 1)) & PMD_MASK) 55 #define LAST_PKMAP_MASK (LAST_PKMAP-1)
|
/linux-6.3-rc2/arch/xtensa/include/asm/ |
A 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-6.3-rc2/arch/microblaze/include/asm/ |
A D | highmem.h | 43 #define LAST_PKMAP (1 << PKMAP_ORDER) macro 45 #define PKMAP_BASE ((FIXADDR_START - PAGE_SIZE * (LAST_PKMAP + 1)) \ 48 #define LAST_PKMAP_MASK (LAST_PKMAP - 1)
|
/linux-6.3-rc2/arch/mips/include/asm/ |
A D | highmem.h | 40 #define LAST_PKMAP 512 macro 42 #define LAST_PKMAP 1024 macro 45 #define LAST_PKMAP_MASK (LAST_PKMAP-1)
|
A D | pgtable-32.h | 98 #define PKMAP_END ((FIXADDR_START) & ~((LAST_PKMAP << PAGE_SHIFT)-1)) 99 #define PKMAP_BASE (PKMAP_END - PAGE_SIZE * LAST_PKMAP)
|
/linux-6.3-rc2/arch/hexagon/include/asm/ |
A D | mem-layout.h | 84 #define LAST_PKMAP PTRS_PER_PTE macro 85 #define LAST_PKMAP_MASK (LAST_PKMAP - 1) 97 #define PKMAP_BASE (FIXADDR_START-PAGE_SIZE*LAST_PKMAP)
|
/linux-6.3-rc2/arch/x86/um/asm/ |
A D | archparam.h | 13 #define LAST_PKMAP 512 macro 15 #define LAST_PKMAP 1024 macro
|
/linux-6.3-rc2/arch/csky/include/asm/ |
A D | highmem.h | 27 #define LAST_PKMAP 1024 macro 28 #define LAST_PKMAP_MASK (LAST_PKMAP-1)
|
/linux-6.3-rc2/arch/x86/include/asm/ |
A D | pgtable_32_areas.h | 22 #define LAST_PKMAP 512 macro 24 #define LAST_PKMAP 1024 macro
|
A D | highmem.h | 57 #define LAST_PKMAP_MASK (LAST_PKMAP-1)
|
/linux-6.3-rc2/arch/arc/include/asm/ |
A D | highmem.h | 35 #define LAST_PKMAP (PKMAP_SIZE >> PAGE_SHIFT) macro 36 #define LAST_PKMAP_MASK (LAST_PKMAP - 1)
|
/linux-6.3-rc2/arch/arm/include/asm/ |
A D | highmem.h | 9 #define LAST_PKMAP PTRS_PER_PTE macro 10 #define LAST_PKMAP_MASK (LAST_PKMAP - 1)
|
/linux-6.3-rc2/mm/ |
A D | highmem.c | 98 return LAST_PKMAP; in get_pkmap_entries_count() 130 static int pkmap_count[LAST_PKMAP]; 163 addr < PKMAP_ADDR(LAST_PKMAP))) in __kmap_to_page() 192 for (i = 0; i < LAST_PKMAP; i++) { in flush_all_zero_pkmaps() 222 flush_tlb_kernel_range(PKMAP_ADDR(0), PKMAP_ADDR(LAST_PKMAP)); in flush_all_zero_pkmaps() 513 if (vaddr >= PKMAP_ADDR(0) && vaddr < PKMAP_ADDR(LAST_PKMAP)) { in kmap_high_unmap_local() 719 static struct page_address_map page_address_maps[LAST_PKMAP];
|
/linux-6.3-rc2/arch/xtensa/mm/ |
A D | init.c | 147 PKMAP_BASE, PKMAP_BASE + LAST_PKMAP * PAGE_SIZE, in mem_init() 148 (LAST_PKMAP*PAGE_SIZE) >> 10, in mem_init()
|
A D | mmu.c | 66 pkmap_page_table = init_pmd(PKMAP_BASE, LAST_PKMAP); in paging_init()
|
/linux-6.3-rc2/arch/csky/mm/ |
A D | highmem.c | 29 fixrange_init(vaddr, vaddr + PAGE_SIZE*LAST_PKMAP, swapper_pg_dir); in kmap_init()
|
/linux-6.3-rc2/arch/arc/mm/ |
A D | highmem.c | 68 BUILD_BUG_ON(LAST_PKMAP > PTRS_PER_PTE); in kmap_init()
|
/linux-6.3-rc2/arch/sparc/mm/ |
A 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-6.3-rc2/arch/mips/mm/ |
A D | pgtable-32.c | 80 fixrange_init(vaddr & PMD_MASK, vaddr + PAGE_SIZE*LAST_PKMAP, pgd_base); in pagetable_init()
|
/linux-6.3-rc2/arch/arm/mm/ |
A D | init.c | 299 BUILD_BUG_ON(PKMAP_BASE + LAST_PKMAP * PAGE_SIZE > PAGE_OFFSET); in mem_init() 300 BUG_ON(PKMAP_BASE + LAST_PKMAP * PAGE_SIZE > PAGE_OFFSET); in mem_init()
|
/linux-6.3-rc2/arch/x86/mm/ |
A D | init_32.c | 398 page_table_range_init(vaddr, vaddr + PAGE_SIZE*LAST_PKMAP, pgd_base); in permanent_kmaps_init() 760 BUILD_BUG_ON(PKMAP_BASE + LAST_PKMAP*PAGE_SIZE > FIXADDR_START); in mem_init() 769 BUG_ON(PKMAP_BASE + LAST_PKMAP*PAGE_SIZE > FIXADDR_START); in mem_init()
|
/linux-6.3-rc2/include/linux/ |
A D | highmem-internal.h | 156 return (addr >= PKMAP_ADDR(0) && addr < PKMAP_ADDR(LAST_PKMAP)) || in is_kmap_addr()
|
/linux-6.3-rc2/arch/powerpc/mm/ |
A D | mem.c | 329 PKMAP_BASE, PKMAP_ADDR(LAST_PKMAP)); in mem_init()
|
/linux-6.3-rc2/arch/um/include/asm/ |
A D | pgtable.h | 50 #define PKMAP_BASE ((FIXADDR_START - LAST_PKMAP * PAGE_SIZE) & PMD_MASK)
|