/linux/arch/csky/mm/ |
H 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/arm/mm/ |
H A D | pgd.c | 20 #define _pgd_alloc(mm) kmalloc_array(PTRS_PER_PGD, sizeof(pgd_t), GFP_KERNEL | __GFP_ZERO) 47 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc() 49 clean_dcache_area(new_pgd, PTRS_PER_PGD * sizeof(pgd_t)); in pgd_alloc() 186 for (pgd = pgd_base; pgd < pgd_base + PTRS_PER_PGD; pgd++) { in pgd_free()
|
/linux/arch/m68k/include/asm/ |
H A D | pgtable_mm.h | 61 #define PTRS_PER_PGD 2048 macro 66 #define PTRS_PER_PGD 1024 macro 70 #define PTRS_PER_PGD 128 macro
|
H A D | sun3_pgtable.h | 156 extern pgd_t swapper_pg_dir[PTRS_PER_PGD]; 157 extern pgd_t kernel_pg_dir[PTRS_PER_PGD];
|
/linux/arch/x86/include/asm/ |
H A D | pgtable_32.h | 60 #define PAGE_TABLE_SIZE(pages) (((pages) / PTRS_PER_PMD) + PTRS_PER_PGD) 62 #define PAGE_TABLE_SIZE(pages) ((pages) / PTRS_PER_PGD)
|
H A D | pgtable-2level_types.h | 30 #define PTRS_PER_PGD 1024 macro
|
H A D | pgtable-3level_types.h | 38 #define PTRS_PER_PGD 4 macro
|
/linux/arch/alpha/mm/ |
H 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/sh/mm/ |
H A D | pgtable.c | 19 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_ctor() 25 PTRS_PER_PGD * (1<<PTE_MAGNITUDE), in pgtable_cache_init()
|
/linux/arch/csky/include/asm/ |
H 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()
|
H A D | pgtable.h | 22 #define PTRS_PER_PGD (PAGE_SIZE / sizeof(pgd_t)) macro 263 extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
|
/linux/arch/x86/platform/olpc/ |
H 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/arc/mm/ |
H A D | init.c | 21 pgd_t swapper_pg_dir[PTRS_PER_PGD] __aligned(PAGE_SIZE); 189 BUILD_BUG_ON((PTRS_PER_PGD * sizeof(pgd_t)) > PAGE_SIZE); in mem_init()
|
/linux/arch/x86/power/ |
H 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/loongarch/mm/ |
H A D | pgtable.c | 33 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc() 54 end = p + PTRS_PER_PGD; in pgd_init()
|
/linux/arch/microblaze/include/asm/ |
H 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) 390 extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
|
/linux/arch/sh/include/asm/ |
H A D | pgtable-2level.h | 21 #define PTRS_PER_PGD (PAGE_SIZE / (1 << PTE_MAGNITUDE)) macro
|
H A D | pgtable-3level.h | 18 #define PTRS_PER_PGD 4 macro
|
/linux/arch/mips/mm/ |
H A D | pgtable.c | 20 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
|
/linux/arch/hexagon/include/asm/ |
H A D | pgtable.h | 74 #define PTRS_PER_PGD 1024 macro 132 extern pgd_t swapper_pg_dir[PTRS_PER_PGD]; /* located in head.S */
|
/linux/arch/nios2/include/asm/ |
H A D | pgtable.h | 58 #define PTRS_PER_PGD (PAGE_SIZE / sizeof(pgd_t)) macro 75 extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
|
/linux/arch/um/include/asm/ |
H A D | pgtable-2level.h | 25 #define PTRS_PER_PGD 1024 macro
|
/linux/arch/nios2/mm/ |
H A D | pgtable.c | 63 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
|
/linux/arch/openrisc/include/asm/ |
H A D | pgalloc.h | 49 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
|
/linux/arch/m68k/mm/ |
H A D | init.c | 98 for (i = 0; i < PTRS_PER_PGD; i++) { in init_pointer_tables()
|