Home
last modified time | relevance | path

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

1234

/linux/arch/csky/mm/
H A Dinit.c34 ((PTRS_PER_PGD - USER_PTRS_PER_PGD) * PTRS_PER_PTE)
36 pgd_t swapper_pg_dir[PTRS_PER_PGD] __page_aligned_bss;
54 for (i = 0; i < PTRS_PER_PGD; i++) in pgd_init()
68 for (i = USER_PTRS_PER_PGD; i < PTRS_PER_PGD; i++) in mmu_init()
103 for ( ; (i < PTRS_PER_PGD) && (vaddr != end); pgd++, i++) { in fixrange_init()
/linux/arch/m68k/include/asm/
H A Dpgtable_mm.h61 #define PTRS_PER_PGD 2048 macro
66 #define PTRS_PER_PGD 1024 macro
70 #define PTRS_PER_PGD 128 macro
H A Dsun3_pgtable.h150 extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
151 extern pgd_t kernel_pg_dir[PTRS_PER_PGD];
/linux/arch/arm/mm/
H A Dpgd.c20 #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/x86/include/asm/
H A Dpgtable_32.h56 * With PAE paging (PTRS_PER_PMD > 1), we allocate PTRS_PER_PGD == 4 pages for
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 Dpgtable-2level_types.h28 #define PTRS_PER_PGD 1024 macro
H A Dpgtable-3level_types.h36 #define PTRS_PER_PGD 4 macro
/linux/arch/sh/mm/
H A Dpgtable.c19 (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 Dpgalloc.h52 (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 Dpgtable.h22 #define PTRS_PER_PGD (PAGE_SIZE / sizeof(pgd_t)) macro
258 extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
/linux/arch/x86/platform/olpc/
H A Dolpc_ofw.c32 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/boot/startup/
H A Dsme.c353 pgtable_area_len = sizeof(pgd_t) * PTRS_PER_PGD; in sme_encrypt_kernel()
400 memset(ppd.pgd, 0, sizeof(pgd_t) * PTRS_PER_PGD); in sme_encrypt_kernel()
401 ppd.pgtable_area += sizeof(pgd_t) * PTRS_PER_PGD; in sme_encrypt_kernel()
409 decrypted_base = (pgd_index(workarea_end) + 1) & (PTRS_PER_PGD - 1); in sme_encrypt_kernel()
413 check_base = (pgd_index(initrd_end) + 1) & (PTRS_PER_PGD - 1); in sme_encrypt_kernel()
H A Dmap_kernel.c158 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 Dpgtable.c33 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
54 end = p + PTRS_PER_PGD; in pgd_init()
/linux/arch/x86/power/
H A Dhibernate_32.c93 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/sh/include/asm/
H A Dpgtable-2level.h21 #define PTRS_PER_PGD (PAGE_SIZE / (1 << PTE_MAGNITUDE)) macro
H A Dpgtable-3level.h18 #define PTRS_PER_PGD 4 macro
/linux/arch/microblaze/include/asm/
H A Dpgtable.h99 #define PTRS_PER_PGD (1 << (32 - PGDIR_SHIFT)) macro
105 #define KERNEL_PGD_PTRS (PTRS_PER_PGD-USER_PGD_PTRS)
382 extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
/linux/arch/s390/mm/
H A Dinit.c54 pgd_t swapper_pg_dir[PTRS_PER_PGD] __section(".bss..swapper_pg_dir");
55 pgd_t invalid_pg_dir[PTRS_PER_PGD] __section(".bss..invalid_pg_dir");
/linux/arch/um/include/asm/
H A Dpgtable-2level.h25 #define PTRS_PER_PGD 1024 macro
/linux/arch/hexagon/include/asm/
H A Dpgtable.h74 #define PTRS_PER_PGD 1024 macro
132 extern pgd_t swapper_pg_dir[PTRS_PER_PGD]; /* located in head.S */
/linux/arch/openrisc/include/asm/
H A Dpgalloc.h49 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
/linux/arch/nios2/mm/
H A Dpgtable.c63 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
/linux/arch/mips/include/asm/
H A Dpgtable-64.h30 * (== PTRS_PER_PGD) 8 byte pointers to pmd tables. Each pmd table is a
125 #define PTRS_PER_PGD ((PAGE_SIZE << PGD_TABLE_ORDER) / sizeof(pgd_t)) macro
144 min(PTRS_PER_PGD * PTRS_PER_PUD * PTRS_PER_PMD * PTRS_PER_PTE * PAGE_SIZE, \
/linux/arch/m68k/mm/
H A Dinit.c98 for (i = 0; i < PTRS_PER_PGD; i++) { in init_pointer_tables()

1234