Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/arch/nds32/mm/
Dmm-nds32.c23 for (i = 0; i < PTRS_PER_PGD; i++) { in pgd_alloc()
27 new_pgd -= PTRS_PER_PGD; in pgd_alloc()
32 (PTRS_PER_PGD - FIRST_KERNEL_PGD_NR) * sizeof(pgd_t)); in pgd_alloc()
36 PTRS_PER_PGD * sizeof(pgd_t)); in pgd_alloc()
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Dpgtable_mm.h63 #define PTRS_PER_PGD 2048 macro
68 #define PTRS_PER_PGD 1024 macro
72 #define PTRS_PER_PGD 128 macro
Dsun3_pgtable.h174 extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
175 extern pgd_t kernel_pg_dir[PTRS_PER_PGD];
/kernel/linux/linux-5.10/arch/arm/mm/
Dpgd.c20 #define __pgd_alloc() kmalloc_array(PTRS_PER_PGD, sizeof(pgd_t), GFP_KERNEL)
49 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
51 clean_dcache_area(new_pgd, PTRS_PER_PGD * sizeof(pgd_t)); in pgd_alloc()
188 for (pgd = pgd_base; pgd < pgd_base + PTRS_PER_PGD; pgd++) { in pgd_free()
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dpgtable_32.h75 #define PAGE_TABLE_SIZE(pages) (((pages) / PTRS_PER_PMD) + PTRS_PER_PGD)
77 #define PAGE_TABLE_SIZE(pages) ((pages) / PTRS_PER_PGD)
Dpgtable_64_types.h56 #define PTRS_PER_PGD 512 macro
75 #define PTRS_PER_PGD 512 macro
Dpgtable-2level_types.h30 #define PTRS_PER_PGD 1024 macro
Dpgtable-3level_types.h31 #define PTRS_PER_PGD 4 macro
/kernel/linux/linux-5.10/arch/alpha/mm/
Dinit.c50 (PTRS_PER_PGD - USER_PTRS_PER_PGD - 1)*sizeof(pgd_t)); in pgd_alloc()
52 pgd_val(ret[PTRS_PER_PGD-2]) = pgd_val(init[PTRS_PER_PGD-2]); in pgd_alloc()
56 pgd_val(ret[PTRS_PER_PGD-1]) in pgd_alloc()
/kernel/linux/linux-5.10/arch/csky/mm/
Dinit.c32 pgd_t swapper_pg_dir[PTRS_PER_PGD] __page_aligned_bss;
131 for (i = 0; i < PTRS_PER_PGD; i++) in pgd_init()
165 for ( ; (i < PTRS_PER_PGD) && (vaddr != end); pgd++, i++) { in fixrange_init()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/um/kernel/
Dmem.c30 pgd_t swapper_pg_dir[PTRS_PER_PGD];
110 for ( ; (i < PTRS_PER_PGD) && (vaddr < end); pgd++, i++) { in fixrange_init()
194 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
/kernel/linux/linux-5.10/arch/csky/include/asm/
Dpgalloc.h55 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
60 (unsigned int)(ret + PTRS_PER_PGD)); in pgd_alloc()
/kernel/linux/linux-5.10/arch/x86/platform/olpc/
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()
/kernel/linux/linux-5.10/arch/arc/include/asm/
Dpgalloc.h49 return get_order(PTRS_PER_PGD * sizeof(pgd_t)); in __get_order_pgd()
65 (PTRS_PER_PGD - num - num2) * sizeof(pgd_t)); in pgd_alloc()
/kernel/linux/linux-5.10/arch/x86/mm/
Dmem_encrypt_identity.c361 pgtable_area_len = sizeof(pgd_t) * PTRS_PER_PGD; in sme_encrypt_kernel()
408 memset(ppd.pgd, 0, sizeof(pgd_t) * PTRS_PER_PGD); in sme_encrypt_kernel()
409 ppd.pgtable_area += sizeof(pgd_t) * PTRS_PER_PGD; in sme_encrypt_kernel()
417 decrypted_base = (pgd_index(workarea_end) + 1) & (PTRS_PER_PGD - 1); in sme_encrypt_kernel()
421 check_base = (pgd_index(initrd_end) + 1) & (PTRS_PER_PGD - 1); in sme_encrypt_kernel()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/arch/ia64/include/asm/
Dpgtable.h129 #define PTRS_PER_PGD (1UL << PTRS_PER_PGD_SHIFT) macro
130 #define USER_PTRS_PER_PGD (5*PTRS_PER_PGD/8) /* regions 0-4 are user regions */
363 unsigned long l1index = (address >> PGDIR_SHIFT) & ((PTRS_PER_PGD >> 3) - 1); in pgd_index()
376 (init_mm.pgd + (((addr) >> PGDIR_SHIFT) & (PTRS_PER_PGD - 1)))
437 extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
/kernel/linux/linux-5.10/arch/x86/power/
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()
/kernel/linux/linux-5.10/arch/sh/include/asm/
Dpgtable-2level.h21 #define PTRS_PER_PGD (PAGE_SIZE / (1 << PTE_MAGNITUDE)) macro
Dpgtable-3level.h18 #define PTRS_PER_PGD 4 macro
/kernel/linux/linux-5.10/arch/mips/mm/
Dpgtable.c20 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
/kernel/linux/linux-5.10/arch/nds32/include/asm/
Dpgtable.h19 #define PTRS_PER_PGD 1024 macro
25 #define PTRS_PER_PGD 256 macro
350 extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
/kernel/linux/linux-5.10/arch/microblaze/include/asm/
Dpgtable.h142 #define PTRS_PER_PGD (1 << (32 - PGDIR_SHIFT)) macro
148 #define KERNEL_PGD_PTRS (PTRS_PER_PGD-USER_PGD_PTRS)
450 extern pgd_t swapper_pg_dir[PTRS_PER_PGD];

1234