/linux-6.6.21/arch/nios2/mm/ |
D | pgtable.c | 41 for (i = 0; i < USER_PTRS_PER_PGD; i += 8) { in pgd_init() 61 memcpy(ret + USER_PTRS_PER_PGD, init + USER_PTRS_PER_PGD, in pgd_alloc() 62 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc() 72 pgd_init(swapper_pg_dir + USER_PTRS_PER_PGD); in pagetable_init()
|
/linux-6.6.21/arch/openrisc/include/asm/ |
D | pgalloc.h | 47 memset(ret, 0, USER_PTRS_PER_PGD * sizeof(pgd_t)); in pgd_alloc() 48 memcpy(ret + USER_PTRS_PER_PGD, in pgd_alloc() 49 swapper_pg_dir + USER_PTRS_PER_PGD, in pgd_alloc() 50 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
|
/linux-6.6.21/arch/sh/mm/ |
D | pgtable.c | 14 memset(pgd, 0, USER_PTRS_PER_PGD * sizeof(pgd_t)); in pgd_ctor() 15 memcpy(pgd + USER_PTRS_PER_PGD, in pgd_ctor() 16 swapper_pg_dir + USER_PTRS_PER_PGD, in pgd_ctor() 17 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_ctor()
|
/linux-6.6.21/arch/mips/mm/ |
D | pgtable.c | 21 memcpy(ret + USER_PTRS_PER_PGD, init + USER_PTRS_PER_PGD, in pgd_alloc() 22 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
|
D | pgtable-32.c | 21 for (i = 0; i < USER_PTRS_PER_PGD; i+=8) { in pgd_init() 65 pgd_init(&swapper_pg_dir[USER_PTRS_PER_PGD]); in pagetable_init()
|
/linux-6.6.21/arch/csky/include/asm/ |
D | pgalloc.h | 51 memcpy(ret + USER_PTRS_PER_PGD, init + USER_PTRS_PER_PGD, in pgd_alloc() 52 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
|
D | pgtable.h | 16 #define USER_PTRS_PER_PGD (PAGE_OFFSET/PGDIR_SIZE) macro
|
/linux-6.6.21/arch/riscv/include/asm/ |
D | pgalloc.h | 132 memcpy(pgd + USER_PTRS_PER_PGD, in sync_kernel_mappings() 133 init_mm.pgd + USER_PTRS_PER_PGD, in sync_kernel_mappings() 134 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in sync_kernel_mappings() 143 memset(pgd, 0, USER_PTRS_PER_PGD * sizeof(pgd_t)); in pgd_alloc()
|
/linux-6.6.21/arch/csky/mm/ |
D | init.c | 34 ((PTRS_PER_PGD - USER_PTRS_PER_PGD) * PTRS_PER_PTE) 132 for (i = 0; i < USER_PTRS_PER_PGD; i++) in mmu_init() 135 for (i = USER_PTRS_PER_PGD; i < PTRS_PER_PGD; i++) in mmu_init() 137 __pa(kernel_pte_tables + (PTRS_PER_PTE * (i - USER_PTRS_PER_PGD))); in mmu_init()
|
/linux-6.6.21/arch/arm/mm/ |
D | pgd.c | 42 memset(new_pgd, 0, USER_PTRS_PER_PGD * sizeof(pgd_t)); in pgd_alloc() 48 memcpy(new_pgd + USER_PTRS_PER_PGD, init_pgd + USER_PTRS_PER_PGD, in pgd_alloc() 49 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
|
/linux-6.6.21/arch/um/kernel/ |
D | mem.c | 207 memset(pgd, 0, USER_PTRS_PER_PGD * sizeof(pgd_t)); in pgd_alloc() 208 memcpy(pgd + USER_PTRS_PER_PGD, in pgd_alloc() 209 swapper_pg_dir + USER_PTRS_PER_PGD, in pgd_alloc() 210 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
|
/linux-6.6.21/arch/loongarch/mm/ |
D | pgtable.c | 33 memcpy(ret + USER_PTRS_PER_PGD, init + USER_PTRS_PER_PGD, in pgd_alloc() 34 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
|
/linux-6.6.21/arch/alpha/mm/ |
D | init.c | 49 memcpy (ret + USER_PTRS_PER_PGD, init + USER_PTRS_PER_PGD, in pgd_alloc() 50 (PTRS_PER_PGD - USER_PTRS_PER_PGD - 1)*sizeof(pgd_t)); in pgd_alloc()
|
/linux-6.6.21/arch/arc/include/asm/ |
D | pgtable.h | 20 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE) macro
|
D | pgalloc.h | 60 num = USER_PTRS_PER_PGD + USER_KERNEL_GUTTER / PGDIR_SIZE; in pgd_alloc()
|
/linux-6.6.21/arch/sh/include/asm/ |
D | pgtable-2level.h | 22 #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE) macro
|
D | pgtable-3level.h | 19 #define USER_PTRS_PER_PGD 2 macro
|
/linux-6.6.21/arch/mips/include/asm/ |
D | pgtable-32.h | 87 #define PTRS_PER_PGD (USER_PTRS_PER_PGD * 2) 94 #define USER_PTRS_PER_PGD (0x80000000UL/PGDIR_SIZE) macro
|
D | pgtable-64.h | 134 #define USER_PTRS_PER_PGD ((TASK_SIZE64 / PGDIR_SIZE)?(TASK_SIZE64 / PGDIR_SIZE):1) macro
|
/linux-6.6.21/arch/um/include/asm/ |
D | pgtable-2level.h | 24 #define USER_PTRS_PER_PGD ((TASK_SIZE + (PGDIR_SIZE - 1)) / PGDIR_SIZE) macro
|
D | pgtable-3level.h | 43 #define USER_PTRS_PER_PGD ((TASK_SIZE + (PGDIR_SIZE - 1)) / PGDIR_SIZE) macro
|
/linux-6.6.21/arch/m68k/include/asm/ |
D | pgtable_mm.h | 72 #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE) macro
|
/linux-6.6.21/arch/arm/include/asm/ |
D | pgtable-2level.h | 106 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE) macro
|
D | pgtable-3level.h | 52 #define USER_PTRS_PER_PGD (PAGE_OFFSET / PGDIR_SIZE) macro
|
/linux-6.6.21/arch/nios2/include/asm/ |
D | pgtable.h | 58 #define USER_PTRS_PER_PGD \ macro
|