Home
last modified time | relevance | path

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

12

/linux-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/arch/mips/mm/
Dpgtable.c19 memcpy(ret + USER_PTRS_PER_PGD, init + USER_PTRS_PER_PGD, in pgd_alloc()
20 (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()
66 + sizeof(pgd_t) * USER_PTRS_PER_PGD); in pagetable_init()
/linux-5.19.10/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()
/linux-5.19.10/arch/riscv/include/asm/
Dpgalloc.h136 memset(pgd, 0, USER_PTRS_PER_PGD * sizeof(pgd_t)); in pgd_alloc()
138 memcpy(pgd + USER_PTRS_PER_PGD, in pgd_alloc()
139 init_mm.pgd + USER_PTRS_PER_PGD, in pgd_alloc()
140 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
/linux-5.19.10/arch/um/kernel/
Dmem.c188 memset(pgd, 0, USER_PTRS_PER_PGD * sizeof(pgd_t)); in pgd_alloc()
189 memcpy(pgd + USER_PTRS_PER_PGD, in pgd_alloc()
190 swapper_pg_dir + USER_PTRS_PER_PGD, in pgd_alloc()
191 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
/linux-5.19.10/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-5.19.10/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-5.19.10/arch/loongarch/mm/
Dpgtable.c20 memcpy(ret + USER_PTRS_PER_PGD, init + USER_PTRS_PER_PGD, in pgd_alloc()
21 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
/linux-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/arch/mips/include/asm/
Dpgtable-32.h88 #define PTRS_PER_PGD (USER_PTRS_PER_PGD * 2)
95 #define USER_PTRS_PER_PGD (0x80000000UL/PGDIR_SIZE) macro
Dpgtable-64.h139 #define USER_PTRS_PER_PGD ((TASK_SIZE64 / PGDIR_SIZE)?(TASK_SIZE64 / PGDIR_SIZE):1) macro
/linux-5.19.10/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-5.19.10/arch/m68k/include/asm/
Dpgtable_mm.h74 #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE) macro
/linux-5.19.10/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-5.19.10/arch/nios2/include/asm/
Dpgtable.h77 #define USER_PTRS_PER_PGD \ macro
/linux-5.19.10/arch/sparc/mm/
Dsrmmu.c333 memset(pgd, 0, USER_PTRS_PER_PGD * sizeof(pgd_t)); in get_pgd_fast()
334 memcpy(pgd + USER_PTRS_PER_PGD, init + USER_PTRS_PER_PGD, in get_pgd_fast()
335 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in get_pgd_fast()

12