/linux/arch/nios2/mm/ |
A 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/arch/openrisc/include/asm/ |
A 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/arch/sh/mm/ |
A 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/arch/riscv/include/asm/ |
A D | pgalloc.h | 47 memset(pgd, 0, USER_PTRS_PER_PGD * sizeof(pgd_t)); in pgd_alloc() 49 memcpy(pgd + USER_PTRS_PER_PGD, in pgd_alloc() 50 init_mm.pgd + USER_PTRS_PER_PGD, in pgd_alloc() 51 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
|
/linux/arch/mips/mm/ |
A D | pgtable.c | 19 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()
|
A D | pgtable-32.c | 21 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/arch/csky/include/asm/ |
A 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()
|
/linux/arch/um/kernel/ |
A D | mem.c | 189 memset(pgd, 0, USER_PTRS_PER_PGD * sizeof(pgd_t)); in pgd_alloc() 190 memcpy(pgd + USER_PTRS_PER_PGD, in pgd_alloc() 191 swapper_pg_dir + USER_PTRS_PER_PGD, in pgd_alloc() 192 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
|
/linux/arch/csky/mm/ |
A 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/arch/arm/mm/ |
A 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/arch/alpha/mm/ |
A 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/arch/nds32/mm/ |
A D | mm-nds32.c | 9 #define FIRST_KERNEL_PGD_NR (USER_PTRS_PER_PGD) 89 for (i = 0; i < USER_PTRS_PER_PGD; i++) { in setup_mm_for_reboot()
|
/linux/arch/mips/include/asm/ |
A D | pgtable-32.h | 88 #define PTRS_PER_PGD (USER_PTRS_PER_PGD * 2) 95 #define USER_PTRS_PER_PGD (0x80000000UL/PGDIR_SIZE) macro
|
A D | pgtable-64.h | 139 #define USER_PTRS_PER_PGD ((TASK_SIZE64 / PGDIR_SIZE)?(TASK_SIZE64 / PGDIR_SIZE):1) macro
|
/linux/arch/arc/include/asm/ |
A D | pgtable.h | 20 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE) macro
|
A D | pgalloc.h | 60 num = USER_PTRS_PER_PGD + USER_KERNEL_GUTTER / PGDIR_SIZE; in pgd_alloc()
|
/linux/arch/sh/include/asm/ |
A D | pgtable-2level.h | 22 #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE) macro
|
A D | pgtable-3level.h | 19 #define USER_PTRS_PER_PGD 2 macro
|
/linux/arch/um/include/asm/ |
A D | pgtable-2level.h | 24 #define USER_PTRS_PER_PGD ((TASK_SIZE + (PGDIR_SIZE - 1)) / PGDIR_SIZE) macro
|
A D | pgtable-3level.h | 43 #define USER_PTRS_PER_PGD ((TASK_SIZE + (PGDIR_SIZE - 1)) / PGDIR_SIZE) macro
|
/linux/arch/m68k/include/asm/ |
A D | pgtable_mm.h | 74 #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE) macro
|
/linux/arch/arm/include/asm/ |
A D | pgtable-2level.h | 106 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE) macro
|
A D | pgtable-3level.h | 52 #define USER_PTRS_PER_PGD (PAGE_OFFSET / PGDIR_SIZE) macro
|
/linux/arch/sparc/mm/ |
A D | srmmu.c | 333 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()
|
/linux/arch/nios2/include/asm/ |
A D | pgtable.h | 77 #define USER_PTRS_PER_PGD \ macro
|