Home
last modified time | relevance | path

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

12

/arch/openrisc/include/asm/
Dpgalloc.h49 memset(ret, 0, USER_PTRS_PER_PGD * sizeof(pgd_t)); in pgd_alloc()
50 memcpy(ret + USER_PTRS_PER_PGD, in pgd_alloc()
51 swapper_pg_dir + USER_PTRS_PER_PGD, in pgd_alloc()
52 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
/arch/sh/mm/
Dpgtable.c15 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()
/arch/mn10300/mm/
Dpgtable.c135 memcpy((pgd_t *)pgd + USER_PTRS_PER_PGD, in pgd_ctor()
136 swapper_pg_dir + USER_PTRS_PER_PGD, in pgd_ctor()
137 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_ctor()
144 memset(pgd, 0, USER_PTRS_PER_PGD * sizeof(pgd_t)); in pgd_ctor()
/arch/metag/include/asm/
Dpgalloc.h21 memcpy(pgd + USER_PTRS_PER_PGD, in pgd_ctor()
22 swapper_pg_dir + USER_PTRS_PER_PGD, in pgd_ctor()
23 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_ctor()
Dmmu_context.h82 for (i = FIRST_USER_PGD_NR; i < USER_PTRS_PER_PGD; i++) in switch_mmu()
90 for (i = FIRST_USER_PGD_NR; i < USER_PTRS_PER_PGD; i++) in switch_mmu()
/arch/avr32/include/asm/
Dpgalloc.h36 memcpy(pgd + USER_PTRS_PER_PGD, in pgd_ctor()
37 swapper_pg_dir + USER_PTRS_PER_PGD, in pgd_ctor()
38 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_ctor()
/arch/score/include/asm/
Dpgalloc.h28 memcpy(ret + USER_PTRS_PER_PGD, init + USER_PTRS_PER_PGD, in pgd_alloc()
29 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
/arch/arm/mm/
Dpgd.c44 memset(new_pgd, 0, USER_PTRS_PER_PGD * sizeof(pgd_t)); in pgd_alloc()
50 memcpy(new_pgd + USER_PTRS_PER_PGD, init_pgd + USER_PTRS_PER_PGD, in pgd_alloc()
51 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
/arch/mips/include/asm/
Dpgalloc.h55 memcpy(ret + USER_PTRS_PER_PGD, init + USER_PTRS_PER_PGD, in pgd_alloc()
56 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
Dpgtable-32.h56 #define PTRS_PER_PGD (USER_PTRS_PER_PGD * 2)
59 #define USER_PTRS_PER_PGD (0x80000000UL/PGDIR_SIZE) macro
Dpgtable-64.h118 #define USER_PTRS_PER_PGD (1) macro
120 #define USER_PTRS_PER_PGD (TASK_SIZE64 / PGDIR_SIZE) macro
/arch/mips/mm/
Dpgtable-32.c21 for (i = 0; i < USER_PTRS_PER_PGD; i+=8) { in pgd_init()
47 + sizeof(pgd_t) * USER_PTRS_PER_PGD); in pagetable_init()
/arch/sh/include/asm/
Dpgtable-2level.h21 #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE) macro
Dpgtable-3level.h18 #define USER_PTRS_PER_PGD 2 macro
/arch/um/kernel/
Dmem.c256 memset(pgd, 0, USER_PTRS_PER_PGD * sizeof(pgd_t)); in pgd_alloc()
257 memcpy(pgd + USER_PTRS_PER_PGD, in pgd_alloc()
258 swapper_pg_dir + USER_PTRS_PER_PGD, in pgd_alloc()
259 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
/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()
/arch/score/mm/
Dpgtable.c36 for (i = 0; i < USER_PTRS_PER_PGD; i += 8) { in pgd_init()
/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
/arch/m32r/mm/
Dinit.c102 for (i = 0 ; i < USER_PTRS_PER_PGD * 2 ; i++) in paging_init()
/arch/unicore32/mm/
Dpgd.c22 #define FIRST_KERNEL_PGD_NR (FIRST_USER_PGD_NR + USER_PTRS_PER_PGD)
/arch/m68k/include/asm/
Dpgtable_mm.h68 #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE) macro
/arch/arc/include/asm/
Dpgalloc.h61 num = USER_PTRS_PER_PGD + USER_KERNEL_GUTTER / PGDIR_SIZE; in pgd_alloc()
/arch/arm/include/asm/
Dpgtable-2level.h105 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE) macro
/arch/powerpc/include/asm/
Dpgtable-ppc32.h47 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE) macro

12