/arch/m68k/include/asm/ |
D | pgtable_mm.h | 60 #define PTRS_PER_PGD 2048 macro 65 #define PTRS_PER_PGD 1024 macro 69 #define PTRS_PER_PGD 128 macro
|
/arch/arm/mm/ |
D | pgd.c | 23 #define __pgd_alloc() kmalloc(PTRS_PER_PGD * sizeof(pgd_t), GFP_KERNEL) 51 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc() 53 clean_dcache_area(new_pgd, PTRS_PER_PGD * sizeof(pgd_t)); in pgd_alloc() 157 for (pgd = pgd_base; pgd < pgd_base + PTRS_PER_PGD; pgd++) { in pgd_free()
|
/arch/x86/include/asm/ |
D | pgtable_32.h | 96 #define PAGE_TABLE_SIZE(pages) (((pages) / PTRS_PER_PMD) + PTRS_PER_PGD) 98 #define PAGE_TABLE_SIZE(pages) ((pages) / PTRS_PER_PGD)
|
D | pgtable_64_types.h | 33 #define PTRS_PER_PGD 512 macro 49 #define PTRS_PER_PGD 512 macro
|
D | pgtable-2level_types.h | 28 #define PTRS_PER_PGD 1024 macro
|
D | pgtable-3level_types.h | 33 #define PTRS_PER_PGD 4 macro
|
/arch/sh/mm/ |
D | pgtable.c | 18 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_ctor() 24 PTRS_PER_PGD * (1<<PTE_MAGNITUDE), in pgtable_cache_init()
|
/arch/alpha/mm/ |
D | init.c | 51 (PTRS_PER_PGD - USER_PTRS_PER_PGD - 1)*sizeof(pgd_t)); in pgd_alloc() 53 pgd_val(ret[PTRS_PER_PGD-2]) = pgd_val(init[PTRS_PER_PGD-2]); in pgd_alloc() 57 pgd_val(ret[PTRS_PER_PGD-1]) in pgd_alloc()
|
/arch/unicore32/mm/ |
D | pgd.c | 44 (PTRS_PER_PGD - FIRST_KERNEL_PGD_NR) * sizeof(pgd_t)); in get_pgd_slow() 46 clean_dcache_area(new_pgd, PTRS_PER_PGD * sizeof(pgd_t)); in get_pgd_slow()
|
/arch/x86/platform/olpc/ |
D | olpc_ofw.c | 31 base = early_ioremap(olpc_ofw_pgd, sizeof(olpc_ofw_pgd) * PTRS_PER_PGD); in setup_olpc_ofw_pgd() 43 early_iounmap(base, sizeof(olpc_ofw_pgd) * PTRS_PER_PGD); in setup_olpc_ofw_pgd()
|
/arch/arc/include/asm/ |
D | pgalloc.h | 52 return get_order(PTRS_PER_PGD * sizeof(pgd_t)); in __get_order_pgd() 68 (PTRS_PER_PGD - num - num2) * sizeof(pgd_t)); in pgd_alloc()
|
/arch/sh/include/asm/ |
D | pgtable-2level.h | 22 #define PTRS_PER_PGD (PAGE_SIZE / (1 << PTE_MAGNITUDE)) macro
|
/arch/metag/include/asm/ |
D | pgtable.h | 49 #define PTRS_PER_PGD 512 macro 183 & (PTRS_PER_PGD-1)) 185 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1)) 244 extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
|
/arch/um/include/asm/ |
D | pgtable-3level.h | 38 #define PTRS_PER_PGD 512 macro 41 #define PTRS_PER_PGD 1024 macro
|
D | pgtable-2level.h | 26 #define PTRS_PER_PGD 1024 macro
|
/arch/frv/mm/ |
D | pgalloc.c | 21 pgd_t swapper_pg_dir[PTRS_PER_PGD] __attribute__((aligned(PAGE_SIZE))); 118 (PTRS_PER_PGD - USER_PGDS_IN_LAST_PML4) * sizeof(pgd_t)); in pgd_ctor()
|
/arch/um/kernel/ |
D | mem.c | 32 pgd_t swapper_pg_dir[PTRS_PER_PGD]; 101 for ( ; (i < PTRS_PER_PGD) && (vaddr < end); pgd++, i++) { in fixrange_init() 193 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
|
/arch/mips/mm/ |
D | pgtable.c | 20 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
|
/arch/parisc/include/asm/ |
D | pgalloc.h | 31 actual_pgd += PTRS_PER_PGD; in pgd_alloc() 50 pgd -= PTRS_PER_PGD; in pgd_free()
|
/arch/x86/power/ |
D | hibernate_32.c | 96 for (; pgd_idx < PTRS_PER_PGD; pgd++, pgd_idx++) { in resume_physical_mapping_init() 142 for (i = 0; i < PTRS_PER_PGD; i++) in resume_init_first_level_page_table()
|
/arch/frv/include/asm/ |
D | pgtable.h | 125 #define PTRS_PER_PGD 64 macro 149 #define KERNEL_PGD_PTRS (PTRS_PER_PGD - USER_PGD_PTRS) 153 #define BOOT_KERNEL_PGD_PTRS (PTRS_PER_PGD - BOOT_USER_PGD_PTRS) 157 extern pgd_t swapper_pg_dir[PTRS_PER_PGD]; 433 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD - 1))
|
/arch/powerpc/include/asm/nohash/64/ |
D | pgtable-64k.h | 34 #define PTRS_PER_PGD (1 << PGD_INDEX_SIZE) macro
|
/arch/nios2/include/asm/ |
D | pgtable.h | 77 #define PTRS_PER_PGD ((PAGE_SIZE << PGD_ORDER) / sizeof(pgd_t)) macro 94 extern pgd_t swapper_pg_dir[PTRS_PER_PGD]; 107 #define pgd_index(addr) (((addr) >> PGDIR_SHIFT) & (PTRS_PER_PGD - 1))
|
/arch/cris/include/asm/ |
D | pgtable.h | 64 #define PTRS_PER_PGD (1UL << (PAGE_SHIFT-2)) macro 234 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1)) 263 extern pgd_t swapper_pg_dir[PTRS_PER_PGD]; /* defined in head.S */
|
/arch/nios2/mm/ |
D | pgtable.c | 63 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
|