| /linux/arch/sh/mm/ |
| H A D | pgtable.c | 16 memset(pgd, 0, USER_PTRS_PER_PGD * sizeof(pgd_t)); in pgd_ctor() 17 memcpy(pgd + USER_PTRS_PER_PGD, in pgd_ctor() 18 swapper_pg_dir + USER_PTRS_PER_PGD, in pgd_ctor() 19 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_ctor()
|
| /linux/arch/openrisc/include/asm/ |
| H A D | pgalloc.h | 47 memcpy(ret + USER_PTRS_PER_PGD, in pgd_alloc() 48 swapper_pg_dir + USER_PTRS_PER_PGD, in pgd_alloc() 49 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
|
| H A D | pgtable.h | 75 #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE) macro
|
| /linux/arch/csky/include/asm/ |
| H 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()
|
| H A D | pgtable.h | 16 #define USER_PTRS_PER_PGD (PAGE_OFFSET/PGDIR_SIZE) macro
|
| /linux/arch/powerpc/include/asm/nohash/ |
| H A D | pgalloc.h | 26 memcpy(pgd + USER_PTRS_PER_PGD, swapper_pg_dir + USER_PTRS_PER_PGD, in pgd_alloc() 27 (MAX_PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
|
| /linux/arch/powerpc/include/asm/book3s/32/ |
| H A D | pgalloc.h | 14 memcpy(pgd + USER_PTRS_PER_PGD, swapper_pg_dir + USER_PTRS_PER_PGD, in pgd_alloc() 15 (MAX_PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
|
| /linux/arch/um/kernel/ |
| H A D | mem.c | 117 memcpy(pgd + USER_PTRS_PER_PGD, in pgd_alloc() 118 swapper_pg_dir + USER_PTRS_PER_PGD, in pgd_alloc() 119 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
|
| /linux/arch/riscv/include/asm/ |
| H A D | pgalloc.h | 106 memcpy(pgd + USER_PTRS_PER_PGD, in sync_kernel_mappings() 107 init_mm.pgd + USER_PTRS_PER_PGD, in sync_kernel_mappings() 108 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in sync_kernel_mappings()
|
| /linux/arch/loongarch/mm/ |
| H A D | pgtable.c | 32 memcpy(ret + USER_PTRS_PER_PGD, init + USER_PTRS_PER_PGD, in pgd_alloc() 33 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
|
| /linux/arch/mips/mm/ |
| H A D | pgtable-32.c | 21 for (i = 0; i < USER_PTRS_PER_PGD; i+=8) { in pgd_init() 55 pgd_init(&swapper_pg_dir[USER_PTRS_PER_PGD]); in pagetable_init()
|
| /linux/arch/alpha/mm/ |
| H 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/arc/include/asm/ |
| H A D | pgtable.h | 20 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE) macro
|
| /linux/arch/sh/include/asm/ |
| H A D | pgtable-2level.h | 22 #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE) macro
|
| H A D | pgtable-3level.h | 19 #define USER_PTRS_PER_PGD 2 macro
|
| /linux/arch/um/include/asm/ |
| H A D | pgtable-2level.h | 24 #define USER_PTRS_PER_PGD ((TASK_SIZE + (PGDIR_SIZE - 1)) / PGDIR_SIZE) macro
|
| H A D | pgtable-4level.h | 43 #define USER_PTRS_PER_PGD ((TASK_SIZE + (PGDIR_SIZE - 1)) / PGDIR_SIZE) macro
|
| /linux/arch/m68k/include/asm/ |
| H A D | pgtable_mm.h | 72 #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE) macro
|
| /linux/arch/powerpc/include/asm/nohash/32/ |
| H A D | pgtable.h | 52 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE) macro
|
| /linux/arch/loongarch/include/asm/ |
| H A D | pgtable.h | 62 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE) macro 64 #define USER_PTRS_PER_PGD ((TASK_SIZE64 / PGDIR_SIZE)?(TASK_SIZE64 / PGDIR_SIZE):1) macro
|
| /linux/arch/arm/include/asm/ |
| H A D | pgtable-3level.h | 52 #define USER_PTRS_PER_PGD (PAGE_OFFSET / PGDIR_SIZE) macro
|
| /linux/arch/nios2/include/asm/ |
| H A D | pgtable.h | 61 #define USER_PTRS_PER_PGD \ macro
|
| /linux/arch/sparc/mm/ |
| H A D | srmmu.c | 327 memset(pgd, 0, USER_PTRS_PER_PGD * sizeof(pgd_t)); in get_pgd_fast() 328 memcpy(pgd + USER_PTRS_PER_PGD, init + USER_PTRS_PER_PGD, in get_pgd_fast() 329 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in get_pgd_fast()
|
| /linux/arch/alpha/include/asm/ |
| H A D | pgtable.h | 48 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE) 47 #define USER_PTRS_PER_PGD global() macro
|
| /linux/arch/microblaze/include/asm/ |
| H A D | pgtable.h | 101 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE) macro
|