/linux-master/arch/nios2/mm/ |
H A D | pgtable.c | 36 static void pgd_init(pgd_t *pgd) 53 pgd_t *pgd_alloc(struct mm_struct *mm) 55 pgd_t *ret, *init; 57 ret = (pgd_t *) __get_free_page(GFP_KERNEL); 62 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t));
|
/linux-master/arch/openrisc/include/asm/ |
H A D | pgalloc.h | 42 static inline pgd_t *pgd_alloc(struct mm_struct *mm) 44 pgd_t *ret = (pgd_t *)__get_free_page(GFP_KERNEL); 47 memset(ret, 0, USER_PTRS_PER_PGD * sizeof(pgd_t)); 50 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); 61 extern inline pgd_t *pgd_alloc(struct mm_struct *mm) 63 return (pgd_t *)get_zeroed_page(GFP_KERNEL);
|
/linux-master/arch/sh/include/asm/ |
H A D | mmu_context_32.h | 42 static inline void set_TTB(pgd_t *pgd) 47 static inline pgd_t *get_TTB(void) 49 return (pgd_t *)__raw_readl(MMU_TTB);
|
/linux-master/arch/mips/mm/ |
H A D | pgtable.c | 11 pgd_t *pgd_alloc(struct mm_struct *mm) 13 pgd_t *init, *ret = NULL; 22 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t));
|
/linux-master/arch/arm/include/asm/ |
H A D | idmap.h | 11 extern pgd_t *idmap_pgd;
|
H A D | pgtable-2level-types.h | 23 typedef struct { pmdval_t pgd[2]; } pgd_t; typedef in typeref:struct:__anon44 41 typedef pmdval_t pgd_t[2]; typedef
|
/linux-master/arch/x86/include/asm/ |
H A D | init.h | 16 int kernel_ident_mapping_init(struct x86_mapping_info *info, pgd_t *pgd_page,
|
H A D | vsyscall.h | 11 extern void set_vsyscall_pgtable_user_bits(pgd_t *root);
|
/linux-master/include/asm-generic/ |
H A D | pgtable-nop4d.h | 9 typedef struct { pgd_t pgd; } p4d_t; 21 static inline int pgd_none(pgd_t pgd) { return 0; } 22 static inline int pgd_bad(pgd_t pgd) { return 0; } 23 static inline int pgd_present(pgd_t pgd) { return 1; } 24 static inline void pgd_clear(pgd_t *pgd) { } 35 static inline p4d_t *p4d_offset(pgd_t *pgd, unsigned long address)
|
/linux-master/arch/arc/include/asm/ |
H A D | pgalloc.h | 54 static inline pgd_t *pgd_alloc(struct mm_struct *mm) 56 pgd_t *ret = (pgd_t *) __get_free_page(GFP_KERNEL); 61 memzero(ret, num * sizeof(pgd_t)); 64 memcpy(ret + num, swapper_pg_dir + num, num2 * sizeof(pgd_t)); 67 (PTRS_PER_PGD - num - num2) * sizeof(pgd_t));
|
H A D | pgtable.h | 27 extern pgd_t swapper_pg_dir[] __aligned(PAGE_SIZE);
|
/linux-master/arch/hexagon/include/asm/ |
H A D | pgalloc.h | 21 static inline pgd_t *pgd_alloc(struct mm_struct *mm) 23 pgd_t *pgd; 25 pgd = (pgd_t *)__get_free_page(GFP_KERNEL | __GFP_ZERO); 35 memcpy(pgd, swapper_pg_dir, PTRS_PER_PGD*sizeof(pgd_t)); 83 pmdindex = (pgd_t *)pmd - mm->pgd;
|
/linux-master/arch/csky/include/asm/ |
H A D | pgalloc.h | 42 static inline pgd_t *pgd_alloc(struct mm_struct *mm) 44 pgd_t *ret; 45 pgd_t *init; 47 ret = (pgd_t *) __get_free_page(GFP_KERNEL); 52 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t));
|
/linux-master/arch/sh/mm/ |
H A D | pgtable.c | 14 pgd_t *pgd = x; 16 memset(pgd, 0, USER_PTRS_PER_PGD * sizeof(pgd_t)); 19 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); 34 pgd_t *pgd_alloc(struct mm_struct *mm) 39 void pgd_free(struct mm_struct *mm, pgd_t *pgd)
|
/linux-master/arch/powerpc/include/asm/ |
H A D | pte-walk.h | 7 extern pte_t *__find_linux_pte(pgd_t *pgdir, unsigned long ea, 10 static inline pte_t *find_linux_pte(pgd_t *pgdir, unsigned long ea, 31 pgd_t *pgdir = init_mm.pgd;
|
/linux-master/arch/m68k/include/asm/ |
H A D | sun3_pgalloc.h | 42 static inline pgd_t * pgd_alloc(struct mm_struct *mm) 44 pgd_t *new_pgd; 46 new_pgd = (pgd_t *)get_zeroed_page(GFP_KERNEL);
|
H A D | mcf_pgalloc.h | 26 extern inline pmd_t *pmd_alloc_kernel(pgd_t *pgd, unsigned long address) 74 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) 79 static inline pgd_t *pgd_alloc(struct mm_struct *mm) 81 pgd_t *new_pgd; 89 memcpy(new_pgd, swapper_pg_dir, PTRS_PER_PGD * sizeof(pgd_t));
|
/linux-master/arch/arm64/mm/ |
H A D | pgd.c | 31 pgd_t *pgd_alloc(struct mm_struct *mm) 36 return (pgd_t *)__get_free_page(gfp); 41 void pgd_free(struct mm_struct *mm, pgd_t *pgd)
|
/linux-master/include/linux/ |
H A D | ptdump.h | 22 struct mm_struct *mm, pgd_t *pgd, 24 void ptdump_walk_pgd(struct ptdump_state *st, struct mm_struct *mm, pgd_t *pgd);
|
/linux-master/arch/parisc/include/asm/ |
H A D | pgalloc.h | 19 static inline pgd_t *pgd_alloc(struct mm_struct *mm) 21 pgd_t *pgd; 23 pgd = (pgd_t *) __get_free_pages(GFP_KERNEL, PGD_TABLE_ORDER); 32 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd)
|
/linux-master/arch/riscv/include/asm/ |
H A D | mmu.h | 29 void __init create_pgd_mapping(pgd_t *pgdp, uintptr_t va, phys_addr_t pa,
|
/linux-master/arch/arm/mm/ |
H A D | pgd.c | 20 #define __pgd_alloc() kmalloc_array(PTRS_PER_PGD, sizeof(pgd_t), GFP_KERNEL) 23 #define __pgd_alloc() (pgd_t *)__get_free_pages(GFP_KERNEL, 2) 30 pgd_t *pgd_alloc(struct mm_struct *mm) 32 pgd_t *new_pgd, *init_pgd; 42 memset(new_pgd, 0, USER_PTRS_PER_PGD * sizeof(pgd_t)); 49 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); 51 clean_dcache_area(new_pgd, PTRS_PER_PGD * sizeof(pgd_t)); 142 void pgd_free(struct mm_struct *mm, pgd_t *pgd_base) 144 pgd_t *pgd;
|
/linux-master/arch/x86/power/ |
H A D | hibernate_32.c | 19 pgd_t *resume_pg_dir; 30 static pmd_t *resume_one_md_table_init(pgd_t *pgd) 81 static int resume_physical_mapping_init(pgd_t *pgd_base) 84 pgd_t *pgd; 133 static inline void resume_init_first_level_page_table(pgd_t *pg_dir) 145 static int set_up_temporary_text_mapping(pgd_t *pgd_base) 147 pgd_t *pgd; 175 resume_pg_dir = (pgd_t *)get_safe_page(GFP_ATOMIC);
|
/linux-master/arch/csky/abiv1/inc/abi/ |
H A D | ckmmu.h | 91 static inline void setup_pgd(pgd_t *pgd, int asid) 97 static inline pgd_t *get_pgd(void)
|
/linux-master/arch/csky/abiv2/inc/abi/ |
H A D | ckmmu.h | 114 static inline void setup_pgd(pgd_t *pgd, int asid) 135 static inline pgd_t *get_pgd(void)
|