Home
last modified time | relevance | path

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

12

/openbmc/linux/arch/nios2/mm/
H A 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()
/openbmc/linux/arch/openrisc/include/asm/
H A 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()
/openbmc/linux/arch/sh/mm/
H A 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()
/openbmc/linux/arch/mips/mm/
H A 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()
H A 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()
/openbmc/linux/arch/csky/include/asm/
H A 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()
H A Dpgtable.h16 #define USER_PTRS_PER_PGD (PAGE_OFFSET/PGDIR_SIZE) macro
/openbmc/linux/arch/riscv/include/asm/
H A 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()
/openbmc/linux/arch/arm/mm/
H A 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()
/openbmc/linux/arch/csky/mm/
H A 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()
/openbmc/linux/arch/loongarch/mm/
H A 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()
/openbmc/linux/arch/um/kernel/
H A 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()
/openbmc/linux/arch/alpha/mm/
H A 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()
/openbmc/linux/arch/arc/include/asm/
H A Dpgtable.h20 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE) macro
H A Dpgalloc.h60 num = USER_PTRS_PER_PGD + USER_KERNEL_GUTTER / PGDIR_SIZE; in pgd_alloc()
/openbmc/linux/arch/sh/include/asm/
H A Dpgtable-2level.h22 #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE) macro
H A Dpgtable-3level.h19 #define USER_PTRS_PER_PGD 2 macro
/openbmc/linux/arch/mips/include/asm/
H A Dpgtable-32.h87 #define PTRS_PER_PGD (USER_PTRS_PER_PGD * 2)
94 #define USER_PTRS_PER_PGD (0x80000000UL/PGDIR_SIZE) macro
H A Dpgtable-64.h134 #define USER_PTRS_PER_PGD ((TASK_SIZE64 / PGDIR_SIZE)?(TASK_SIZE64 / PGDIR_SIZE):1) macro
/openbmc/linux/arch/um/include/asm/
H A Dpgtable-2level.h24 #define USER_PTRS_PER_PGD ((TASK_SIZE + (PGDIR_SIZE - 1)) / PGDIR_SIZE) macro
H A Dpgtable-3level.h43 #define USER_PTRS_PER_PGD ((TASK_SIZE + (PGDIR_SIZE - 1)) / PGDIR_SIZE) macro
/openbmc/linux/arch/m68k/include/asm/
H A Dpgtable_mm.h72 #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE) macro
/openbmc/linux/arch/arm/include/asm/
H A Dpgtable-2level.h106 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE) macro
H A Dpgtable-3level.h52 #define USER_PTRS_PER_PGD (PAGE_OFFSET / PGDIR_SIZE) macro
/openbmc/linux/arch/nios2/include/asm/
H A Dpgtable.h58 #define USER_PTRS_PER_PGD \ macro

12