Home
last modified time | relevance | path

Searched refs:USER_PTRS_PER_PGD (Results 1 – 25 of 37) sorted by relevance

12

/linux-6.6.21/arch/nios2/mm/
Dpgtable.c41 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/
Dpgalloc.h47 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/
Dpgtable.c14 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/
Dpgtable.c21 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()
Dpgtable-32.c21 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/
Dpgalloc.h51 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()
Dpgtable.h16 #define USER_PTRS_PER_PGD (PAGE_OFFSET/PGDIR_SIZE) macro
/linux-6.6.21/arch/riscv/include/asm/
Dpgalloc.h132 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/
Dinit.c34 ((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/
Dpgd.c42 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/
Dmem.c207 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/
Dpgtable.c33 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/
Dinit.c49 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/
Dpgtable.h20 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE) macro
Dpgalloc.h60 num = USER_PTRS_PER_PGD + USER_KERNEL_GUTTER / PGDIR_SIZE; in pgd_alloc()
/linux-6.6.21/arch/sh/include/asm/
Dpgtable-2level.h22 #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE) macro
Dpgtable-3level.h19 #define USER_PTRS_PER_PGD 2 macro
/linux-6.6.21/arch/mips/include/asm/
Dpgtable-32.h87 #define PTRS_PER_PGD (USER_PTRS_PER_PGD * 2)
94 #define USER_PTRS_PER_PGD (0x80000000UL/PGDIR_SIZE) macro
Dpgtable-64.h134 #define USER_PTRS_PER_PGD ((TASK_SIZE64 / PGDIR_SIZE)?(TASK_SIZE64 / PGDIR_SIZE):1) macro
/linux-6.6.21/arch/um/include/asm/
Dpgtable-2level.h24 #define USER_PTRS_PER_PGD ((TASK_SIZE + (PGDIR_SIZE - 1)) / PGDIR_SIZE) macro
Dpgtable-3level.h43 #define USER_PTRS_PER_PGD ((TASK_SIZE + (PGDIR_SIZE - 1)) / PGDIR_SIZE) macro
/linux-6.6.21/arch/m68k/include/asm/
Dpgtable_mm.h72 #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE) macro
/linux-6.6.21/arch/arm/include/asm/
Dpgtable-2level.h106 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE) macro
Dpgtable-3level.h52 #define USER_PTRS_PER_PGD (PAGE_OFFSET / PGDIR_SIZE) macro
/linux-6.6.21/arch/nios2/include/asm/
Dpgtable.h58 #define USER_PTRS_PER_PGD \ macro

12