arch/alpha/include/asm/page.h
37
#define __pgd(x) ((pgd_t) { (x) } )
arch/alpha/include/asm/pgalloc.h
34
extern pgd_t *pgd_alloc(struct mm_struct *mm);
arch/alpha/include/asm/pgtable.h
269
extern pgd_t swapper_pg_dir[1024];
arch/alpha/mm/fault.c
237
pgd_t *pgd, *pgd_k;
arch/alpha/mm/init.c
120
pgd_t *pgd;
arch/alpha/mm/init.c
40
pgd_t *
arch/alpha/mm/init.c
43
pgd_t *ret, *init;
arch/alpha/mm/init.c
50
(PTRS_PER_PGD - USER_PTRS_PER_PGD - 1)*sizeof(pgd_t));
arch/arc/include/asm/page.h
44
#define __pgd(x) ((pgd_t) { (x) })
arch/arc/include/asm/pgalloc.h
54
static inline pgd_t *pgd_alloc(struct mm_struct *mm)
arch/arc/include/asm/pgalloc.h
56
pgd_t *ret = __pgd_alloc(mm, 0);
arch/arc/include/asm/pgalloc.h
63
memcpy(ret + num, swapper_pg_dir + num, num2 * sizeof(pgd_t));
arch/arc/include/asm/pgtable.h
27
extern pgd_t swapper_pg_dir[] __aligned(PAGE_SIZE);
arch/arc/mm/fault.c
32
pgd_t *pgd, *pgd_k;
arch/arc/mm/init.c
167
BUILD_BUG_ON((PTRS_PER_PGD * sizeof(pgd_t)) > PAGE_SIZE);
arch/arc/mm/init.c
21
pgd_t swapper_pg_dir[PTRS_PER_PGD] __aligned(PAGE_SIZE);
arch/arm/include/asm/idmap.h
11
extern pgd_t *idmap_pgd;
arch/arm/include/asm/pgalloc.h
24
#define PGD_SIZE (PTRS_PER_PGD * sizeof(pgd_t))
arch/arm/include/asm/pgalloc.h
47
extern pgd_t *pgd_alloc(struct mm_struct *mm);
arch/arm/include/asm/pgalloc.h
48
extern void pgd_free(struct mm_struct *mm, pgd_t *pgd);
arch/arm/include/asm/pgtable-3level-types.h
36
#define __pgd(x) ((pgd_t) { (x) } )
arch/arm/include/asm/pgtable-nommu.h
40
#define swapper_pg_dir ((pgd_t *) 0)
arch/arm/include/asm/pgtable.h
151
extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
arch/arm/include/asm/pgtable.h
58
extern void __pgd_error(const char *file, int line, pgd_t);
arch/arm/include/asm/proc-fns.h
167
pg &= ~(PTRS_PER_PGD*sizeof(pgd_t)-1); \
arch/arm/include/asm/proc-fns.h
168
(pgd_t *)phys_to_virt(pg); \
arch/arm/include/asm/proc-fns.h
177
(pgd_t *)phys_to_virt(pg); \
arch/arm/kernel/smp.c
98
static unsigned long get_arch_pgd(pgd_t *pgd)
arch/arm/kernel/traps.c
767
void __pgd_error(const char *file, int line, pgd_t pgd)
arch/arm/lib/uaccess_with_memcpy.c
26
pgd_t *pgd;
arch/arm/mach-rpc/ecard.c
229
pgd_t *src_pgd, *dst_pgd;
arch/arm/mach-rpc/ecard.c
234
memcpy(dst_pgd, src_pgd, sizeof(pgd_t) * (IO_SIZE / PGDIR_SIZE));
arch/arm/mach-rpc/ecard.c
239
memcpy(dst_pgd, src_pgd, sizeof(pgd_t) * (EASI_SIZE / PGDIR_SIZE));
arch/arm/mm/dump.c
382
static void walk_p4d(struct pg_state *st, pgd_t *pgd, unsigned long start)
arch/arm/mm/dump.c
401
pgd_t *pgd = pgd_offset(mm, 0UL);
arch/arm/mm/fault-armv.c
68
pgd_t *pgd;
arch/arm/mm/fault.c
43
pgd_t *pgd;
arch/arm/mm/fault.c
508
pgd_t *pgd, *pgd_k;
arch/arm/mm/idmap.c
20
pgd_t *idmap_pgd __ro_after_init;
arch/arm/mm/idmap.c
68
static void idmap_add_pud(pgd_t *pgd, unsigned long addr, unsigned long end,
arch/arm/mm/idmap.c
81
static void identity_mapping_add(pgd_t *pgd, const char *text_start,
arch/arm/mm/ioremap.c
136
sizeof(pgd_t) * (pgd_index(end) - pgd_index(start)));
arch/arm/mm/kasan_init.c
127
pgd_t *pgdp;
arch/arm/mm/kasan_init.c
27
static pgd_t tmp_pgd_table[PTRS_PER_PGD] __initdata __aligned(PGD_SIZE);
arch/arm/mm/mmu.c
1336
#define SWAPPER_PG_DIR_SIZE (PTRS_PER_PGD * sizeof(pgd_t))
arch/arm/mm/mmu.c
849
static void __init alloc_init_p4d(pgd_t *pgd, unsigned long addr,
arch/arm/mm/mmu.c
872
pgd_t *pgd;
arch/arm/mm/mmu.c
934
pgd_t *pgd;
arch/arm/mm/pgd.c
140
void pgd_free(struct mm_struct *mm, pgd_t *pgd_base)
arch/arm/mm/pgd.c
142
pgd_t *pgd;
arch/arm/mm/pgd.c
20
#define _pgd_alloc(mm) kmalloc_objs(pgd_t, PTRS_PER_PGD, GFP_KERNEL | __GFP_ZERO)
arch/arm/mm/pgd.c
30
pgd_t *pgd_alloc(struct mm_struct *mm)
arch/arm/mm/pgd.c
32
pgd_t *new_pgd, *init_pgd;
arch/arm/mm/pgd.c
47
(PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t));
arch/arm/mm/pgd.c
49
clean_dcache_area(new_pgd, PTRS_PER_PGD * sizeof(pgd_t));
arch/arm64/include/asm/mmu_context.h
137
void __cpu_replace_ttbr1(pgd_t *pgdp, bool cnp);
arch/arm64/include/asm/mmu_context.h
144
static inline void cpu_replace_ttbr1(pgd_t *pgdp)
arch/arm64/include/asm/mmu_context.h
58
static inline void cpu_switch_mm(pgd_t *pgd, struct mm_struct *mm)
arch/arm64/include/asm/pgalloc.h
20
#define PGD_SIZE (PTRS_PER_PGD * sizeof(pgd_t))
arch/arm64/include/asm/pgalloc.h
74
static inline void __pgd_populate(pgd_t *pgdp, phys_addr_t p4dp, pgdval_t prot)
arch/arm64/include/asm/pgalloc.h
80
static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgdp, p4d_t *p4dp)
arch/arm64/include/asm/pgalloc.h
89
static inline void __pgd_populate(pgd_t *pgdp, phys_addr_t p4dp, pgdval_t prot)
arch/arm64/include/asm/pgalloc.h
95
extern pgd_t *pgd_alloc(struct mm_struct *mm);
arch/arm64/include/asm/pgalloc.h
96
extern void pgd_free(struct mm_struct *mm, pgd_t *pgdp);
arch/arm64/include/asm/pgtable-types.h
55
#define __pgd(x) ((pgd_t) { (x) } )
arch/arm64/include/asm/pgtable.h
1095
static inline void set_pgd(pgd_t *pgdp, pgd_t pgd)
arch/arm64/include/asm/pgtable.h
1106
static inline void pgd_clear(pgd_t *pgdp)
arch/arm64/include/asm/pgtable.h
1112
static inline phys_addr_t pgd_page_paddr(pgd_t pgd)
arch/arm64/include/asm/pgtable.h
1119
static inline p4d_t *pgd_to_folded_p4d(pgd_t *pgdp, unsigned long addr)
arch/arm64/include/asm/pgtable.h
1127
static inline phys_addr_t p4d_offset_phys(pgd_t *pgdp, unsigned long addr)
arch/arm64/include/asm/pgtable.h
1135
p4d_t *p4d_offset_lockless(pgd_t *pgdp, pgd_t pgd, unsigned long addr)
arch/arm64/include/asm/pgtable.h
1143
static inline p4d_t *p4d_offset(pgd_t *pgdp, unsigned long addr)
arch/arm64/include/asm/pgtable.h
1155
static inline p4d_t *p4d_set_fixmap_offset(pgd_t *pgdp, unsigned long addr)
arch/arm64/include/asm/pgtable.h
1169
static inline p4d_t *p4d_offset_kimg(pgd_t *pgdp, u64 addr)
arch/arm64/include/asm/pgtable.h
1192
p4d_t *p4d_offset_lockless_folded(pgd_t *pgdp, pgd_t pgd, unsigned long addr)
arch/arm64/include/asm/pgtable.h
1218
#define pgd_set_fixmap(addr) ((pgd_t *)set_fixmap_offset(FIX_PGD, addr))
arch/arm64/include/asm/pgtable.h
483
static inline pte_t pgd_pte(pgd_t pgd)
arch/arm64/include/asm/pgtable.h
811
extern pgd_t swapper_pg_dir[];
arch/arm64/include/asm/pgtable.h
812
extern pgd_t idmap_pg_dir[];
arch/arm64/include/asm/pgtable.h
813
extern pgd_t tramp_pg_dir[];
arch/arm64/include/asm/pgtable.h
814
extern pgd_t reserved_pg_dir[];
arch/arm64/include/asm/pgtable.h
816
extern void set_swapper_pgd(pgd_t *pgdp, pgd_t pgd);
arch/arm64/include/asm/pgtable.h
828
set_swapper_pgd((pgd_t *)pmdp, __pgd(pmd_val(pmd)));
arch/arm64/include/asm/pgtable.h
889
set_swapper_pgd((pgd_t *)pudp, __pgd(pud_val(pud)));
arch/arm64/include/asm/pgtable.h
970
set_swapper_pgd((pgd_t *)p4dp, __pgd(p4d_val(p4d)));
arch/arm64/include/asm/ptdump.h
69
void note_page_pgd(struct ptdump_state *st, unsigned long addr, pgd_t pgd);
arch/arm64/include/asm/ptdump.h
85
static inline void note_page_pgd(struct ptdump_state *st, unsigned long addr, pgd_t pgd) { }
arch/arm64/include/asm/trans_pgd.h
30
int trans_pgd_create_copy(struct trans_pgd_info *info, pgd_t **trans_pgd,
arch/arm64/kernel/hibernate.c
410
pgd_t *tmp_pg_dir;
arch/arm64/kernel/machine_kexec.c
108
pgd_t *trans_pgd;
arch/arm64/kernel/pi/map_kernel.c
23
static void __init map_segment(pgd_t *pg_dir, phys_addr_t *pgd, u64 va_offset,
arch/arm64/kernel/pi/map_kernel.c
32
static void __init unmap_segment(pgd_t *pg_dir, u64 va_offset, void *start,
arch/arm64/kernel/pi/map_range.c
91
asmlinkage phys_addr_t __init create_init_idmap(pgd_t *pg_dir, ptdesc_t clrmask)
arch/arm64/kernel/pi/pi.h
24
extern pgd_t init_idmap_pg_dir[], init_idmap_pg_end[];
arch/arm64/kernel/pi/pi.h
25
extern pgd_t init_pg_dir[], init_pg_end[];
arch/arm64/kernel/pi/pi.h
38
asmlinkage phys_addr_t create_init_idmap(pgd_t *pgd, ptdesc_t clrmask);
arch/arm64/mm/fault.c
131
pgd_t *pgdp;
arch/arm64/mm/fault.c
132
pgd_t pgd;
arch/arm64/mm/fixmap.c
109
pgd_t *pgdp = pgd_offset_k(addr);
arch/arm64/mm/hugetlbpage.c
240
pgd_t *pgdp;
arch/arm64/mm/hugetlbpage.c
281
pgd_t *pgdp;
arch/arm64/mm/hugetlbpage.c
81
pgd_t *pgdp = pgd_offset(mm, addr);
arch/arm64/mm/kasan_init.c
102
static p4d_t *__init kasan_p4d_offset(pgd_t *pgdp, unsigned long addr, int node,
arch/arm64/mm/kasan_init.c
156
static void __init kasan_p4d_populate(pgd_t *pgdp, unsigned long addr,
arch/arm64/mm/kasan_init.c
172
pgd_t *pgdp;
arch/arm64/mm/kasan_init.c
218
pgd_t *pgdp = pgd_offset_k(KASAN_SHADOW_START);
arch/arm64/mm/kasan_init.c
256
static void __init clone_next_level(u64 addr, pgd_t *tmp_pg_dir, pud_t *pud)
arch/arm64/mm/kasan_init.c
259
pgd_t pgd = READ_ONCE(swapper_pg_dir[idx]);
arch/arm64/mm/kasan_init.c
26
static pgd_t tmp_pg_dir[PTRS_PER_PTE] __initdata __aligned(PAGE_SIZE);
arch/arm64/mm/kasan_init.c
283
pgd_t pgd = READ_ONCE(swapper_pg_dir[pgd_idx]);
arch/arm64/mm/kasan_init.c
297
memset(&swapper_pg_dir[l], 0, (m - l) * sizeof(pgd_t));
arch/arm64/mm/mmu.c
1019
static void __init __map_memblock(pgd_t *pgdp, phys_addr_t start,
arch/arm64/mm/mmu.c
1071
static void __init arm64_kfence_map_pool(phys_addr_t kfence_pool, pgd_t *pgdp)
arch/arm64/mm/mmu.c
1113
static inline void arm64_kfence_map_pool(phys_addr_t kfence_pool, pgd_t *pgdp) { }
arch/arm64/mm/mmu.c
1117
static void __init map_mem(pgd_t *pgdp)
arch/arm64/mm/mmu.c
1245
pgd_t *kpti_ng_temp_pgd;
arch/arm64/mm/mmu.c
1259
kpti_ng_temp_pgd = (pgd_t *)(alloc + (levels - 1) * PAGE_SIZE);
arch/arm64/mm/mmu.c
1534
static void unmap_hotplug_p4d_range(pgd_t *pgdp, unsigned long addr,
arch/arm64/mm/mmu.c
1557
pgd_t *pgdp, pgd;
arch/arm64/mm/mmu.c
1696
static void free_empty_p4d_table(pgd_t *pgdp, unsigned long addr,
arch/arm64/mm/mmu.c
1740
pgd_t *pgdp, pgd;
arch/arm64/mm/mmu.c
1926
static void __remove_pgd_mapping(pgd_t *pgdir, unsigned long start, u64 size)
arch/arm64/mm/mmu.c
2180
void __cpu_replace_ttbr1(pgd_t *pgdp, bool cnp)
arch/arm64/mm/mmu.c
416
static int alloc_init_p4d(pgd_t *pgdp, unsigned long addr, unsigned long end,
arch/arm64/mm/mmu.c
423
pgd_t pgd = READ_ONCE(*pgdp);
arch/arm64/mm/mmu.c
467
static int __create_pgd_mapping_locked(pgd_t *pgdir, phys_addr_t phys,
arch/arm64/mm/mmu.c
475
pgd_t *pgdp = pgd_offset_pgd(pgdir, virt);
arch/arm64/mm/mmu.c
500
static int __create_pgd_mapping(pgd_t *pgdir, phys_addr_t phys,
arch/arm64/mm/mmu.c
516
static void early_create_pgd_mapping(pgd_t *pgdir, phys_addr_t phys,
arch/arm64/mm/mmu.c
669
pgd_t *pgdp, pgd;
arch/arm64/mm/mmu.c
77
void noinstr set_swapper_pgd(pgd_t *pgdp, pgd_t pgd)
arch/arm64/mm/mmu.c
79
pgd_t *fixmap_pgdp;
arch/arm64/mm/pageattr.c
388
pgd_t *pgdp;
arch/arm64/mm/pgd.c
31
pgd_t *pgd_alloc(struct mm_struct *mm)
arch/arm64/mm/pgd.c
41
void pgd_free(struct mm_struct *mm, pgd_t *pgd)
arch/arm64/mm/ptdump.c
274
void note_page_pgd(struct ptdump_state *pt_st, unsigned long addr, pgd_t pgd)
arch/arm64/mm/trans_pgd.c
156
static int copy_p4d(struct trans_pgd_info *info, pgd_t *dst_pgdp,
arch/arm64/mm/trans_pgd.c
157
pgd_t *src_pgdp, unsigned long start,
arch/arm64/mm/trans_pgd.c
185
static int copy_page_tables(struct trans_pgd_info *info, pgd_t *dst_pgdp,
arch/arm64/mm/trans_pgd.c
190
pgd_t *src_pgdp = pgd_offset_k(start);
arch/arm64/mm/trans_pgd.c
213
int trans_pgd_create_copy(struct trans_pgd_info *info, pgd_t **dst_pgdp,
arch/arm64/mm/trans_pgd.c
217
pgd_t *trans_pgd = trans_alloc(info);
arch/csky/abiv1/inc/abi/ckmmu.h
91
static inline void setup_pgd(pgd_t *pgd, int asid)
arch/csky/abiv1/inc/abi/ckmmu.h
97
static inline pgd_t *get_pgd(void)
arch/csky/abiv2/inc/abi/ckmmu.h
114
static inline void setup_pgd(pgd_t *pgd, int asid)
arch/csky/abiv2/inc/abi/ckmmu.h
135
static inline pgd_t *get_pgd(void)
arch/csky/include/asm/fixmap.h
30
pgd_t *pgd_base);
arch/csky/include/asm/page.h
61
#define __pgd(x) ((pgd_t) { (x) })
arch/csky/include/asm/pgalloc.h
42
static inline pgd_t *pgd_alloc(struct mm_struct *mm)
arch/csky/include/asm/pgalloc.h
44
pgd_t *ret;
arch/csky/include/asm/pgalloc.h
45
pgd_t *init;
arch/csky/include/asm/pgalloc.h
52
(PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t));
arch/csky/include/asm/pgtable.h
22
#define PTRS_PER_PGD (PAGE_SIZE / sizeof(pgd_t))
arch/csky/include/asm/pgtable.h
258
extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
arch/csky/mm/fault.c
117
pgd_t *pgd, *pgd_k;
arch/csky/mm/highmem.c
23
pgd_t *pgd;
arch/csky/mm/init.c
36
pgd_t swapper_pg_dir[PTRS_PER_PGD] __page_aligned_bss;
arch/csky/mm/init.c
88
pgd_t *pgd_base)
arch/csky/mm/init.c
90
pgd_t *pgd;
arch/hexagon/include/asm/page.h
72
#define __pgd(x) ((pgd_t) { (x) })
arch/hexagon/include/asm/pgalloc.h
21
static inline pgd_t *pgd_alloc(struct mm_struct *mm)
arch/hexagon/include/asm/pgalloc.h
23
pgd_t *pgd;
arch/hexagon/include/asm/pgalloc.h
35
memcpy(pgd, swapper_pg_dir, PTRS_PER_PGD*sizeof(pgd_t));
arch/hexagon/include/asm/pgalloc.h
83
pmdindex = (pgd_t *)pmd - mm->pgd;
arch/hexagon/include/asm/pgtable.h
132
extern pgd_t swapper_pg_dir[PTRS_PER_PGD]; /* located in head.S */
arch/loongarch/include/asm/page.h
51
#define __pgd(x) ((pgd_t) { (x) })
arch/loongarch/include/asm/pgalloc.h
46
extern pgd_t *pgd_alloc(struct mm_struct *mm);
arch/loongarch/include/asm/pgtable.h
377
#define PGD_T_LOG2 (__builtin_ffs(sizeof(pgd_t)) - 1)
arch/loongarch/include/asm/pgtable.h
381
extern pgd_t swapper_pg_dir[];
arch/loongarch/include/asm/pgtable.h
382
extern pgd_t invalid_pg_dir[];
arch/loongarch/kernel/asm-offsets.c
197
DEFINE(_PGD_T_SIZE, sizeof(pgd_t));
arch/loongarch/kvm/mmu.c
672
pgd_t pgd;
arch/loongarch/mm/fault.c
36
pgd_t *pgd;
arch/loongarch/mm/hugetlbpage.c
19
pgd_t *pgd;
arch/loongarch/mm/hugetlbpage.c
36
pgd_t *pgd;
arch/loongarch/mm/init.c
146
pgd_t *pgd = pgd_offset_k(addr);
arch/loongarch/mm/init.c
209
pgd_t swapper_pg_dir[_PTRS_PER_PGD] __section(".bss..swapper_pg_dir");
arch/loongarch/mm/init.c
211
pgd_t invalid_pg_dir[_PTRS_PER_PGD] __page_aligned_bss;
arch/loongarch/mm/kasan_init.c
14
static pgd_t kasan_pg_dir[PTRS_PER_PGD] __initdata __aligned(PAGE_SIZE);
arch/loongarch/mm/kasan_init.c
159
static p4d_t *__init kasan_p4d_offset(pgd_t *pgdp, unsigned long addr, int node, bool early)
arch/loongarch/mm/kasan_init.c
211
static void __init kasan_p4d_populate(pgd_t *pgdp, unsigned long addr,
arch/loongarch/mm/kasan_init.c
227
pgd_t *pgdp;
arch/loongarch/mm/kasan_init.c
251
static inline void kasan_set_pgd(pgd_t *pgdp, pgd_t pgdval)
arch/loongarch/mm/kasan_init.c
264
kasan_set_pgd((pgd_t *)pgd_offset_k(start), __pgd(0));
arch/loongarch/mm/pageattr.c
163
pgd_t *pgd;
arch/loongarch/mm/pageattr.c
28
static int pageattr_pgd_entry(pgd_t *pgd, unsigned long addr,
arch/loongarch/mm/pageattr.c
31
pgd_t val = pgdp_get(pgd);
arch/loongarch/mm/pgtable.c
24
pgd_t *pgd_alloc(struct mm_struct *mm)
arch/loongarch/mm/pgtable.c
26
pgd_t *init, *ret;
arch/loongarch/mm/pgtable.c
33
(PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t));
arch/m68k/include/asm/mcf_pgalloc.h
30
extern inline pmd_t *pmd_alloc_kernel(pgd_t *pgd, unsigned long address)
arch/m68k/include/asm/mcf_pgalloc.h
78
static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd)
arch/m68k/include/asm/mcf_pgalloc.h
83
static inline pgd_t *pgd_alloc(struct mm_struct *mm)
arch/m68k/include/asm/mcf_pgalloc.h
85
pgd_t *new_pgd;
arch/m68k/include/asm/mcf_pgalloc.h
94
memcpy(new_pgd, swapper_pg_dir, PTRS_PER_PGD * sizeof(pgd_t));
arch/m68k/include/asm/mcf_pgtable.h
107
static inline void pgd_set(pgd_t *pgdp, pmd_t *pmdp)
arch/m68k/include/asm/mcf_pgtable.h
250
extern pgd_t kernel_pg_dir[PTRS_PER_PGD];
arch/m68k/include/asm/mmu_context.h
67
static inline void set_context(mm_context_t context, pgd_t *pgd)
arch/m68k/include/asm/mmu_context.h
98
pgd_t *pgd;
arch/m68k/include/asm/motorola_pgalloc.h
71
static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd)
arch/m68k/include/asm/motorola_pgalloc.h
76
static inline pgd_t *pgd_alloc(struct mm_struct *mm)
arch/m68k/include/asm/motorola_pgtable.h
168
extern pgd_t kernel_pg_dir[128];
arch/m68k/include/asm/page.h
44
#define __pgd(x) ((pgd_t) { (x) } )
arch/m68k/include/asm/pgtable_no.h
31
#define swapper_pg_dir ((pgd_t *) 0)
arch/m68k/include/asm/sun3_pgalloc.h
39
static inline pgd_t * pgd_alloc(struct mm_struct *mm)
arch/m68k/include/asm/sun3_pgalloc.h
41
pgd_t *new_pgd;
arch/m68k/include/asm/sun3_pgtable.h
150
extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
arch/m68k/include/asm/sun3_pgtable.h
151
extern pgd_t kernel_pg_dir[PTRS_PER_PGD];
arch/m68k/kernel/sys_m68k.c
469
pgd_t *pgd;
arch/m68k/mm/kmap.c
163
pgd_t *pgd_dir;
arch/m68k/mm/kmap.c
327
pgd_t *pgd_dir;
arch/m68k/mm/kmap.c
62
pgd_t *pgd_dir;
arch/m68k/mm/mcfmmu.c
38
pgd_t *pg_dir;
arch/m68k/mm/mcfmmu.c
81
pgd_t *pgd;
arch/m68k/mm/motorola.c
304
pgd_t *pgd_dir;
arch/m68k/mm/sun3mmu.c
38
pgd_t * pg_dir;
arch/m68k/sun3/mmu_emu.c
360
pgd_t * crp;
arch/m68k/sun3x/dvma.c
81
pgd_t *pgd;
arch/microblaze/include/asm/mmu_context_mm.h
50
extern void set_context(mm_context_t context, pgd_t *pgd);
arch/microblaze/include/asm/page.h
66
# define __pgd(x) ((pgd_t) { (x) })
arch/microblaze/include/asm/pgtable.h
381
extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
arch/microblaze/mm/pgtable.c
197
pgd_t *pgd;
arch/mips/include/asm/fixmap.h
76
pgd_t *pgd_base);
arch/mips/include/asm/kvm_host.h
810
pgd_t *kvm_pgd_alloc(void);
arch/mips/include/asm/page.h
131
#define __pgd(x) ((pgd_t) { (x) } )
arch/mips/include/asm/pgalloc.h
49
extern pgd_t *pgd_alloc(struct mm_struct *mm);
arch/mips/include/asm/pgtable-64.h
125
#define PTRS_PER_PGD ((PAGE_SIZE << PGD_TABLE_ORDER) / sizeof(pgd_t))
arch/mips/include/asm/pgtable.h
246
#define PGD_T_LOG2 (__builtin_ffs(sizeof(pgd_t)) - 1)
arch/mips/include/asm/pgtable.h
254
extern pgd_t swapper_pg_dir[];
arch/mips/kernel/asm-offsets.c
204
DEFINE(_PGD_T_SIZE, sizeof(pgd_t));
arch/mips/kvm/mmu.c
104
static pte_t *kvm_mips_walk_pgd(pgd_t *pgd, struct kvm_mmu_memory_cache *cache,
arch/mips/kvm/mmu.c
227
static bool kvm_mips_flush_gpa_pgd(pgd_t *pgd, unsigned long start_gpa,
arch/mips/kvm/mmu.c
348
static int kvm_mips_##name##_pgd(pgd_t *pgd, unsigned long start, \
arch/mips/kvm/mmu.c
79
pgd_t *kvm_pgd_alloc(void)
arch/mips/kvm/mmu.c
81
pgd_t *ret;
arch/mips/kvm/mmu.c
83
ret = (pgd_t *)__get_free_pages(GFP_KERNEL, PGD_TABLE_ORDER);
arch/mips/mm/fault.c
286
pgd_t *pgd, *pgd_k;
arch/mips/mm/fault.c
292
pgd = (pgd_t *) pgd_current[raw_smp_processor_id()] + offset;
arch/mips/mm/hugetlbpage.c
27
pgd_t *pgd;
arch/mips/mm/hugetlbpage.c
44
pgd_t *pgd;
arch/mips/mm/init.c
228
pgd_t *pgd_base)
arch/mips/mm/init.c
231
pgd_t *pgd;
arch/mips/mm/init.c
554
pgd_t swapper_pg_dir[PTRS_PER_PGD] __section(".bss..swapper_pg_dir");
arch/mips/mm/pgtable-32.c
44
pgd_t *pgd_base;
arch/mips/mm/pgtable-32.c
46
pgd_t *pgd;
arch/mips/mm/pgtable-64.c
103
pgd_t *pgd_base;
arch/mips/mm/pgtable.c
11
pgd_t *pgd_alloc(struct mm_struct *mm)
arch/mips/mm/pgtable.c
13
pgd_t *init, *ret;
arch/mips/mm/pgtable.c
20
(PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t));
arch/mips/mm/tlb-r4k.c
300
pgd_t *pgdp;
arch/nios2/include/asm/mmu_context.h
27
extern pgd_t *pgd_current;
arch/nios2/include/asm/page.h
66
#define __pgd(x) ((pgd_t) { (x) })
arch/nios2/include/asm/pgalloc.h
29
extern pgd_t *pgd_alloc(struct mm_struct *mm);
arch/nios2/include/asm/pgtable.h
58
#define PTRS_PER_PGD (PAGE_SIZE / sizeof(pgd_t))
arch/nios2/include/asm/pgtable.h
75
extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
arch/nios2/mm/fault.c
230
pgd_t *pgd, *pgd_k;
arch/nios2/mm/init.c
39
pgd_t *pgd_current;
arch/nios2/mm/init.c
66
pgd_t swapper_pg_dir[PTRS_PER_PGD] __aligned(PAGE_SIZE);
arch/nios2/mm/ioremap.c
80
pgd_t *dir;
arch/nios2/mm/pgtable.c
37
static void pgd_init(pgd_t *pgd)
arch/nios2/mm/pgtable.c
54
pgd_t *pgd_alloc(struct mm_struct *mm)
arch/nios2/mm/pgtable.c
56
pgd_t *ret, *init;
arch/nios2/mm/pgtable.c
63
(PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t));
arch/openrisc/include/asm/mmu_context.h
33
extern volatile pgd_t *current_pgd[]; /* defined in arch/openrisc/mm/fault.c */
arch/openrisc/include/asm/page.h
54
#define __pgd(x) ((pgd_t) { (x) })
arch/openrisc/include/asm/pgalloc.h
42
static inline pgd_t *pgd_alloc(struct mm_struct *mm)
arch/openrisc/include/asm/pgalloc.h
44
pgd_t *ret = __pgd_alloc(mm, 0);
arch/openrisc/include/asm/pgalloc.h
49
(PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t));
arch/openrisc/include/asm/pgalloc.h
59
extern inline pgd_t *pgd_alloc(struct mm_struct *mm)
arch/openrisc/include/asm/pgalloc.h
61
return (pgd_t *)get_zeroed_page(GFP_KERNEL);
arch/openrisc/include/asm/pgtable.h
352
extern pgd_t swapper_pg_dir[PTRS_PER_PGD]; /* defined in head.S */
arch/openrisc/mm/fault.c
295
pgd_t *pgd, *pgd_k;
arch/openrisc/mm/fault.c
308
pgd = (pgd_t *)current_pgd[smp_processor_id()] + offset;
arch/openrisc/mm/fault.c
32
volatile pgd_t *current_pgd[NR_CPUS];
arch/openrisc/mm/init.c
63
pgd_t *pge;
arch/parisc/include/asm/page.h
52
#define __pgd(x) ((pgd_t) { (x) } )
arch/parisc/include/asm/pgalloc.h
17
static inline pgd_t *pgd_alloc(struct mm_struct *mm)
arch/parisc/include/asm/pgtable.h
259
extern pgd_t swapper_pg_dir[]; /* declared in init_task.c */
arch/parisc/kernel/cache.c
413
pgd_t *pgd = mm->pgd;
arch/parisc/kernel/pci-dma.c
130
pgd_t * dir;
arch/parisc/kernel/pci-dma.c
189
static inline void unmap_uncached_pmd(pgd_t * dir, unsigned long vaddr,
arch/parisc/kernel/pci-dma.c
218
pgd_t * dir;
arch/parisc/mm/fixmap.c
16
pgd_t *pgd = pgd_offset_k(vaddr);
arch/parisc/mm/hugetlbpage.c
29
pgd_t *pgd;
arch/parisc/mm/hugetlbpage.c
56
pgd_t *pgd;
arch/parisc/mm/init.c
374
pgd_t *pgd = pgd_offset_k(vaddr);
arch/parisc/mm/init.c
46
pgd_t swapper_pg_dir[PTRS_PER_PGD] __section(".data..vm0.pgd") __attribute__ ((aligned(PAGE_SIZE)));
arch/parisc/mm/init.c
550
BUILD_BUG_ON(PGD_ENTRY_SIZE != sizeof(pgd_t));
arch/parisc/mm/init.c
671
pgd_t *pgd = pgd_offset_k(addr);
arch/powerpc/include/asm/book3s/32/pgalloc.h
10
pgd_t *pgd = kmem_cache_alloc(PGT_CACHE(PGD_INDEX_SIZE),
arch/powerpc/include/asm/book3s/32/pgalloc.h
15
(MAX_PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t));
arch/powerpc/include/asm/book3s/32/pgalloc.h
20
static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd)
arch/powerpc/include/asm/book3s/32/pgalloc.h
8
static inline pgd_t *pgd_alloc(struct mm_struct *mm)
arch/powerpc/include/asm/book3s/32/pgtable.h
109
#define PGD_TABLE_SIZE (sizeof(pgd_t) << PGD_INDEX_SIZE)
arch/powerpc/include/asm/book3s/64/hash-4k.h
39
#define H_PGD_TABLE_SIZE (sizeof(pgd_t) << H_PGD_INDEX_SIZE)
arch/powerpc/include/asm/book3s/64/hash-64k.h
199
#define H_PGD_TABLE_SIZE (sizeof(pgd_t) << PGD_INDEX_SIZE)
arch/powerpc/include/asm/book3s/64/pgalloc.h
25
static inline pgd_t *radix__pgd_alloc(struct mm_struct *mm)
arch/powerpc/include/asm/book3s/64/pgalloc.h
28
return (pgd_t *)__get_free_page(pgtable_gfp_flags(mm, PGALLOC_GFP));
arch/powerpc/include/asm/book3s/64/pgalloc.h
35
return (pgd_t *) page_address(page);
arch/powerpc/include/asm/book3s/64/pgalloc.h
39
static inline void radix__pgd_free(struct mm_struct *mm, pgd_t *pgd)
arch/powerpc/include/asm/book3s/64/pgalloc.h
48
static inline pgd_t *pgd_alloc(struct mm_struct *mm)
arch/powerpc/include/asm/book3s/64/pgalloc.h
50
pgd_t *pgd;
arch/powerpc/include/asm/book3s/64/pgalloc.h
81
static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd)
arch/powerpc/include/asm/book3s/64/radix.h
139
#define RADIX_PGD_TABLE_SIZE (sizeof(pgd_t) << RADIX_PGD_INDEX_SIZE)
arch/powerpc/include/asm/kvm_book3s.h
210
extern void kvmppc_free_pgtable_radix(struct kvm *kvm, pgd_t *pgd,
arch/powerpc/include/asm/kvm_book3s.h
253
pgd_t *pgdir, bool realmode, unsigned long *idx_ret);
arch/powerpc/include/asm/kvm_book3s_64.h
27
pgd_t *shadow_pgtable; /* our page table for this guest */
arch/powerpc/include/asm/kvm_book3s_64.h
625
extern int kvmppc_create_pte(struct kvm *kvm, pgd_t *pgtable, pte_t pte,
arch/powerpc/include/asm/kvm_host.h
302
pgd_t *pgtable;
arch/powerpc/include/asm/kvm_host.h
738
pgd_t *pgdir;
arch/powerpc/include/asm/nohash/32/pgtable.h
26
#define PGD_TABLE_SIZE (sizeof(pgd_t) << PGD_INDEX_SIZE)
arch/powerpc/include/asm/nohash/64/pgtable-4k.h
21
#define PGD_TABLE_SIZE (sizeof(pgd_t) << PGD_INDEX_SIZE)
arch/powerpc/include/asm/nohash/pgalloc.h
20
static inline pgd_t *pgd_alloc(struct mm_struct *mm)
arch/powerpc/include/asm/nohash/pgalloc.h
22
pgd_t *pgd = kmem_cache_alloc(PGT_CACHE(PGD_INDEX_SIZE),
arch/powerpc/include/asm/nohash/pgalloc.h
27
(MAX_PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t));
arch/powerpc/include/asm/nohash/pgalloc.h
32
static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd)
arch/powerpc/include/asm/paca.h
131
pgd_t *pgd __aligned(0x40); /* Current PGD */
arch/powerpc/include/asm/paca.h
132
pgd_t *kernel_pgd; /* Kernel PGD */
arch/powerpc/include/asm/page_32.h
53
#define PGD_T_LOG2 (__builtin_ffs(sizeof(pgd_t)) - 1)
arch/powerpc/include/asm/pgtable-be-types.h
54
#define __pgd(x) ((pgd_t) { cpu_to_be64(x) })
arch/powerpc/include/asm/pgtable-be-types.h
55
#define __pgd_raw(x) ((pgd_t) { (x) })
arch/powerpc/include/asm/pgtable-be-types.h
56
static inline unsigned long pgd_val(pgd_t x)
arch/powerpc/include/asm/pgtable-be-types.h
61
static inline __be64 pgd_raw(pgd_t x)
arch/powerpc/include/asm/pgtable-types.h
55
static inline unsigned long long pgd_val(pgd_t x)
arch/powerpc/include/asm/pgtable-types.h
62
static inline unsigned long pgd_val(pgd_t x)
arch/powerpc/include/asm/pgtable-types.h
67
#define __pgd(x) ((pgd_t) { (x) })
arch/powerpc/include/asm/pgtable.h
86
extern pgd_t swapper_pg_dir[];
arch/powerpc/include/asm/pte-walk.h
10
static inline pte_t *find_linux_pte(pgd_t *pgdir, unsigned long ea,
arch/powerpc/include/asm/pte-walk.h
31
pgd_t *pgdir = init_mm.pgd;
arch/powerpc/include/asm/pte-walk.h
7
extern pte_t *__find_linux_pte(pgd_t *pgdir, unsigned long ea,
arch/powerpc/kvm/book3s_64_mmu_radix.c
1288
pgd_t *pgt;
arch/powerpc/kvm/book3s_64_mmu_radix.c
1290
pgd_t *pgdp;
arch/powerpc/kvm/book3s_64_mmu_radix.c
548
void kvmppc_free_pgtable_radix(struct kvm *kvm, pgd_t *pgd, u64 lpid)
arch/powerpc/kvm/book3s_64_mmu_radix.c
615
int kvmppc_create_pte(struct kvm *kvm, pgd_t *pgtable, pte_t pte,
arch/powerpc/kvm/book3s_64_mmu_radix.c
620
pgd_t *pgd;
arch/powerpc/kvm/book3s_hv_rm_mmu.c
186
pgd_t *pgdir, bool realmode, unsigned long *pte_idx_ret)
arch/powerpc/kvm/e500_mmu_host.c
336
pgd_t *pgdir;
arch/powerpc/lib/code-patching.c
252
pgd_t *pgdp;
arch/powerpc/mm/book3s64/hash_pgtable.c
150
pgd_t *pgdp;
arch/powerpc/mm/book3s64/hash_utils.c
1725
pgd_t *pgdir;
arch/powerpc/mm/book3s64/hash_utils.c
2036
pgd_t *pgdir;
arch/powerpc/mm/book3s64/radix_pgtable.c
1119
pgd_t *pgd;
arch/powerpc/mm/book3s64/radix_pgtable.c
1224
pgd_t *pgd;
arch/powerpc/mm/book3s64/radix_pgtable.c
1256
pgd_t *pgd;
arch/powerpc/mm/book3s64/radix_pgtable.c
131
pgd_t *pgdp;
arch/powerpc/mm/book3s64/radix_pgtable.c
1319
pgd_t *pgd;
arch/powerpc/mm/book3s64/radix_pgtable.c
192
pgd_t *pgdp;
arch/powerpc/mm/book3s64/radix_pgtable.c
79
pgd_t *pgdp;
arch/powerpc/mm/book3s64/radix_pgtable.c
900
pgd_t *pgd;
arch/powerpc/mm/book3s64/subpage_prot.c
56
pgd_t *pgd;
arch/powerpc/mm/init-common.c
121
unsigned long table_size = sizeof(pgd_t) << shift;
arch/powerpc/mm/init-common.c
77
memset(addr, 0, sizeof(pgd_t) << (shift)); \
arch/powerpc/mm/kasan/init_book3e_64.c
34
pgd_t *pgdp;
arch/powerpc/mm/kasan/init_book3e_64.c
86
pgd_t *pgd = pgd_offset_k(KASAN_SHADOW_START);
arch/powerpc/mm/nohash/book3e_pgtable.c
76
pgd_t *pgdp;
arch/powerpc/mm/nohash/mmu_context.c
203
static void set_context(unsigned long id, pgd_t *pgd)
arch/powerpc/mm/pgtable.c
33
#define PGD_ALIGN (sizeof(pgd_t) * MAX_PTRS_PER_PGD)
arch/powerpc/mm/pgtable.c
38
pgd_t swapper_pg_dir[MAX_PTRS_PER_PGD] __section(".bss..page_aligned") __aligned(PGD_ALIGN);
arch/powerpc/mm/pgtable.c
389
pgd_t *pgd;
arch/powerpc/mm/pgtable.c
440
pte_t *__find_linux_pte(pgd_t *pgdir, unsigned long ea,
arch/powerpc/mm/pgtable.c
443
pgd_t *pgdp;
arch/powerpc/mm/ptdump/hashpagetable.c
442
static void walk_p4d(struct pg_state *st, pgd_t *pgd, unsigned long start)
arch/powerpc/mm/ptdump/hashpagetable.c
458
pgd_t *pgd = pgd_offset_k(0UL);
arch/powerpc/mm/ptdump/ptdump.c
322
static void note_page_pgd(struct ptdump_state *pt_st, unsigned long addr, pgd_t pgd)
arch/powerpc/xmon/xmon.c
3289
pgd_t *pgdp;
arch/riscv/include/asm/kvm_gstage.h
17
pgd_t *pgd;
arch/riscv/include/asm/kvm_host.h
95
pgd_t *pgd;
arch/riscv/include/asm/mmu.h
41
void __meminit create_pgd_mapping(pgd_t *pgdp, uintptr_t va, phys_addr_t pa, phys_addr_t sz,
arch/riscv/include/asm/page.h
80
#define __pgd(x) ((pgd_t) { (x) })
arch/riscv/include/asm/pgalloc.h
104
static inline void sync_kernel_mappings(pgd_t *pgd)
arch/riscv/include/asm/pgalloc.h
108
(PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t));
arch/riscv/include/asm/pgalloc.h
111
static inline pgd_t *pgd_alloc(struct mm_struct *mm)
arch/riscv/include/asm/pgalloc.h
113
pgd_t *pgd;
arch/riscv/include/asm/pgalloc.h
62
static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgd, p4d_t *p4d)
arch/riscv/include/asm/pgalloc.h
71
static inline void pgd_populate_safe(struct mm_struct *mm, pgd_t *pgd,
arch/riscv/include/asm/pgtable-64.h
343
static inline void set_pgd(pgd_t *pgdp, pgd_t pgd)
arch/riscv/include/asm/pgtable-64.h
351
static inline int pgd_none(pgd_t pgd)
arch/riscv/include/asm/pgtable-64.h
359
static inline int pgd_present(pgd_t pgd)
arch/riscv/include/asm/pgtable-64.h
367
static inline int pgd_bad(pgd_t pgd)
arch/riscv/include/asm/pgtable-64.h
375
static inline void pgd_clear(pgd_t *pgd)
arch/riscv/include/asm/pgtable-64.h
381
static inline p4d_t *pgd_pgtable(pgd_t pgd)
arch/riscv/include/asm/pgtable-64.h
390
static inline struct page *pgd_page(pgd_t pgd)
arch/riscv/include/asm/pgtable-64.h
399
p4d_t *p4d_offset(pgd_t *pgd, unsigned long address);
arch/riscv/include/asm/pgtable.h
207
extern pgd_t swapper_pg_dir[];
arch/riscv/include/asm/pgtable.h
208
extern pgd_t trampoline_pg_dir[];
arch/riscv/include/asm/pgtable.h
209
extern pgd_t early_pg_dir[];
arch/riscv/include/asm/pgtable.h
255
static inline pgd_t pfn_pgd(unsigned long pfn, pgprot_t prot)
arch/riscv/include/asm/pgtable.h
264
static inline unsigned long _pgd_pfn(pgd_t pgd)
arch/riscv/include/asm/pgtable.h
33
#define PTRS_PER_PGD (PAGE_SIZE / sizeof(pgd_t))
arch/riscv/kernel/hibernate.c
273
static int temp_pgtable_map_p4d(pgd_t *dst_pgdp, pgd_t *src_pgdp, unsigned long start,
arch/riscv/kernel/hibernate.c
312
static int temp_pgtable_mapping(pgd_t *pgdp, unsigned long start, unsigned long end, pgprot_t prot)
arch/riscv/kernel/hibernate.c
314
pgd_t *dst_pgdp = pgd_offset_pgd(pgdp, start);
arch/riscv/kernel/hibernate.c
315
pgd_t *src_pgdp = pgd_offset_k(start);
arch/riscv/kernel/hibernate.c
32
static pgd_t *resume_pg_dir;
arch/riscv/kernel/hibernate.c
320
pgd_t pgd = READ_ONCE(*src_pgdp);
arch/riscv/kernel/hibernate.c
364
resume_pg_dir = (pgd_t *)get_safe_page(GFP_ATOMIC);
arch/riscv/kvm/mmu.c
371
pgd_t pgd;
arch/riscv/mm/fault.c
170
pgd_t *pgd, *pgd_k;
arch/riscv/mm/fault.c
192
pgd = (pgd_t *)pfn_to_virt(pfn) + index;
arch/riscv/mm/fault.c
30
pgd_t *pgdp, pgd;
arch/riscv/mm/hugetlbpage.c
37
pgd_t *pgd;
arch/riscv/mm/hugetlbpage.c
90
pgd_t *pgd;
arch/riscv/mm/init.c
1480
pgd_t *pgd = pgd_offset_k(addr);
arch/riscv/mm/init.c
1766
pgd_t *pgd;
arch/riscv/mm/init.c
357
pgd_t swapper_pg_dir[PTRS_PER_PGD] __page_aligned_bss;
arch/riscv/mm/init.c
358
pgd_t trampoline_pg_dir[PTRS_PER_PGD] __page_aligned_bss;
arch/riscv/mm/init.c
361
pgd_t early_pg_dir[PTRS_PER_PGD] __initdata __aligned(PAGE_SIZE);
arch/riscv/mm/init.c
365
#define trampoline_pg_dir ((pgd_t *)XIP_FIXUP(trampoline_pg_dir))
arch/riscv/mm/init.c
367
#define early_pg_dir ((pgd_t *)XIP_FIXUP(early_pg_dir))
arch/riscv/mm/init.c
716
void __meminit create_pgd_mapping(pgd_t *pgdp, uintptr_t va, phys_addr_t pa, phys_addr_t sz,
arch/riscv/mm/init.c
938
static void __init create_kernel_page_table(pgd_t *pgdir,
arch/riscv/mm/init.c
959
static void __init create_kernel_page_table(pgd_t *pgdir, bool early)
arch/riscv/mm/kasan_init.c
111
static void __init kasan_populate_p4d(pgd_t *pgd,
arch/riscv/mm/kasan_init.c
142
static void __init kasan_populate_pgd(pgd_t *pgdp,
arch/riscv/mm/kasan_init.c
190
static void __init kasan_early_clear_p4d(pgd_t *pgdp,
arch/riscv/mm/kasan_init.c
216
static void __init kasan_early_clear_pgd(pgd_t *pgdp,
arch/riscv/mm/kasan_init.c
25
static pgd_t tmp_pg_dir[PTRS_PER_PGD] __page_aligned_bss;
arch/riscv/mm/kasan_init.c
263
static void __init kasan_early_populate_p4d(pgd_t *pgdp,
arch/riscv/mm/kasan_init.c
301
static void __init kasan_early_populate_pgd(pgd_t *pgdp,
arch/riscv/mm/kasan_init.c
397
static void __init kasan_shallow_populate_p4d(pgd_t *pgd,
arch/riscv/mm/kasan_init.c
421
pgd_t *pgd_k = pgd_offset_k(vaddr);
arch/riscv/mm/kasan_init.c
461
memcpy(tmp_pg_dir, swapper_pg_dir, sizeof(pgd_t) * PTRS_PER_PGD);
arch/riscv/mm/pageattr.c
180
static int __split_linear_mapping_p4d(pgd_t *pgdp,
arch/riscv/mm/pageattr.c
238
static int __split_linear_mapping_pgd(pgd_t *pgdp,
arch/riscv/mm/pageattr.c
438
pgd_t *pgd;
arch/riscv/mm/pgtable.c
52
p4d_t *p4d_offset(pgd_t *pgd, unsigned long address)
arch/riscv/mm/ptdump.c
340
static void note_page_pgd(struct ptdump_state *pt_st, unsigned long addr, pgd_t pgd)
arch/s390/boot/vmem.c
137
static bool kasan_pgd_populate_zero_shadow(pgd_t *pgd, unsigned long addr,
arch/s390/boot/vmem.c
195
static inline bool kasan_pgd_populate_zero_shadow(pgd_t *pgd, unsigned long addr,
arch/s390/boot/vmem.c
418
static void pgtable_p4d_populate(pgd_t *pgd, unsigned long addr, unsigned long end,
arch/s390/boot/vmem.c
441
pgd_t *pgd;
arch/s390/boot/vmem.c
474
pgd_t *init_mm_pgd;
arch/s390/boot/vmem.c
492
init_mm.pgd = (pgd_t *)swapper_pg_dir;
arch/s390/include/asm/page.h
123
#define __pgd(x) ((pgd_t) { (x) } )
arch/s390/include/asm/pgalloc.h
118
static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgd, p4d_t *p4d)
arch/s390/include/asm/pgalloc.h
133
static inline pgd_t *pgd_alloc_noprof(struct mm_struct *mm)
arch/s390/include/asm/pgalloc.h
141
return (pgd_t *) table;
arch/s390/include/asm/pgalloc.h
145
static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd)
arch/s390/include/asm/pgtable.h
1402
static inline pgd_t *pgd_offset_raw(pgd_t *pgd, unsigned long address)
arch/s390/include/asm/pgtable.h
1416
static inline p4d_t *p4d_offset_lockless(pgd_t *pgdp, pgd_t pgd, unsigned long address)
arch/s390/include/asm/pgtable.h
1424
static inline p4d_t *p4d_offset(pgd_t *pgdp, unsigned long address)
arch/s390/include/asm/pgtable.h
26
extern pgd_t swapper_pg_dir[];
arch/s390/include/asm/pgtable.h
27
extern pgd_t invalid_pg_dir[];
arch/s390/include/asm/pgtable.h
656
static inline int pgd_folded(pgd_t pgd)
arch/s390/include/asm/pgtable.h
661
static inline int pgd_present(pgd_t pgd)
arch/s390/include/asm/pgtable.h
668
static inline int pgd_none(pgd_t pgd)
arch/s390/include/asm/pgtable.h
675
static inline int pgd_bad(pgd_t pgd)
arch/s390/include/asm/pgtable.h
682
static inline unsigned long pgd_pfn(pgd_t pgd)
arch/s390/include/asm/pgtable.h
959
static inline void set_pgd(pgd_t *pgdp, pgd_t pgd)
arch/s390/include/asm/pgtable.h
984
static inline void pgd_clear(pgd_t *pgd)
arch/s390/mm/dump_pagetables.c
170
static void note_page_pgd(struct ptdump_state *pt_st, unsigned long addr, pgd_t pgd)
arch/s390/mm/gmap_helpers.c
119
pgd_t *pgdp, pgd;
arch/s390/mm/hugetlbpage.c
184
pgd_t *pgdp;
arch/s390/mm/hugetlbpage.c
206
pgd_t *pgdp;
arch/s390/mm/init.c
54
pgd_t swapper_pg_dir[PTRS_PER_PGD] __section(".bss..swapper_pg_dir");
arch/s390/mm/init.c
55
pgd_t invalid_pg_dir[PTRS_PER_PGD] __section(".bss..invalid_pg_dir");
arch/s390/mm/pageattr.c
285
static int walk_p4d_level(pgd_t *pgd, unsigned long addr, unsigned long end,
arch/s390/mm/pageattr.c
312
pgd_t *pgdp;
arch/s390/mm/pgalloc.c
89
mm->pgd = (pgd_t *) p4d;
arch/s390/mm/pgalloc.c
97
pgd_populate(mm, (pgd_t *) pgd, (p4d_t *) __pgd);
arch/s390/mm/pgalloc.c
98
mm->pgd = (pgd_t *) pgd;
arch/s390/mm/vmem.c
385
static int modify_p4d_table(pgd_t *pgd, unsigned long addr, unsigned long end,
arch/s390/mm/vmem.c
416
static void try_free_p4d_table(pgd_t *pgd, unsigned long start)
arch/s390/mm/vmem.c
435
pgd_t *pgd;
arch/s390/mm/vmem.c
578
pgd_t *pgd;
arch/sh/include/asm/mmu_context_32.h
42
static inline void set_TTB(pgd_t *pgd)
arch/sh/include/asm/mmu_context_32.h
47
static inline pgd_t *get_TTB(void)
arch/sh/include/asm/mmu_context_32.h
49
return (pgd_t *)__raw_readl(MMU_TTB);
arch/sh/include/asm/page.h
81
#define __pgd(x) ((pgd_t) { (x) } )
arch/sh/include/asm/pgalloc.h
13
extern pgd_t *pgd_alloc(struct mm_struct *);
arch/sh/include/asm/pgalloc.h
14
extern void pgd_free(struct mm_struct *mm, pgd_t *pgd);
arch/sh/include/asm/pgtable.h
116
extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
arch/sh/include/asm/pgtable.h
119
pgd_t *pgd);
arch/sh/kernel/io_trapped.c
136
pgd_t *pgd_k;
arch/sh/mm/fault.c
120
static inline pmd_t *vmalloc_sync_one(pgd_t *pgd, unsigned long address)
arch/sh/mm/fault.c
123
pgd_t *pgd_k;
arch/sh/mm/fault.c
178
pgd_t *pgd_k;
arch/sh/mm/fault.c
39
pgd_t *pgd;
arch/sh/mm/hugetlbpage.c
27
pgd_t *pgd;
arch/sh/mm/hugetlbpage.c
52
pgd_t *pgd;
arch/sh/mm/init.c
168
pgd_t *pgd_base)
arch/sh/mm/init.c
170
pgd_t *pgd;
arch/sh/mm/init.c
34
pgd_t swapper_pg_dir[PTRS_PER_PGD];
arch/sh/mm/init.c
49
pgd_t *pgd;
arch/sh/mm/nommu.c
94
pgd_t *pgd_base)
arch/sh/mm/pgtable.c
14
pgd_t *pgd = x;
arch/sh/mm/pgtable.c
16
memset(pgd, 0, USER_PTRS_PER_PGD * sizeof(pgd_t));
arch/sh/mm/pgtable.c
19
(PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t));
arch/sh/mm/pgtable.c
34
pgd_t *pgd_alloc(struct mm_struct *mm)
arch/sh/mm/pgtable.c
39
void pgd_free(struct mm_struct *mm, pgd_t *pgd)
arch/sh/mm/tlbex_32.c
26
pgd_t *pgd;
arch/sparc/include/asm/page_32.h
72
#define __pgd(x) ((pgd_t) { (x) } )
arch/sparc/include/asm/page_64.h
85
#define __pgd(x) ((pgd_t) { (x) } )
arch/sparc/include/asm/pgalloc_32.h
20
pgd_t *get_pgd_fast(void);
arch/sparc/include/asm/pgalloc_32.h
21
static inline void free_pgd_fast(pgd_t *pgd)
arch/sparc/include/asm/pgalloc_64.h
26
static inline pgd_t *pgd_alloc(struct mm_struct *mm)
arch/sparc/include/asm/pgalloc_64.h
31
static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd)
arch/sparc/include/asm/pgtable_64.h
972
extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
arch/sparc/kernel/signal32.c
299
pgd_t *pgdp;
arch/sparc/mm/fault_32.c
273
pgd_t *pgd, *pgd_k;
arch/sparc/mm/fault_64.c
81
pgd_t *pgdp = pgd_offset(current->mm, tpc);
arch/sparc/mm/hugetlbpage.c
193
pgd_t *pgd;
arch/sparc/mm/hugetlbpage.c
216
pgd_t *pgd;
arch/sparc/mm/init_64.c
1622
pgd_t *pgd;
arch/sparc/mm/init_64.c
1773
pgd_t *pgd = pgd_offset_k(vstart);
arch/sparc/mm/init_64.c
2396
init_mm.pgd += ((shift) / (sizeof(pgd_t)));
arch/sparc/mm/init_64.c
2588
pgd_t *pgd = vmemmap_pgd_populate(vstart, node);
arch/sparc/mm/srmmu.c
110
static inline void srmmu_ctxd_set(ctxd_t *ctxp, pgd_t *pgdp)
arch/sparc/mm/srmmu.c
270
pgd_t *pgd;
arch/sparc/mm/srmmu.c
320
pgd_t *get_pgd_fast(void)
arch/sparc/mm/srmmu.c
322
pgd_t *pgd = NULL;
arch/sparc/mm/srmmu.c
326
pgd_t *init = pgd_offset_k(0);
arch/sparc/mm/srmmu.c
327
memset(pgd, 0, USER_PTRS_PER_PGD * sizeof(pgd_t));
arch/sparc/mm/srmmu.c
329
(PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t));
arch/sparc/mm/srmmu.c
489
pgd_t *pgdp;
arch/sparc/mm/srmmu.c
528
pgd_t *pgdp;
arch/sparc/mm/srmmu.c
64
static pgd_t *srmmu_swapper_pg_dir;
arch/sparc/mm/srmmu.c
675
pgd_t *pgdp;
arch/sparc/mm/srmmu.c
710
pgd_t *pgdp;
arch/sparc/mm/srmmu.c
769
pgd_t *pgdp;
arch/sparc/mm/srmmu.c
842
pgd_t *pgdp = pgd_offset_k(vaddr);
arch/sparc/mm/srmmu.c
899
pgd_t *pgd;
arch/um/include/asm/page.h
68
#define __pgd(x) ((pgd_t) { (x) } )
arch/um/include/asm/pgalloc.h
26
extern pgd_t *pgd_alloc(struct mm_struct *);
arch/um/include/asm/pgtable-2level.h
34
static inline int pgd_needsync(pgd_t pgd) { return 0; }
arch/um/include/asm/pgtable-2level.h
35
static inline void pgd_mkuptodate(pgd_t pgd) { }
arch/um/include/asm/pgtable-4level.h
75
static inline int pgd_needsync(pgd_t pgd)
arch/um/include/asm/pgtable-4level.h
80
static inline void pgd_mkuptodate(pgd_t pgd) { pgd_val(pgd) &= ~_PAGE_NEEDSYNC; }
arch/um/include/asm/pgtable.h
35
extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
arch/um/kernel/mem.c
112
pgd_t *pgd_alloc(struct mm_struct *mm)
arch/um/kernel/mem.c
114
pgd_t *pgd = __pgd_alloc(mm, 0);
arch/um/kernel/mem.c
119
(PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t));
arch/um/kernel/mem.c
55
pgd_t swapper_pg_dir[PTRS_PER_PGD];
arch/um/kernel/skas/uaccess.c
19
pgd_t *pgd;
arch/um/kernel/tlb.c
138
static inline int update_p4d_range(pgd_t *pgd, unsigned long addr,
arch/um/kernel/tlb.c
163
pgd_t *pgd;
arch/x86/boot/compressed/ident_map_64.c
104
ret = kernel_ident_mapping_init(&mapping_info, (pgd_t *)top_level_pgt, start, end);
arch/x86/boot/compressed/ident_map_64.c
143
if (p4d_offset((pgd_t *)top_level_pgt, 0) == (p4d_t *)_pgtable) {
arch/x86/boot/compressed/ident_map_64.c
259
pgd_t *pgdp = (pgd_t *)top_level_pgt;
arch/x86/boot/compressed/pgtable_64.c
175
pgd_t *pgdp;
arch/x86/boot/compressed/pgtable_64.c
185
pgdp = (pgd_t *)native_read_cr3_pa();
arch/x86/boot/startup/sme.c
103
pgd_size = (((pgd_end - pgd_start) / PGDIR_SIZE) + 1) * sizeof(pgd_t);
arch/x86/boot/startup/sme.c
112
pgd_t *pgd;
arch/x86/boot/startup/sme.c
354
pgtable_area_len = sizeof(pgd_t) * PTRS_PER_PGD;
arch/x86/boot/startup/sme.c
385
ppd.pgd = (pgd_t *)native_read_cr3_pa();
arch/x86/boot/startup/sme.c
401
memset(ppd.pgd, 0, sizeof(pgd_t) * PTRS_PER_PGD);
arch/x86/boot/startup/sme.c
402
ppd.pgtable_area += sizeof(pgd_t) * PTRS_PER_PGD;
arch/x86/boot/startup/sme.c
572
pgd_t __pti_set_user_pgtbl(pgd_t *pgdp, pgd_t pgd)
arch/x86/boot/startup/sme.c
72
pgd_t *pgd;
arch/x86/boot/startup/sme.c
98
pgd_t *pgd_p;
arch/x86/coco/sev/core.c
943
int __init sev_es_efi_map_ghcbs_cas(pgd_t *pgd)
arch/x86/coco/sev/vc-handle.c
45
pgd_t *pgd;
arch/x86/entry/vsyscall/vsyscall_64.c
344
void __init set_vsyscall_pgtable_user_bits(pgd_t *root)
arch/x86/entry/vsyscall/vsyscall_64.c
346
pgd_t *pgd;
arch/x86/hyperv/hv_crash.c
117
pgd_t *pgd;
arch/x86/hyperv/hv_crash.c
228
pgd_t *pgd;
arch/x86/include/asm/init.h
15
int kernel_ident_mapping_init(struct x86_mapping_info *info, pgd_t *pgd_page,
arch/x86/include/asm/init.h
18
void kernel_ident_mapping_free(struct x86_mapping_info *info, pgd_t *pgd);
arch/x86/include/asm/kexec.h
140
pgd_t *pgd;
arch/x86/include/asm/kexec.h
154
pgd_t *pgd;
arch/x86/include/asm/paravirt.h
292
static inline void paravirt_pgd_free(struct mm_struct *mm, pgd_t *pgd)
arch/x86/include/asm/paravirt.h
347
static inline pgd_t __pgd(pgdval_t val)
arch/x86/include/asm/paravirt.h
349
return (pgd_t) { PVOP_ALT_CALLEE1(pgdval_t, pv_ops, mmu.make_pgd, val,
arch/x86/include/asm/paravirt.h
353
static inline pgdval_t pgd_val(pgd_t pgd)
arch/x86/include/asm/paravirt.h
446
static inline void __set_pgd(pgd_t *pgdp, pgd_t pgd)
arch/x86/include/asm/paravirt_types.h
131
void (*pgd_free)(struct mm_struct *mm, pgd_t *pgd);
arch/x86/include/asm/paravirt_types.h
174
void (*set_pgd)(pgd_t *pgdp, pgd_t pgdval);
arch/x86/include/asm/pgalloc.h
132
static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgd, p4d_t *p4d)
arch/x86/include/asm/pgalloc.h
140
static inline void pgd_populate_safe(struct mm_struct *mm, pgd_t *pgd, p4d_t *p4d)
arch/x86/include/asm/pgalloc.h
21
static inline void paravirt_pgd_free(struct mm_struct *mm, pgd_t *pgd) {}
arch/x86/include/asm/pgalloc.h
49
extern pgd_t *pgd_alloc(struct mm_struct *);
arch/x86/include/asm/pgalloc.h
50
extern void pgd_free(struct mm_struct *mm, pgd_t *pgd);
arch/x86/include/asm/pgtable.h
1117
static inline int pgd_present(pgd_t pgd)
arch/x86/include/asm/pgtable.h
1124
static inline unsigned long pgd_page_vaddr(pgd_t pgd)
arch/x86/include/asm/pgtable.h
1136
static inline p4d_t *p4d_offset(pgd_t *pgd, unsigned long address)
arch/x86/include/asm/pgtable.h
1143
static inline int pgd_bad(pgd_t pgd)
arch/x86/include/asm/pgtable.h
1156
static inline int pgd_none(pgd_t pgd)
arch/x86/include/asm/pgtable.h
1185
extern pgd_t trampoline_pgd_entry;
arch/x86/include/asm/pgtable.h
1404
return (((ptr & ~PAGE_MASK) / sizeof(pgd_t)) < PGD_KERNEL_START);
arch/x86/include/asm/pgtable.h
1435
static inline pgd_t *kernel_to_user_pgdp(pgd_t *pgdp)
arch/x86/include/asm/pgtable.h
1440
static inline pgd_t *user_to_kernel_pgdp(pgd_t *pgdp)
arch/x86/include/asm/pgtable.h
1466
static inline void clone_pgd_range(pgd_t *dst, pgd_t *src, int count)
arch/x86/include/asm/pgtable.h
1468
memcpy(dst, src, count * sizeof(pgd_t));
arch/x86/include/asm/pgtable.h
1474
count * sizeof(pgd_t));
arch/x86/include/asm/pgtable.h
27
extern pgd_t early_top_pgt[PTRS_PER_PGD];
arch/x86/include/asm/pgtable.h
291
static inline unsigned long pgd_pfn(pgd_t pgd)
arch/x86/include/asm/pgtable.h
913
pgd_t __pti_set_user_pgtbl(pgd_t *pgdp, pgd_t pgd);
arch/x86/include/asm/pgtable.h
920
static inline pgd_t pti_set_user_pgtbl(pgd_t *pgdp, pgd_t pgd)
arch/x86/include/asm/pgtable.h
927
static inline pgd_t pti_set_user_pgtbl(pgd_t *pgdp, pgd_t pgd)
arch/x86/include/asm/pgtable_32.h
27
extern pgd_t swapper_pg_dir[1024];
arch/x86/include/asm/pgtable_32.h
28
extern pgd_t initial_page_table[1024];
arch/x86/include/asm/pgtable_64.h
140
pgd_t pgd;
arch/x86/include/asm/pgtable_64.h
149
pgd = pti_set_user_pgtbl((pgd_t *)p4dp, pgd);
arch/x86/include/asm/pgtable_64.h
158
static inline void native_set_pgd(pgd_t *pgdp, pgd_t pgd)
arch/x86/include/asm/pgtable_64.h
163
static inline void native_pgd_clear(pgd_t *pgd)
arch/x86/include/asm/pgtable_64.h
25
extern pgd_t init_top_pgt[];
arch/x86/include/asm/pgtable_64_types.h
191
#define PGD_KERNEL_START ((PAGE_SIZE / 2) / sizeof(pgd_t))
arch/x86/include/asm/pgtable_types.h
326
static inline pgd_t native_make_pgd(pgdval_t val)
arch/x86/include/asm/pgtable_types.h
328
return (pgd_t) { val & PGD_ALLOWED_BITS };
arch/x86/include/asm/pgtable_types.h
331
static inline pgdval_t native_pgd_val(pgd_t pgd)
arch/x86/include/asm/pgtable_types.h
336
static inline pgdval_t pgd_flags(pgd_t pgd)
arch/x86/include/asm/pgtable_types.h
567
extern pte_t *lookup_address_in_pgd(pgd_t *pgd, unsigned long address,
arch/x86/include/asm/pgtable_types.h
569
pte_t *lookup_address_in_pgd_attr(pgd_t *pgd, unsigned long address,
arch/x86/include/asm/pgtable_types.h
573
extern int __init kernel_map_pages_in_pgd(pgd_t *pgd, u64 pfn,
arch/x86/include/asm/pgtable_types.h
577
extern int __init kernel_unmap_pages_in_pgd(pgd_t *pgd, unsigned long address,
arch/x86/include/asm/processor.h
249
static inline void load_cr3(pgd_t *pgdir)
arch/x86/include/asm/sev.h
464
extern int __init sev_es_efi_map_ghcbs_cas(pgd_t *pgd);
arch/x86/include/asm/sev.h
607
static inline int sev_es_efi_map_ghcbs_cas(pgd_t *pgd) { return 0; }
arch/x86/include/asm/vsyscall.h
11
extern void set_vsyscall_pgtable_user_bits(pgd_t *root);
arch/x86/kernel/acpi/madt_wakeup.c
82
pgd_t *pgd;
arch/x86/kernel/espfix_64.c
106
pgd_t *pgd;
arch/x86/kernel/head32.c
100
typedef pgd_t pl2_t;
arch/x86/kernel/head64.c
73
memset(early_top_pgt, 0, sizeof(pgd_t)*(PTRS_PER_PGD-1));
arch/x86/kernel/ldt.c
215
static pmd_t *pgd_to_pmd_walk(pgd_t *pgd, unsigned long va)
arch/x86/kernel/ldt.c
236
pgd_t *k_pgd = pgd_offset(mm, LDT_BASE_ADDR);
arch/x86/kernel/ldt.c
237
pgd_t *u_pgd = kernel_to_user_pgdp(k_pgd);
arch/x86/kernel/ldt.c
249
pgd_t *k_pgd = pgd_offset(mm, LDT_BASE_ADDR);
arch/x86/kernel/ldt.c
250
pgd_t *u_pgd = kernel_to_user_pgdp(k_pgd);
arch/x86/kernel/ldt.c
266
pgd_t *pgd = pgd_offset(mm, LDT_BASE_ADDR);
arch/x86/kernel/ldt.c
274
pgd_t *pgd = pgd_offset(mm, LDT_BASE_ADDR);
arch/x86/kernel/machine_kexec_32.c
61
image->arch.pgd = (pgd_t *)__get_free_pages(GFP_KERNEL | __GFP_ZERO,
arch/x86/kernel/machine_kexec_32.c
80
pgd_t *pgd, pmd_t *pmd, pte_t *pte,
arch/x86/kernel/machine_kexec_64.c
101
map_efi_systab(struct x86_mapping_info *info, pgd_t *level4p)
arch/x86/kernel/machine_kexec_64.c
163
static int init_transition_pgtable(struct kimage *image, pgd_t *pgd,
arch/x86/kernel/machine_kexec_64.c
41
pgd_t *level4p;
arch/x86/kernel/machine_kexec_64.c
53
map_acpi_tables(struct x86_mapping_info *info, pgd_t *level4p)
arch/x86/kernel/machine_kexec_64.c
77
static int map_acpi_tables(struct x86_mapping_info *info, pgd_t *level4p) { return 0; }
arch/x86/kernel/machine_kexec_64.c
80
static int map_mmio_serial(struct x86_mapping_info *info, pgd_t *level4p)
arch/x86/kernel/tboot.c
116
pgd_t *pgd;
arch/x86/kernel/tboot.c
96
static pgd_t *tboot_pg_dir;
arch/x86/kvm/mmu/mmu.c
3237
pgd_t pgd;
arch/x86/mm/dump_pagetables.c
111
#define INIT_PGD ((pgd_t *) &init_top_pgt)
arch/x86/mm/dump_pagetables.c
289
static void effective_prot_pgd(struct ptdump_state *st, pgd_t pgd)
arch/x86/mm/dump_pagetables.c
411
static void note_page_pgd(struct ptdump_state *pt_st, unsigned long addr, pgd_t pgd)
arch/x86/mm/dump_pagetables.c
424
struct mm_struct *mm, pgd_t *pgd,
arch/x86/mm/dump_pagetables.c
482
pgd_t *pgd = mm->pgd;
arch/x86/mm/dump_pagetables.c
493
pgd_t *pgd = INIT_PGD;
arch/x86/mm/fault.c
175
static inline pmd_t *vmalloc_sync_one(pgd_t *pgd, unsigned long address)
arch/x86/mm/fault.c
178
pgd_t *pgd_k;
arch/x86/mm/fault.c
296
pgd_t *base = __va(read_cr3_pa());
arch/x86/mm/fault.c
297
pgd_t *pgd = &base[pgd_index(address)];
arch/x86/mm/fault.c
352
pgd_t *base = __va(read_cr3_pa());
arch/x86/mm/fault.c
353
pgd_t *pgd = base + pgd_index(address);
arch/x86/mm/fault.c
517
pgd_t *pgd;
arch/x86/mm/fault.c
982
pgd_t *pgd;
arch/x86/mm/ident_map.c
178
int kernel_ident_mapping_init(struct x86_mapping_info *info, pgd_t *pgd_page,
arch/x86/mm/ident_map.c
194
pgd_t *pgd = pgd_page + pgd_index(addr);
arch/x86/mm/ident_map.c
50
static void free_p4d(struct x86_mapping_info *info, pgd_t *pgd)
arch/x86/mm/ident_map.c
66
void kernel_ident_mapping_free(struct x86_mapping_info *info, pgd_t *pgd)
arch/x86/mm/init_32.c
204
page_table_range_init(unsigned long start, unsigned long end, pgd_t *pgd_base)
arch/x86/mm/init_32.c
208
pgd_t *pgd;
arch/x86/mm/init_32.c
257
pgd_t *pgd_base = swapper_pg_dir;
arch/x86/mm/init_32.c
260
pgd_t *pgd;
arch/x86/mm/init_32.c
389
static void __init permanent_kmaps_init(pgd_t *pgd_base)
arch/x86/mm/init_32.c
398
static inline void permanent_kmaps_init(pgd_t *pgd_base)
arch/x86/mm/init_32.c
421
pgd_t *pgd, *base = swapper_pg_dir;
arch/x86/mm/init_32.c
480
pgd_t *pgd_base = swapper_pg_dir;
arch/x86/mm/init_32.c
495
pgd_t *pgd_base = swapper_pg_dir;
arch/x86/mm/init_32.c
67
static pmd_t * __init one_md_table_init(pgd_t *pgd)
arch/x86/mm/init_64.c
1256
pgd_t *pgd;
arch/x86/mm/init_64.c
1324
pgd_t *pgd = pgd_offset_k(addr);
arch/x86/mm/init_64.c
138
const pgd_t *pgd_ref = pgd_offset_k(addr);
arch/x86/mm/init_64.c
150
pgd_t *pgd;
arch/x86/mm/init_64.c
153
pgd = (pgd_t *)page_address(page) + pgd_index(addr);
arch/x86/mm/init_64.c
1588
pgd_t *pgd;
arch/x86/mm/init_64.c
175
pgd_t *pgd_ref = pgd_offset_k(addr);
arch/x86/mm/init_64.c
191
pgd_t *pgd;
arch/x86/mm/init_64.c
195
pgd = (pgd_t *)page_address(page) + pgd_index(addr);
arch/x86/mm/init_64.c
267
static p4d_t *fill_p4d(pgd_t *pgd, unsigned long vaddr)
arch/x86/mm/init_64.c
345
pgd_t *pgd;
arch/x86/mm/init_64.c
363
pgd_t *pgd;
arch/x86/mm/init_64.c
387
pgd_t *pgd;
arch/x86/mm/init_64.c
755
pgd_t *pgd = pgd_offset_k(vaddr);
arch/x86/mm/ioremap.c
829
pgd_t *base = __va(read_cr3_pa());
arch/x86/mm/ioremap.c
830
pgd_t *pgd = &base[pgd_index(addr)];
arch/x86/mm/kasan_init_64.c
122
static void __init kasan_populate_pgd(pgd_t *pgd, unsigned long addr,
arch/x86/mm/kasan_init_64.c
144
pgd_t *pgd;
arch/x86/mm/kasan_init_64.c
170
pgd_t *pgd;
arch/x86/mm/kasan_init_64.c
191
static inline p4d_t *early_p4d_offset(pgd_t *pgd, unsigned long addr)
arch/x86/mm/kasan_init_64.c
203
static void __init kasan_early_p4d_populate(pgd_t *pgd,
arch/x86/mm/kasan_init_64.c
207
pgd_t pgd_entry;
arch/x86/mm/kasan_init_64.c
230
static void __init kasan_map_early_shadow(pgd_t *pgd)
arch/x86/mm/kasan_init_64.c
244
static void __init kasan_shallow_populate_p4ds(pgd_t *pgd,
arch/x86/mm/kasan_init_64.c
266
pgd_t *pgd;
arch/x86/mm/kaslr.c
176
pgd_t *pgd;
arch/x86/mm/pat/set_memory.c
1298
pgd_t *pgd = (pgd_t *)page_address(page) + pgd_index(addr);
arch/x86/mm/pat/set_memory.c
1373
pgd_t *pgd;
arch/x86/mm/pat/set_memory.c
1740
pgd_t *pgd_entry;
arch/x86/mm/pat/set_memory.c
2692
int __init kernel_map_pages_in_pgd(pgd_t *pgd, u64 pfn, unsigned long address,
arch/x86/mm/pat/set_memory.c
2729
int __init kernel_unmap_pages_in_pgd(pgd_t *pgd, unsigned long address,
arch/x86/mm/pat/set_memory.c
43
pgd_t *pgd;
arch/x86/mm/pat/set_memory.c
712
pte_t *lookup_address_in_pgd_attr(pgd_t *pgd, unsigned long address,
arch/x86/mm/pat/set_memory.c
770
pte_t *lookup_address_in_pgd(pgd_t *pgd, unsigned long address,
arch/x86/mm/pat/set_memory.c
794
pgd_t *pgd;
arch/x86/mm/pat/set_memory.c
810
pgd_t *pgd;
arch/x86/mm/pat/set_memory.c
890
pgd_t *pgd;
arch/x86/mm/pat/set_memory.c
895
pgd = (pgd_t *)page_address(page) + pgd_index(address);
arch/x86/mm/pgtable.c
219
static void mop_up_one_pmd(struct mm_struct *mm, pgd_t *pgdp)
arch/x86/mm/pgtable.c
221
pgd_t pgd = *pgdp;
arch/x86/mm/pgtable.c
234
static void pgd_mop_up_pmds(struct mm_struct *mm, pgd_t *pgdp)
arch/x86/mm/pgtable.c
253
static void pgd_prepopulate_pmd(struct mm_struct *mm, pgd_t *pgd, pmd_t *pmds[])
arch/x86/mm/pgtable.c
275
pgd_t *k_pgd, pmd_t *pmds[])
arch/x86/mm/pgtable.c
277
pgd_t *s_pgd = kernel_to_user_pgdp(swapper_pg_dir);
arch/x86/mm/pgtable.c
278
pgd_t *u_pgd = kernel_to_user_pgdp(k_pgd);
arch/x86/mm/pgtable.c
301
pgd_t *k_pgd, pmd_t *pmds[])
arch/x86/mm/pgtable.c
306
static inline pgd_t *_pgd_alloc(struct mm_struct *mm)
arch/x86/mm/pgtable.c
317
static inline void _pgd_free(struct mm_struct *mm, pgd_t *pgd)
arch/x86/mm/pgtable.c
322
pgd_t *pgd_alloc(struct mm_struct *mm)
arch/x86/mm/pgtable.c
324
pgd_t *pgd;
arch/x86/mm/pgtable.c
376
void pgd_free(struct mm_struct *mm, pgd_t *pgd)
arch/x86/mm/pgtable.c
58
static inline void pgd_list_add(pgd_t *pgd)
arch/x86/mm/pgtable.c
65
static inline void pgd_list_del(pgd_t *pgd)
arch/x86/mm/pgtable.c
72
static void pgd_set_mm(pgd_t *pgd, struct mm_struct *mm)
arch/x86/mm/pgtable.c
82
static void pgd_ctor(struct mm_struct *mm, pgd_t *pgd)
arch/x86/mm/pgtable.c
95
static void pgd_dtor(pgd_t *pgd)
arch/x86/mm/pgtable_32.c
29
pgd_t *pgd;
arch/x86/mm/pti.c
131
pgd_t __pti_set_user_pgtbl(pgd_t *pgdp, pgd_t pgd)
arch/x86/mm/pti.c
180
pgd_t *pgd = kernel_to_user_pgdp(pgd_offset_k(address));
arch/x86/mm/pti.c
327
pgd_t *pgd;
arch/x86/mm/pti.c
432
pgd_t *kernel_pgd;
arch/x86/mm/tlb.c
161
static inline unsigned long build_cr3(pgd_t *pgd, u16 asid, unsigned long lam)
arch/x86/mm/tlb.c
174
static inline unsigned long build_cr3_noflush(pgd_t *pgd, u16 asid,
arch/x86/mm/tlb.c
565
static void load_new_mm_cr3(pgd_t *pgdir, u16 new_asid, unsigned long lam,
arch/x86/platform/efi/efi_32.c
103
pgd_t *save_pgd;
arch/x86/platform/efi/efi_64.c
111
pgd_t *pgd_k, *pgd_efi;
arch/x86/platform/efi/efi_64.c
114
pgd_t *efi_pgd = efi_mm.pgd;
arch/x86/platform/efi/efi_64.c
120
memcpy(pgd_efi, pgd_k, sizeof(pgd_t) * num_entries);
arch/x86/platform/efi/efi_64.c
184
pgd_t *pgd = efi_mm.pgd;
arch/x86/platform/efi/efi_64.c
275
pgd_t *pgd = efi_mm.pgd;
arch/x86/platform/efi/efi_64.c
373
pgd_t *pgd = efi_mm.pgd;
arch/x86/platform/efi/efi_64.c
70
pgd_t *pgd, *efi_pgd;
arch/x86/platform/efi/efi_64.c
76
efi_pgd = (pgd_t *)__get_free_pages(gfp_mask, pgd_allocation_order());
arch/x86/platform/efi/quirks.c
388
pgd_t *pgd = efi_mm.pgd;
arch/x86/platform/olpc/olpc_ofw.c
26
pgd_t *base, *ofw_pde;
arch/x86/power/hibernate.c
156
pgd_t *pgd;
arch/x86/power/hibernate.c
169
pgd = (pgd_t *)__va(read_cr3_pa()) +
arch/x86/power/hibernate_32.c
133
static inline void resume_init_first_level_page_table(pgd_t *pg_dir)
arch/x86/power/hibernate_32.c
145
static int set_up_temporary_text_mapping(pgd_t *pgd_base)
arch/x86/power/hibernate_32.c
147
pgd_t *pgd;
arch/x86/power/hibernate_32.c
175
resume_pg_dir = (pgd_t *)get_safe_page(GFP_ATOMIC);
arch/x86/power/hibernate_32.c
19
pgd_t *resume_pg_dir;
arch/x86/power/hibernate_32.c
30
static pmd_t *resume_one_md_table_init(pgd_t *pgd)
arch/x86/power/hibernate_32.c
81
static int resume_physical_mapping_init(pgd_t *pgd_base)
arch/x86/power/hibernate_32.c
84
pgd_t *pgd;
arch/x86/power/hibernate_64.c
100
pgd_t *pgd;
arch/x86/power/hibernate_64.c
104
pgd = (pgd_t *)get_safe_page(GFP_ATOMIC);
arch/x86/power/hibernate_64.c
28
static int set_up_temporary_text_mapping(pgd_t *pgd)
arch/x86/power/hibernate_64.c
74
pgd_t new_pgd = __pgd(__pa(p4d) | pgprot_val(pgtable_prot));
arch/x86/power/hibernate_64.c
80
pgd_t new_pgd = __pgd(__pa(pud) | pgprot_val(pgtable_prot));
arch/x86/realmode/init.c
19
pgd_t trampoline_pgd_entry;
arch/x86/virt/svm/sev.c
843
pgd_t *pgd;
arch/x86/xen/enlighten_pv.c
1484
xen_setup_kernel_pagetable((pgd_t *)xen_start_info->pt_base,
arch/x86/xen/mmu_pv.c
1185
pgd_t *pgd;
arch/x86/xen/mmu_pv.c
1403
pgd_t *user_pgd = xen_get_user_pgd(__va(cr3));
arch/x86/xen/mmu_pv.c
1460
pgd_t *pgd = mm->pgd;
arch/x86/xen/mmu_pv.c
1462
pgd_t *user_pgd;
arch/x86/xen/mmu_pv.c
1468
user_pgd = (pgd_t *)__get_free_page(GFP_KERNEL | __GFP_ZERO);
arch/x86/xen/mmu_pv.c
1484
static void xen_pgd_free(struct mm_struct *mm, pgd_t *pgd)
arch/x86/xen/mmu_pv.c
1486
pgd_t *user_pgd = xen_get_user_pgd(pgd);
arch/x86/xen/mmu_pv.c
1760
void __init xen_setup_kernel_pagetable(pgd_t *pgd, unsigned long max_pfn)
arch/x86/xen/mmu_pv.c
1835
init_top_pgt[i] = ((pgd_t *)xen_start_info->pt_base)[i];
arch/x86/xen/mmu_pv.c
1912
pgd_t pgd;
arch/x86/xen/mmu_pv.c
1961
pgd_t *pgd;
arch/x86/xen/mmu_pv.c
429
__visible pgdval_t xen_pgd_val(pgd_t pgd)
arch/x86/xen/mmu_pv.c
443
__visible pgd_t xen_make_pgd(pgdval_t pgd)
arch/x86/xen/mmu_pv.c
509
static pgd_t *xen_get_user_pgd(pgd_t *pgd)
arch/x86/xen/mmu_pv.c
511
pgd_t *pgd_page = (pgd_t *)(((unsigned long)pgd) & PAGE_MASK);
arch/x86/xen/mmu_pv.c
513
pgd_t *user_ptr = NULL;
arch/x86/xen/mmu_pv.c
520
user_ptr = (pgd_t *)page->private;
arch/x86/xen/mmu_pv.c
559
pgd_t *user_ptr = xen_get_user_pgd((pgd_t *)ptr);
arch/x86/xen/mmu_pv.c
560
pgd_t pgd_val;
arch/x86/xen/mmu_pv.c
665
static void __xen_pgd_walk(struct mm_struct *mm, pgd_t *pgd,
arch/x86/xen/mmu_pv.c
793
static void __xen_pgd_pin(struct mm_struct *mm, pgd_t *pgd)
arch/x86/xen/mmu_pv.c
795
pgd_t *user_pgd = xen_get_user_pgd(pgd);
arch/x86/xen/mmu_pv.c
838
__xen_pgd_pin(&init_mm, (pgd_t *)page_address(page));
arch/x86/xen/mmu_pv.c
910
static void __xen_pgd_unpin(struct mm_struct *mm, pgd_t *pgd)
arch/x86/xen/mmu_pv.c
912
pgd_t *user_pgd = xen_get_user_pgd(pgd);
arch/x86/xen/mmu_pv.c
92
pgdval_t xen_pgd_val(pgd_t pgd);
arch/x86/xen/mmu_pv.c
950
__xen_pgd_unpin(&init_mm, (pgd_t *)page_address(page));
arch/x86/xen/mmu_pv.c
97
pgd_t xen_make_pgd(pgdval_t pgd);
arch/x86/xen/xen-ops.h
41
void xen_setup_kernel_pagetable(pgd_t *pgd, unsigned long max_pfn);
arch/xtensa/include/asm/page.h
103
#define __pgd(x) ((pgd_t) { (x) } )
arch/xtensa/include/asm/pgalloc.h
29
static inline pgd_t*
arch/xtensa/include/asm/pgtable.h
217
extern pgd_t swapper_pg_dir[PAGE_SIZE/sizeof(pgd_t)];
arch/xtensa/mm/fault.c
35
pgd_t *pgd, *pgd_k;
arch/xtensa/mm/tlb.c
178
pgd_t *pgd;
drivers/firmware/efi/libstub/x86-5lvl.c
69
pgd_t *cr3 = (pgd_t *)native_read_cr3_pa();
drivers/misc/sgi-gru/grufault.c
208
pgd_t *pgdp;
fs/userfaultfd.c
289
pgd_t *pgd;
include/asm-generic/pgalloc.h
277
static inline pgd_t *__pgd_alloc_noprof(struct mm_struct *mm, unsigned int order)
include/asm-generic/pgalloc.h
298
static inline void __pgd_free(struct mm_struct *mm, pgd_t *pgd)
include/asm-generic/pgalloc.h
307
static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd)
include/asm-generic/pgtable-nop4d.h
21
static inline int pgd_none(pgd_t pgd) { return 0; }
include/asm-generic/pgtable-nop4d.h
22
static inline int pgd_bad(pgd_t pgd) { return 0; }
include/asm-generic/pgtable-nop4d.h
23
static inline int pgd_present(pgd_t pgd) { return 1; }
include/asm-generic/pgtable-nop4d.h
24
static inline void pgd_clear(pgd_t *pgd) { }
include/asm-generic/pgtable-nop4d.h
35
static inline p4d_t *p4d_offset(pgd_t *pgd, unsigned long address)
include/asm-generic/pgtable-nop4d.h
9
typedef struct { pgd_t pgd; } p4d_t;
include/linux/hugetlb.h
480
static inline int pgd_write(pgd_t pgd)
include/linux/mm.h
3203
static inline int __p4d_alloc(struct mm_struct *mm, pgd_t *pgd,
include/linux/mm.h
3209
int __p4d_alloc(struct mm_struct *mm, pgd_t *pgd, unsigned long address);
include/linux/mm.h
3304
static inline p4d_t *p4d_alloc(struct mm_struct *mm, pgd_t *pgd,
include/linux/mm.h
4489
pgd_t *vmemmap_pgd_populate(unsigned long addr, int node);
include/linux/mm.h
4490
p4d_t *vmemmap_p4d_populate(pgd_t *pgd, unsigned long addr, int node);
include/linux/mm_types.h
1150
pgd_t * pgd;
include/linux/pagewalk.h
124
pgd_t *pgd;
include/linux/pagewalk.h
136
pgd_t *pgd, void *private);
include/linux/pagewalk.h
139
pgd_t *pgd, void *private);
include/linux/pagewalk.h
71
int (*pgd_entry)(pgd_t *pgd, unsigned long addr,
include/linux/pgtable.h
1295
static inline int pgd_same(pgd_t pgd_a, pgd_t pgd_b)
include/linux/pgtable.h
140
static inline pgd_t *pgd_offset_pgd(pgd_t *pgd, unsigned long address)
include/linux/pgtable.h
1432
void pgd_clear_bad(pgd_t *);
include/linux/pgtable.h
1448
static inline int pgd_none_or_clear_bad(pgd_t *pgd)
include/linux/pgtable.h
487
static inline pgd_t pgdp_get(pgd_t *pgdp)
include/linux/ptdump.h
18
void (*note_page_pgd)(struct ptdump_state *st, unsigned long addr, pgd_t pgd);
include/linux/ptdump.h
24
void (*effective_prot_pgd)(struct ptdump_state *st, pgd_t pgd);
include/linux/ptdump.h
29
struct mm_struct *mm, pgd_t *pgd,
include/linux/ptdump.h
31
void ptdump_walk_pgd(struct ptdump_state *st, struct mm_struct *mm, pgd_t *pgd);
include/trace/events/xen.h
321
TP_PROTO(struct mm_struct *mm, pgd_t *pgd),
include/trace/events/xen.h
325
__field(pgd_t *, pgd)
include/trace/events/xen.h
333
TP_PROTO(struct mm_struct *mm, pgd_t *pgd), \
kernel/events/core.c
8416
pgd_t *pgdp, pgd;
mm/debug_vm_pgtable.c
49
pgd_t *pgdp;
mm/debug_vm_pgtable.c
490
pgd_t pgd;
mm/debug_vm_pgtable.c
493
memset(&pgd, RANDOM_NZVALUE, sizeof(pgd_t));
mm/debug_vm_pgtable.c
569
pgd_t pgd = pgdp_get(args->pgdp);
mm/debug_vm_pgtable.c
583
pgd_t pgd;
mm/gup.c
1011
pgd_t *pgd;
mm/gup.c
1034
pgd_t *pgd;
mm/gup.c
3069
static int gup_fast_p4d_range(pgd_t *pgdp, pgd_t pgd, unsigned long addr,
mm/gup.c
3096
pgd_t *pgdp;
mm/gup.c
3100
pgd_t pgd = pgdp_get(pgdp);
mm/gup.c
971
unsigned long address, pgd_t *pgdp,
mm/hugetlb.c
6944
pgd_t *pgd = pgd_offset(mm, addr);
mm/hugetlb.c
7018
pgd_t *pgd;
mm/hugetlb.c
7061
pgd_t *pgd;
mm/internal.h
1746
pgd_t *pgd, void *private);
mm/kasan/init.c
182
static int __ref zero_p4d_populate(pgd_t *pgd, unsigned long addr,
mm/kasan/init.c
235
pgd_t *pgd = pgd_offset_k(addr);
mm/kasan/init.c
329
static void kasan_free_p4d(p4d_t *p4d_start, pgd_t *pgd)
mm/kasan/init.c
33
static inline bool kasan_p4d_table(pgd_t pgd)
mm/kasan/init.c
38
static inline bool kasan_p4d_table(pgd_t pgd)
mm/kasan/init.c
448
pgd_t *pgd;
mm/kasan/shadow.c
188
pgd_t *pgd = pgd_offset_k(addr);
mm/khugepaged.c
1436
pgd_t *pgdp;
mm/memory-failure.c
341
pgd_t *pgd;
mm/memory.c
1451
pgd_t *dst_pgd, pgd_t *src_pgd, unsigned long addr,
mm/memory.c
1506
pgd_t *src_pgd, *dst_pgd;
mm/memory.c
2058
struct vm_area_struct *vma, pgd_t *pgd,
mm/memory.c
2081
pgd_t *pgd;
mm/memory.c
2263
pgd_t *pgd;
mm/memory.c
266
static inline void free_p4d_range(struct mmu_gather *tlb, pgd_t *pgd,
mm/memory.c
2938
static inline int remap_p4d_range(struct mm_struct *mm, pgd_t *pgd,
mm/memory.c
2982
pgd_t *pgd;
mm/memory.c
315
pgd_t *pgd;
mm/memory.c
3332
static int apply_to_p4d_range(struct mm_struct *mm, pgd_t *pgd,
mm/memory.c
3372
pgd_t *pgd;
mm/memory.c
541
pgd_t *pgdp;
mm/memory.c
6368
pgd_t *pgd;
mm/memory.c
6661
int __p4d_alloc(struct mm_struct *mm, pgd_t *pgd, unsigned long address)
mm/memory.c
6793
pgd_t *pgdp;
mm/migrate_device.c
980
pgd_t *pgdp;
mm/mprotect.c
581
struct vm_area_struct *vma, pgd_t *pgd, unsigned long addr,
mm/mprotect.c
608
pgd_t *pgd;
mm/mremap.c
114
pgd_t *pgd;
mm/mremap.c
77
pgd_t *pgd;
mm/page_vma_mapped.c
186
pgd_t *pgd;
mm/pagewalk.c
251
static int walk_p4d_range(pgd_t *pgd, unsigned long addr, unsigned long end,
mm/pagewalk.c
292
pgd_t *pgd;
mm/pagewalk.c
627
const struct mm_walk_ops *ops, pgd_t *pgd, void *private)
mm/pagewalk.c
650
const struct mm_walk_ops *ops, pgd_t *pgd, void *private)
mm/pagewalk.c
685
pgd_t *pgd, void *private)
mm/pagewalk.c
913
pgd_t *pgdp;
mm/percpu.c
3147
pgd_t *pgd = pgd_offset_k(addr);
mm/pgalloc-track.h
6
static inline p4d_t *p4d_alloc_track(struct mm_struct *mm, pgd_t *pgd,
mm/pgtable-generic.c
27
void pgd_clear_bad(pgd_t *pgd)
mm/ptdump.c
142
pgd_t pgd_zero = {0};
mm/ptdump.c
175
void ptdump_walk_pgd(struct ptdump_state *st, struct mm_struct *mm, pgd_t *pgd)
mm/ptdump.c
30
static int ptdump_pgd_entry(pgd_t *pgd, unsigned long addr,
mm/ptdump.c
34
pgd_t val = pgdp_get(pgd);
mm/rmap.c
885
pgd_t *pgd;
mm/sparse-vmemmap.c
224
p4d_t * __meminit vmemmap_p4d_populate(pgd_t *pgd, unsigned long addr, int node)
mm/sparse-vmemmap.c
237
pgd_t * __meminit vmemmap_pgd_populate(unsigned long addr, int node)
mm/sparse-vmemmap.c
239
pgd_t *pgd = pgd_offset_k(addr);
mm/sparse-vmemmap.c
254
pgd_t *pgd;
mm/sparse-vmemmap.c
421
pgd_t *pgd;
mm/swapfile.c
2299
static inline int unuse_p4d_range(struct vm_area_struct *vma, pgd_t *pgd,
mm/swapfile.c
2321
pgd_t *pgd;
mm/userfaultfd.c
467
pgd_t *pgd;
mm/vmalloc.c
271
static int vmap_p4d_range(pgd_t *pgd, unsigned long addr, unsigned long end,
mm/vmalloc.c
302
pgd_t *pgd;
mm/vmalloc.c
449
static void vunmap_p4d_range(pgd_t *pgd, unsigned long addr, unsigned long end,
mm/vmalloc.c
484
pgd_t *pgd;
mm/vmalloc.c
605
static int vmap_pages_p4d_range(pgd_t *pgd, unsigned long addr,
mm/vmalloc.c
627
pgd_t *pgd;
mm/vmalloc.c
803
pgd_t *pgd = pgd_offset_k(addr);