/linux-3.4.99/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() 143 for (pgd = pgd_base; pgd < pgd_base + PTRS_PER_PGD; pgd++) { in pgd_free()
|
/linux-3.4.99/arch/m68k/include/asm/ |
D | pgtable_mm.h | 58 #define PTRS_PER_PGD 2048 macro 62 #define PTRS_PER_PGD 1024 macro 66 #define PTRS_PER_PGD 128 macro
|
/linux-3.4.99/arch/sh/mm/ |
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-3.4.99/arch/alpha/mm/ |
D | init.c | 49 (PTRS_PER_PGD - USER_PTRS_PER_PGD - 1)*sizeof(pgd_t)); in pgd_alloc() 51 pgd_val(ret[PTRS_PER_PGD-2]) = pgd_val(init[PTRS_PER_PGD-2]); in pgd_alloc() 55 pgd_val(ret[PTRS_PER_PGD-1]) in pgd_alloc()
|
/linux-3.4.99/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()
|
/linux-3.4.99/arch/tile/include/asm/ |
D | pgtable_32.h | 26 #define PTRS_PER_PGD (1 << (32 - PGDIR_SHIFT)) macro 27 #define SIZEOF_PGD (PTRS_PER_PGD * sizeof(pgd_t))
|
D | pgtable_64.h | 23 #define PTRS_PER_PGD HV_L0_ENTRIES macro 24 #define SIZEOF_PGD (PTRS_PER_PGD * sizeof(pgd_t))
|
/linux-3.4.99/arch/x86/platform/olpc/ |
D | olpc_ofw.c | 28 base = early_ioremap(olpc_ofw_pgd, sizeof(olpc_ofw_pgd) * PTRS_PER_PGD); in setup_olpc_ofw_pgd() 40 early_iounmap(base, sizeof(olpc_ofw_pgd) * PTRS_PER_PGD); in setup_olpc_ofw_pgd()
|
/linux-3.4.99/arch/mips/include/asm/ |
D | pgtable-64.h | 110 #define PTRS_PER_PGD ((PAGE_SIZE << PGD_ORDER) / sizeof(pgd_t)) macro 131 min(PTRS_PER_PGD * PTRS_PER_PMD * PTRS_PER_PTE * PAGE_SIZE, \ 230 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1))
|
/linux-3.4.99/arch/x86/power/ |
D | hibernate_32.c | 95 for (; pgd_idx < PTRS_PER_PGD; pgd++, pgd_idx++) { in resume_physical_mapping_init() 141 for (i = 0; i < PTRS_PER_PGD; i++) in resume_init_first_level_page_table()
|
/linux-3.4.99/arch/frv/mm/ |
D | pgalloc.c | 21 pgd_t swapper_pg_dir[PTRS_PER_PGD] __attribute__((aligned(PAGE_SIZE))); 114 (PTRS_PER_PGD - USER_PGDS_IN_LAST_PML4) * sizeof(pgd_t)); in pgd_ctor()
|
/linux-3.4.99/arch/parisc/include/asm/ |
D | pgalloc.h | 30 actual_pgd += PTRS_PER_PGD; in pgd_alloc() 49 pgd -= PTRS_PER_PGD; in pgd_free()
|
/linux-3.4.99/arch/frv/include/asm/ |
D | pgtable.h | 128 #define PTRS_PER_PGD 64 macro 150 #define KERNEL_PGD_PTRS (PTRS_PER_PGD - USER_PGD_PTRS) 154 #define BOOT_KERNEL_PGD_PTRS (PTRS_PER_PGD - BOOT_USER_PGD_PTRS) 158 extern pgd_t swapper_pg_dir[PTRS_PER_PGD]; 435 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD - 1))
|
/linux-3.4.99/arch/um/include/asm/ |
D | pgtable-3level.h | 37 #define PTRS_PER_PGD 512 macro 40 #define PTRS_PER_PGD 1024 macro
|
/linux-3.4.99/arch/cris/include/asm/ |
D | pgtable.h | 62 #define PTRS_PER_PGD (1UL << (PAGE_SHIFT-2)) macro 233 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1)) 265 extern pgd_t swapper_pg_dir[PTRS_PER_PGD]; /* defined in head.S */
|
/linux-3.4.99/arch/ia64/include/asm/ |
D | pgtable.h | 131 #define PTRS_PER_PGD (1UL << PTRS_PER_PGD_SHIFT) macro 132 #define USER_PTRS_PER_PGD (5*PTRS_PER_PGD/8) /* regions 0-4 are user regions */ 368 unsigned long l1index = (address >> PGDIR_SHIFT) & ((PTRS_PER_PGD >> 3) - 1); in pgd_index() 384 (init_mm.pgd + (((addr) >> PGDIR_SHIFT) & (PTRS_PER_PGD - 1))) 464 extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
|
/linux-3.4.99/arch/um/kernel/ |
D | mem.c | 32 pgd_t swapper_pg_dir[PTRS_PER_PGD]; 129 for ( ; (i < PTRS_PER_PGD) && (vaddr < end); pgd++, i++) { in fixrange_init() 279 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
|
/linux-3.4.99/arch/x86/include/asm/ |
D | pgtable-2level_types.h | 27 #define PTRS_PER_PGD 1024 macro
|
D | pgtable-3level_types.h | 33 #define PTRS_PER_PGD 4 macro
|
/linux-3.4.99/arch/sh/include/asm/ |
D | pgtable-2level.h | 20 #define PTRS_PER_PGD (PAGE_SIZE / (1 << PTE_MAGNITUDE)) macro
|
/linux-3.4.99/arch/mn10300/include/asm/ |
D | pgtable.h | 57 #define PTRS_PER_PGD 1024 macro 71 #define KERNEL_PGD_PTRS (PTRS_PER_PGD - USER_PGD_PTRS) 78 extern pgd_t swapper_pg_dir[PTRS_PER_PGD]; 428 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD - 1))
|
/linux-3.4.99/arch/score/include/asm/ |
D | pgtable.h | 26 #define PTRS_PER_PGD 1024 macro 76 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1)) 258 extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
|
/linux-3.4.99/arch/hexagon/include/asm/ |
D | pgtable.h | 93 #define PTRS_PER_PGD 1024 macro 178 extern pgd_t swapper_pg_dir[PTRS_PER_PGD]; /* located in head.S */ 248 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1))
|
/linux-3.4.99/arch/powerpc/include/asm/ |
D | pgtable-ppc64-64k.h | 20 #define PTRS_PER_PGD (1 << PGD_INDEX_SIZE) macro
|
/linux-3.4.99/arch/openrisc/mm/ |
D | init.c | 112 for (j = 0; p < e && j < PTRS_PER_PGD; in map_ram() 142 for (i = 0; i < PTRS_PER_PGD; i++) in paging_init()
|