/linux/arch/nds32/mm/ |
A D | mm-nds32.c | 23 for (i = 0; i < PTRS_PER_PGD; i++) { in pgd_alloc() 27 new_pgd -= PTRS_PER_PGD; in pgd_alloc() 32 (PTRS_PER_PGD - FIRST_KERNEL_PGD_NR) * sizeof(pgd_t)); in pgd_alloc() 36 PTRS_PER_PGD * sizeof(pgd_t)); in pgd_alloc()
|
A D | init.c | 23 extern pgd_t swapper_pg_dir[PTRS_PER_PGD]; 144 for (i = 0; i < PTRS_PER_PGD; i++) in paging_init()
|
/linux/arch/csky/mm/ |
A D | init.c | 34 ((PTRS_PER_PGD - USER_PTRS_PER_PGD) * PTRS_PER_PTE) 36 pgd_t swapper_pg_dir[PTRS_PER_PGD] __page_aligned_bss; 121 for (i = 0; i < PTRS_PER_PGD; i++) in pgd_init() 135 for (i = USER_PTRS_PER_PGD; i < PTRS_PER_PGD; i++) in mmu_init() 170 for ( ; (i < PTRS_PER_PGD) && (vaddr != end); pgd++, i++) { in fixrange_init()
|
/linux/arch/m68k/include/asm/ |
A D | pgtable_mm.h | 63 #define PTRS_PER_PGD 2048 macro 68 #define PTRS_PER_PGD 1024 macro 72 #define PTRS_PER_PGD 128 macro
|
A D | sun3_pgtable.h | 174 extern pgd_t swapper_pg_dir[PTRS_PER_PGD]; 175 extern pgd_t kernel_pg_dir[PTRS_PER_PGD];
|
/linux/arch/arm/mm/ |
A D | pgd.c | 20 #define __pgd_alloc() kmalloc_array(PTRS_PER_PGD, sizeof(pgd_t), GFP_KERNEL) 49 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc() 51 clean_dcache_area(new_pgd, PTRS_PER_PGD * sizeof(pgd_t)); in pgd_alloc() 188 for (pgd = pgd_base; pgd < pgd_base + PTRS_PER_PGD; pgd++) { in pgd_free()
|
/linux/arch/alpha/mm/ |
A D | init.c | 50 (PTRS_PER_PGD - USER_PTRS_PER_PGD - 1)*sizeof(pgd_t)); in pgd_alloc() 52 pgd_val(ret[PTRS_PER_PGD-2]) = pgd_val(init[PTRS_PER_PGD-2]); in pgd_alloc() 56 pgd_val(ret[PTRS_PER_PGD-1]) in pgd_alloc()
|
/linux/arch/x86/include/asm/ |
A D | pgtable_32.h | 69 #define PAGE_TABLE_SIZE(pages) (((pages) / PTRS_PER_PMD) + PTRS_PER_PGD) 71 #define PAGE_TABLE_SIZE(pages) ((pages) / PTRS_PER_PGD)
|
A D | pgtable_64_types.h | 56 #define PTRS_PER_PGD 512 macro 75 #define PTRS_PER_PGD 512 macro
|
A D | pgtable-2level_types.h | 30 #define PTRS_PER_PGD 1024 macro
|
/linux/arch/um/kernel/ |
A D | mem.c | 30 pgd_t swapper_pg_dir[PTRS_PER_PGD]; 108 for ( ; (i < PTRS_PER_PGD) && (vaddr < end); pgd++, i++) { in fixrange_init() 192 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
|
/linux/arch/sh/mm/ |
A D | pgtable.c | 17 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_ctor() 23 PTRS_PER_PGD * (1<<PTE_MAGNITUDE), in pgtable_cache_init()
|
/linux/arch/csky/include/asm/ |
A D | pgalloc.h | 52 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc() 57 (unsigned int)(ret + PTRS_PER_PGD)); in pgd_alloc()
|
/linux/arch/x86/mm/ |
A D | mem_encrypt_identity.c | 368 pgtable_area_len = sizeof(pgd_t) * PTRS_PER_PGD; in sme_encrypt_kernel() 415 memset(ppd.pgd, 0, sizeof(pgd_t) * PTRS_PER_PGD); in sme_encrypt_kernel() 416 ppd.pgtable_area += sizeof(pgd_t) * PTRS_PER_PGD; in sme_encrypt_kernel() 424 decrypted_base = (pgd_index(workarea_end) + 1) & (PTRS_PER_PGD - 1); in sme_encrypt_kernel() 428 check_base = (pgd_index(initrd_end) + 1) & (PTRS_PER_PGD - 1); in sme_encrypt_kernel()
|
/linux/arch/x86/platform/olpc/ |
A D | olpc_ofw.c | 32 base = early_ioremap(olpc_ofw_pgd, sizeof(olpc_ofw_pgd) * PTRS_PER_PGD); in setup_olpc_ofw_pgd() 44 early_iounmap(base, sizeof(olpc_ofw_pgd) * PTRS_PER_PGD); in setup_olpc_ofw_pgd()
|
/linux/arch/ia64/include/asm/ |
A D | pgtable.h | 129 #define PTRS_PER_PGD (1UL << PTRS_PER_PGD_SHIFT) macro 130 #define USER_PTRS_PER_PGD (5*PTRS_PER_PGD/8) /* regions 0-4 are user regions */ 357 unsigned long l1index = (address >> PGDIR_SHIFT) & ((PTRS_PER_PGD >> 3) - 1); in pgd_index() 370 (init_mm.pgd + (((addr) >> PGDIR_SHIFT) & (PTRS_PER_PGD - 1))) 431 extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
|
/linux/arch/um/include/asm/ |
A D | pgtable-3level.h | 37 #define PTRS_PER_PGD 512 macro 40 #define PTRS_PER_PGD 1024 macro
|
/linux/arch/arc/mm/ |
A D | init.c | 20 pgd_t swapper_pg_dir[PTRS_PER_PGD] __aligned(PAGE_SIZE); 193 BUILD_BUG_ON((PTRS_PER_PGD * sizeof(pgd_t)) > PAGE_SIZE); in mem_init()
|
/linux/arch/x86/power/ |
A D | hibernate_32.c | 93 for (; pgd_idx < PTRS_PER_PGD; pgd++, pgd_idx++) { in resume_physical_mapping_init() 139 for (i = 0; i < PTRS_PER_PGD; i++) in resume_init_first_level_page_table()
|
/linux/arch/microblaze/include/asm/ |
A D | pgtable.h | 99 #define PTRS_PER_PGD (1 << (32 - PGDIR_SHIFT)) macro 105 #define KERNEL_PGD_PTRS (PTRS_PER_PGD-USER_PGD_PTRS) 407 extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
|
/linux/arch/nds32/include/asm/ |
A D | pgtable.h | 19 #define PTRS_PER_PGD 1024 macro 25 #define PTRS_PER_PGD 256 macro 350 extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
|
/linux/arch/sh/include/asm/ |
A D | pgtable-2level.h | 21 #define PTRS_PER_PGD (PAGE_SIZE / (1 << PTE_MAGNITUDE)) macro
|
/linux/arch/s390/mm/ |
A D | init.c | 52 pgd_t swapper_pg_dir[PTRS_PER_PGD] __section(".bss..swapper_pg_dir"); 53 static pgd_t invalid_pg_dir[PTRS_PER_PGD] __section(".bss..invalid_pg_dir");
|
/linux/arch/x86/kernel/ |
A D | head64.c | 212 i = (physaddr >> PGDIR_SHIFT) % PTRS_PER_PGD; in __startup_64() 220 i = (physaddr >> PGDIR_SHIFT) % PTRS_PER_PGD; in __startup_64() 321 memset(early_top_pgt, 0, sizeof(pgd_t)*(PTRS_PER_PGD-1)); in reset_early_page_tables()
|
/linux/arch/mips/mm/ |
A D | pgtable.c | 20 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
|