Home
last modified time | relevance | path

Searched refs:PTRS_PER_PGD (Results 1 – 25 of 93) sorted by relevance

1234

/arch/arm/mm/
Dpgd.c23 #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()
/arch/m68k/include/asm/
Dpgtable_mm.h58 #define PTRS_PER_PGD 2048 macro
62 #define PTRS_PER_PGD 1024 macro
66 #define PTRS_PER_PGD 128 macro
/arch/sh/mm/
Dpgtable.c17 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_ctor()
23 PTRS_PER_PGD * (1<<PTE_MAGNITUDE), in pgtable_cache_init()
/arch/unicore32/mm/
Dpgd.c44 (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/tile/include/asm/
Dpgtable_32.h26 #define PTRS_PER_PGD (1 << (32 - PGDIR_SHIFT)) macro
27 #define SIZEOF_PGD (PTRS_PER_PGD * sizeof(pgd_t))
Dpgtable_64.h23 #define PTRS_PER_PGD HV_L0_ENTRIES macro
24 #define SIZEOF_PGD (PTRS_PER_PGD * sizeof(pgd_t))
/arch/x86/platform/olpc/
Dolpc_ofw.c28 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()
/arch/sh/include/asm/
Dpgtable-2level.h20 #define PTRS_PER_PGD (PAGE_SIZE / (1 << PTE_MAGNITUDE)) macro
Dpgtable-3level.h17 #define PTRS_PER_PGD 4 macro
/arch/x86/include/asm/
Dpgtable-2level_types.h27 #define PTRS_PER_PGD 1024 macro
Dpgtable-3level_types.h33 #define PTRS_PER_PGD 4 macro
Dpgtable_64_types.h27 #define PTRS_PER_PGD 512 macro
/arch/alpha/mm/
Dinit.c49 (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()
/arch/x86/power/
Dhibernate_32.c95 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()
/arch/frv/mm/
Dpgalloc.c21 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()
/arch/powerpc/include/asm/
Dpgtable-ppc64-64k.h20 #define PTRS_PER_PGD (1 << PGD_INDEX_SIZE) macro
/arch/parisc/kernel/
Dinit_task.c59 pgd_t swapper_pg_dir[PTRS_PER_PGD] __attribute__ ((__section__ (".data..vm0.pgd"), aligned(PAGE_SIZ…
/arch/parisc/include/asm/
Dpgalloc.h30 actual_pgd += PTRS_PER_PGD; in pgd_alloc()
49 pgd -= PTRS_PER_PGD; in pgd_free()
/arch/mips/include/asm/
Dpgtable-64.h110 #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))
/arch/um/include/asm/
Dpgtable-3level.h37 #define PTRS_PER_PGD 512 macro
40 #define PTRS_PER_PGD 1024 macro
Dpgtable-2level.h25 #define PTRS_PER_PGD 1024 macro
/arch/avr32/include/asm/
Dpgtable-2level.h17 #define PTRS_PER_PGD 1024 macro
/arch/cris/include/asm/
Dpgtable.h62 #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 */
/arch/frv/include/asm/
Dpgtable.h128 #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))
/arch/um/kernel/
Dmem.c32 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()

1234