| /linux/arch/arm/mm/ |
| H A D | pgd.c | 20 #define _pgd_alloc(mm) kmalloc_objs(pgd_t, PTRS_PER_PGD, 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/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()
|
| /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/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/x86/boot/startup/ |
| H A D | map_kernel.c | 158 i = (physaddr >> PGDIR_SHIFT) % PTRS_PER_PGD; in __startup_64() 166 i = (physaddr >> PGDIR_SHIFT) % PTRS_PER_PGD; in __startup_64()
|
| /linux/arch/loongarch/mm/ |
| H A D | pgtable.c | 34 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc() 55 end = p + PTRS_PER_PGD; in pgd_init()
|
| /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/m68k/include/asm/ |
| H A D | sun3_pgtable.h | 150 extern pgd_t swapper_pg_dir[PTRS_PER_PGD]; 151 extern pgd_t kernel_pg_dir[PTRS_PER_PGD];
|
| H A D | mcf_pgalloc.h | 94 memcpy(new_pgd, swapper_pg_dir, PTRS_PER_PGD * sizeof(pgd_t)); in pgd_alloc()
|
| /linux/arch/s390/mm/ |
| H A D | init.c | 55 pgd_t swapper_pg_dir[PTRS_PER_PGD] __section(".bss..swapper_pg_dir"); 56 pgd_t invalid_pg_dir[PTRS_PER_PGD] __section(".bss..invalid_pg_dir");
|
| /linux/arch/um/include/asm/ |
| H A D | pgtable-2level.h | 25 #define PTRS_PER_PGD 1024 macro
|
| H A D | pgtable-4level.h | 41 #define PTRS_PER_PGD 512 macro
|
| /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/hexagon/include/asm/ |
| H A D | pgalloc.h | 35 memcpy(pgd, swapper_pg_dir, PTRS_PER_PGD*sizeof(pgd_t)); in pgd_alloc()
|
| /linux/arch/powerpc/include/asm/nohash/64/ |
| H A D | pgtable-4k.h | 27 #define PTRS_PER_PGD (1 << PGD_INDEX_SIZE) macro
|
| /linux/arch/mips/mm/ |
| H A D | pgtable-64.c | 30 end = p + PTRS_PER_PGD; in pgd_init()
|
| H A D | init.c | 241 for ( ; (i < PTRS_PER_PGD) && (vaddr < end); pgd++, i++) { in fixrange_init() 550 pgd_t swapper_pg_dir[PTRS_PER_PGD] __section(".bss..swapper_pg_dir");
|
| /linux/arch/arm/include/asm/ |
| H A D | pgalloc.h | 24 #define PGD_SIZE (PTRS_PER_PGD * sizeof(pgd_t))
|
| H A D | proc-fns.h | 167 pg &= ~(PTRS_PER_PGD*sizeof(pgd_t)-1); \
|
| /linux/arch/x86/include/asm/ |
| H A D | pgtable_64_types.h | 51 #define PTRS_PER_PGD 512 macro
|
| /linux/arch/powerpc/include/asm/nohash/32/ |
| H A D | pgtable.h | 32 #define PTRS_PER_PGD (1 << PGD_INDEX_SIZE) macro
|
| /linux/arch/loongarch/include/asm/ |
| H A D | pgtable.h | 56 #define PTRS_PER_PGD (PAGE_SIZE >> PTRLOG) macro 112 …min(PTRS_PER_PGD * PTRS_PER_PUD * PTRS_PER_PMD * PTRS_PER_PTE * PAGE_SIZE, (1UL << cpu_vabits)) - … 116 …min(PTRS_PER_PGD * PTRS_PER_PUD * PTRS_PER_PMD * PTRS_PER_PTE * PAGE_SIZE, (1UL << cpu_vabits) / 2…
|
| /linux/arch/riscv/include/asm/ |
| H A D | pgalloc.h | 108 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in sync_kernel_mappings()
|