/linux-master/arch/riscv/kernel/ |
H A D | hibernate.c | 32 static pgd_t *resume_pg_dir; 273 static int temp_pgtable_map_p4d(pgd_t *dst_pgdp, pgd_t *src_pgdp, unsigned long start, 312 static int temp_pgtable_mapping(pgd_t *pgdp, unsigned long start, unsigned long end, pgprot_t prot) 314 pgd_t *dst_pgdp = pgd_offset_pgd(pgdp, start); 315 pgd_t *src_pgdp = pgd_offset_k(start); 320 pgd_t pgd = READ_ONCE(*src_pgdp); 364 resume_pg_dir = (pgd_t *)get_safe_page(GFP_ATOMIC);
|
/linux-master/arch/mips/mm/ |
H A D | pgtable-32.c | 54 pgd_t *pgd_base; 56 pgd_t *pgd;
|
/linux-master/arch/mips/include/asm/ |
H A D | pgalloc.h | 50 extern pgd_t *pgd_alloc(struct mm_struct *mm); 52 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd)
|
/linux-master/arch/arc/include/asm/ |
H A D | page.h | 39 } pgd_t; typedef in typeref:struct:__anon1 42 #define __pgd(x) ((pgd_t) { (x) })
|
/linux-master/arch/csky/include/asm/ |
H A D | page.h | 58 typedef struct { unsigned long pgd; } pgd_t; typedef in typeref:struct:__anon8 68 #define __pgd(x) ((pgd_t) { (x) })
|
/linux-master/arch/hexagon/include/asm/ |
H A D | page.h | 66 typedef struct { unsigned long pgd; } pgd_t; typedef in typeref:struct:__anon11 74 #define __pgd(x) ((pgd_t) { (x) })
|
/linux-master/arch/arm64/mm/ |
H A D | trans_pgd.c | 154 static int copy_p4d(struct trans_pgd_info *info, pgd_t *dst_pgdp, 155 pgd_t *src_pgdp, unsigned long start, 176 static int copy_page_tables(struct trans_pgd_info *info, pgd_t *dst_pgdp, 181 pgd_t *src_pgdp = pgd_offset_k(start); 204 int trans_pgd_create_copy(struct trans_pgd_info *info, pgd_t **dst_pgdp, 208 pgd_t *trans_pgd = trans_alloc(info);
|
H A D | kasan_init.c | 26 static pgd_t tmp_pg_dir[PTRS_PER_PTE] __initdata __aligned(PAGE_SIZE); 102 static p4d_t *__init kasan_p4d_offset(pgd_t *pgdp, unsigned long addr, int node, 156 static void __init kasan_p4d_populate(pgd_t *pgdp, unsigned long addr, 172 pgd_t *pgdp; 218 pgd_t *pgdp = pgd_offset_k(KASAN_SHADOW_START); 241 * virtual addressing, and TTBR1 will simply point to the pgd_t entry 256 static void __init clone_next_level(u64 addr, pgd_t *tmp_pg_dir, pud_t *pud) 259 pgd_t pgd = READ_ONCE(swapper_pg_dir[idx]); 283 pgd_t pgd = READ_ONCE(swapper_pg_dir[pgd_idx]); 297 memset(&swapper_pg_dir[l], 0, (m - l) * sizeof(pgd_t)); [all...] |
/linux-master/arch/x86/include/asm/ |
H A D | pgtable_64.h | 27 extern pgd_t init_top_pgt[]; 144 pgd_t pgd; 153 pgd = pti_set_user_pgtbl((pgd_t *)p4dp, pgd); 162 static inline void native_set_pgd(pgd_t *pgdp, pgd_t pgd) 167 static inline void native_pgd_clear(pgd_t *pgd)
|
H A D | pgtable.h | 27 extern pgd_t early_top_pgt[PTRS_PER_PGD]; 250 static inline unsigned long pgd_pfn(pgd_t pgd) 308 static inline int pgd_devmap(pgd_t pgd) 897 pgd_t __pti_set_user_pgtbl(pgd_t *pgdp, pgd_t pgd); 904 static inline pgd_t pti_set_user_pgtbl(pgd_t *pgdp, pgd_t pgd) 911 static inline pgd_t pti_set_user_pgtb [all...] |
H A D | pgalloc.h | 19 static inline void paravirt_pgd_free(struct mm_struct *mm, pgd_t *pgd) {} 51 extern pgd_t *pgd_alloc(struct mm_struct *); 52 extern void pgd_free(struct mm_struct *mm, pgd_t *pgd); 134 static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgd, p4d_t *p4d) 142 static inline void pgd_populate_safe(struct mm_struct *mm, pgd_t *pgd, p4d_t *p4d)
|
/linux-master/arch/x86/mm/ |
H A D | kasan_init_64.c | 123 static void __init kasan_populate_pgd(pgd_t *pgd, unsigned long addr, 145 pgd_t *pgd; 171 pgd_t *pgd; 192 static inline p4d_t *early_p4d_offset(pgd_t *pgd, unsigned long addr) 204 static void __init kasan_early_p4d_populate(pgd_t *pgd, 208 pgd_t pgd_entry; 231 static void __init kasan_map_early_shadow(pgd_t *pgd) 245 static void __init kasan_shallow_populate_p4ds(pgd_t *pgd, 267 pgd_t *pgd;
|
H A D | pti.c | 124 pgd_t __pti_set_user_pgtbl(pgd_t *pgdp, pgd_t pgd) 173 pgd_t *pgd = kernel_to_user_pgdp(pgd_offset_k(address)); 315 pgd_t *pgd; 420 pgd_t *kernel_pgd;
|
/linux-master/arch/alpha/mm/ |
H A D | init.c | 40 pgd_t * 43 pgd_t *ret, *init; 45 ret = (pgd_t *)__get_free_page(GFP_KERNEL | __GFP_ZERO); 50 (PTRS_PER_PGD - USER_PTRS_PER_PGD - 1)*sizeof(pgd_t)); 147 pgd_t *pgd;
|
/linux-master/arch/openrisc/mm/ |
H A D | fault.c | 32 volatile pgd_t *current_pgd[NR_CPUS]; 295 pgd_t *pgd, *pgd_k; 308 pgd = (pgd_t *)current_pgd[smp_processor_id()] + offset;
|
/linux-master/arch/sparc/include/asm/ |
H A D | page_64.h | 72 typedef struct { unsigned long pgd; } pgd_t; typedef in typeref:struct:__anon140 86 #define __pgd(x) ((pgd_t) { (x) } ) 95 typedef unsigned long pgd_t; typedef
|
H A D | pgalloc_64.h | 26 static inline pgd_t *pgd_alloc(struct mm_struct *mm) 31 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd)
|
/linux-master/arch/sh/include/asm/ |
H A D | page.h | 67 typedef struct { unsigned long long pgd; } pgd_t; typedef in typeref:struct:__anon125 75 typedef struct { unsigned long pgd; } pgd_t; typedef in typeref:struct:__anon128 83 #define __pgd(x) ((pgd_t) { (x) } )
|
H A D | pgtable.h | 116 extern pgd_t swapper_pg_dir[PTRS_PER_PGD]; 119 pgd_t *pgd);
|
/linux-master/arch/um/include/asm/ |
H A D | page.h | 39 typedef struct { unsigned long pgd; } pgd_t; typedef in typeref:struct:__anon146 58 typedef struct { unsigned long pgd; } pgd_t; typedef in typeref:struct:__anon148 88 #define __pgd(x) ((pgd_t) { (x) } )
|
/linux-master/arch/arm64/include/asm/ |
H A D | mmu_context.h | 57 static inline void cpu_switch_mm(pgd_t *pgd, struct mm_struct *mm) 144 void __cpu_replace_ttbr1(pgd_t *pgdp, bool cnp); 151 static inline void cpu_replace_ttbr1(pgd_t *pgdp)
|
/linux-master/mm/ |
H A D | ptdump.c | 29 static int ptdump_pgd_entry(pgd_t *pgd, unsigned long addr, 33 pgd_t val = READ_ONCE(*pgd); 152 void ptdump_walk_pgd(struct ptdump_state *st, struct mm_struct *mm, pgd_t *pgd)
|
/linux-master/arch/parisc/include/asm/ |
H A D | page.h | 40 typedef struct { __u32 pgd; } pgd_t; typedef in typeref:struct:__anon5 55 #define __pgd(x) ((pgd_t) { (x) } ) 70 typedef __u32 pgd_t; typedef
|
/linux-master/arch/loongarch/mm/ |
H A D | kasan_init.c | 14 static pgd_t kasan_pg_dir[PTRS_PER_PGD] __initdata __aligned(PAGE_SIZE); 184 static void __init kasan_p4d_populate(pgd_t *pgdp, unsigned long addr, 200 pgd_t *pgdp; 224 static inline void kasan_set_pgd(pgd_t *pgdp, pgd_t pgdval) 237 kasan_set_pgd((pgd_t *)pgd_offset_k(start), __pgd(0));
|
/linux-master/arch/arc/mm/ |
H A D | init.c | 21 pgd_t swapper_pg_dir[PTRS_PER_PGD] __aligned(PAGE_SIZE); 189 BUILD_BUG_ON((PTRS_PER_PGD * sizeof(pgd_t)) > PAGE_SIZE);
|