Home
last modified time | relevance | path

Searched refs:LAST_PKMAP (Results 1 – 25 of 31) sorted by relevance

12

/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dhighmem.h51 #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)
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Dhighmem.h44 #define LAST_PKMAP 1024 macro
45 #define PKMAP_SIZE (LAST_PKMAP << PAGE_SHIFT)
48 #define LAST_PKMAP_MASK (LAST_PKMAP - 1)
52 #define PKMAP_END (PKMAP_ADDR(LAST_PKMAP))
/kernel/linux/linux-5.10/arch/xtensa/include/asm/
Dhighmem.h22 (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()
/kernel/linux/linux-5.10/arch/microblaze/include/asm/
Dhighmem.h44 #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)
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dhighmem.h40 #define LAST_PKMAP 512 macro
42 #define LAST_PKMAP 1024 macro
45 #define LAST_PKMAP_MASK (LAST_PKMAP-1)
Dpgtable-32.h100 #define PKMAP_END ((FIXADDR_START) & ~((LAST_PKMAP << PAGE_SHIFT)-1))
101 #define PKMAP_BASE (PKMAP_END - PAGE_SIZE * LAST_PKMAP)
/kernel/linux/linux-5.10/arch/hexagon/include/asm/
Dmem-layout.h84 #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)
/kernel/linux/linux-5.10/mm/
Dhighmem.c92 return LAST_PKMAP; in get_pkmap_entries_count()
126 static int pkmap_count[LAST_PKMAP];
154 if (addr >= PKMAP_ADDR(0) && addr < PKMAP_ADDR(LAST_PKMAP)) { in kmap_to_page()
170 for (i = 0; i < LAST_PKMAP; i++) { in flush_all_zero_pkmaps()
200 flush_tlb_kernel_range(PKMAP_ADDR(0), PKMAP_ADDR(LAST_PKMAP)); in flush_all_zero_pkmaps()
387 static struct page_address_map page_address_maps[LAST_PKMAP];
/kernel/linux/linux-5.10/arch/x86/um/asm/
Darchparam.h13 #define LAST_PKMAP 512 macro
15 #define LAST_PKMAP 1024 macro
/kernel/linux/linux-5.10/arch/csky/include/asm/
Dhighmem.h28 #define LAST_PKMAP 1024 macro
29 #define LAST_PKMAP_MASK (LAST_PKMAP-1)
/kernel/linux/linux-5.10/arch/nds32/include/asm/
Dhighmem.h30 #define LAST_PKMAP PTRS_PER_PTE macro
31 #define LAST_PKMAP_MASK (LAST_PKMAP - 1)
/kernel/linux/linux-5.10/arch/arc/include/asm/
Dhighmem.h23 #define LAST_PKMAP (PKMAP_SIZE >> PAGE_SHIFT) macro
24 #define LAST_PKMAP_MASK (LAST_PKMAP - 1)
/kernel/linux/linux-5.10/arch/arm/include/asm/
Dhighmem.h8 #define LAST_PKMAP PTRS_PER_PTE macro
9 #define LAST_PKMAP_MASK (LAST_PKMAP - 1)
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dpgtable_32_areas.h22 #define LAST_PKMAP 512 macro
24 #define LAST_PKMAP 1024 macro
Dhighmem.h57 #define LAST_PKMAP_MASK (LAST_PKMAP-1)
/kernel/linux/linux-5.10/arch/nds32/mm/
Dinit.c209 PKMAP_BASE, PKMAP_BASE + LAST_PKMAP * PAGE_SIZE, in mem_init()
210 (LAST_PKMAP * PAGE_SIZE) >> 10, in mem_init()
231 BUILD_BUG_ON(PKMAP_BASE + LAST_PKMAP * PAGE_SIZE > FIXADDR_START); in mem_init()
238 BUG_ON(PKMAP_BASE + LAST_PKMAP * PAGE_SIZE > FIXADDR_START); in mem_init()
/kernel/linux/linux-5.10/arch/xtensa/mm/
Dinit.c148 PKMAP_BASE, PKMAP_BASE + LAST_PKMAP * PAGE_SIZE, in mem_init()
149 (LAST_PKMAP*PAGE_SIZE) >> 10, in mem_init()
Dmmu.c63 pkmap_page_table = init_pmd(PKMAP_BASE, LAST_PKMAP); in paging_init()
/kernel/linux/linux-5.10/arch/sparc/mm/
Dinit_32.c252 if (PKMAP_BASE+LAST_PKMAP*PAGE_SIZE >= FIXADDR_START) { in mem_init()
256 (unsigned long)PKMAP_BASE+LAST_PKMAP*PAGE_SIZE, in mem_init()
/kernel/linux/linux-5.10/arch/arc/mm/
Dhighmem.c115 BUILD_BUG_ON(LAST_PKMAP > PTRS_PER_PTE); in kmap_init()
/kernel/linux/linux-5.10/arch/mips/mm/
Dpgtable-32.c82 fixrange_init(vaddr & PMD_MASK, vaddr + PAGE_SIZE*LAST_PKMAP, pgd_base); in pagetable_init()
/kernel/linux/linux-5.10/arch/arm/mm/
Dhighmem.c94 } else if (vaddr >= PKMAP_ADDR(0) && vaddr < PKMAP_ADDR(LAST_PKMAP)) { in kunmap_atomic_high()
/kernel/linux/linux-5.10/arch/csky/mm/
Dhighmem.c91 fixrange_init(vaddr, vaddr + PAGE_SIZE*LAST_PKMAP, swapper_pg_dir); in kmap_pages_init()
/kernel/linux/linux-5.10/arch/sh/mm/
Dinit.c380 PKMAP_BASE, PKMAP_BASE+LAST_PKMAP*PAGE_SIZE, in mem_init()
381 (LAST_PKMAP*PAGE_SIZE) >> 10, in mem_init()
/kernel/linux/linux-5.10/arch/x86/mm/
Dinit_32.c415 page_table_range_init(vaddr, vaddr + PAGE_SIZE*LAST_PKMAP, pgd_base); in permanent_kmaps_init()
781 BUILD_BUG_ON(PKMAP_BASE + LAST_PKMAP*PAGE_SIZE > FIXADDR_START); in mem_init()
790 BUG_ON(PKMAP_BASE + LAST_PKMAP*PAGE_SIZE > FIXADDR_START); in mem_init()

12