pgdp 229 arch/alpha/include/asm/pgtable.h extern inline void pgd_set(pgd_t * pgdp, pmd_t * pmdp) pgdp 230 arch/alpha/include/asm/pgtable.h { pgd_val(*pgdp) = _PAGE_TABLE | ((((unsigned long) pmdp) - PAGE_OFFSET) << (32-PAGE_SHIFT)); } pgdp 262 arch/alpha/include/asm/pgtable.h extern inline void pgd_clear(pgd_t * pgdp) { pgd_val(*pgdp) = 0; } pgdp 23 arch/arm/include/asm/pgtable-nommu.h #define pgd_clear(pgdp) pgdp 138 arch/arm64/include/asm/mmu_context.h static inline void cpu_replace_ttbr1(pgd_t *pgdp) pgdp 145 arch/arm64/include/asm/mmu_context.h phys_addr_t ttbr1 = phys_to_ttbr(virt_to_phys(pgdp)); pgdp 147 arch/arm64/include/asm/mmu_context.h if (system_supports_cnp() && !WARN_ON(pgdp != lm_alias(swapper_pg_dir))) { pgdp 76 arch/arm64/include/asm/pgalloc.h static inline void __pgd_populate(pgd_t *pgdp, phys_addr_t pudp, pgdval_t prot) pgdp 78 arch/arm64/include/asm/pgalloc.h set_pgd(pgdp, __pgd(__phys_to_pgd_val(pudp) | prot)); pgdp 81 arch/arm64/include/asm/pgalloc.h static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgdp, pud_t *pudp) pgdp 83 arch/arm64/include/asm/pgalloc.h __pgd_populate(pgdp, __pa(pudp), PUD_TYPE_TABLE); pgdp 86 arch/arm64/include/asm/pgalloc.h static inline void __pgd_populate(pgd_t *pgdp, phys_addr_t pudp, pgdval_t prot) pgdp 93 arch/arm64/include/asm/pgalloc.h extern void pgd_free(struct mm_struct *mm, pgd_t *pgdp); pgdp 461 arch/arm64/include/asm/pgtable.h extern void set_swapper_pgd(pgd_t *pgdp, pgd_t pgd); pgdp 593 arch/arm64/include/asm/pgtable.h static inline void set_pgd(pgd_t *pgdp, pgd_t pgd) pgdp 595 arch/arm64/include/asm/pgtable.h if (in_swapper_pgdir(pgdp)) { pgdp 596 arch/arm64/include/asm/pgtable.h set_swapper_pgd(pgdp, pgd); pgdp 600 arch/arm64/include/asm/pgtable.h WRITE_ONCE(*pgdp, pgd); pgdp 605 arch/arm64/include/asm/pgtable.h static inline void pgd_clear(pgd_t *pgdp) pgdp 607 arch/arm64/include/asm/pgtable.h set_pgd(pgdp, __pgd(0)); pgdp 636 arch/arm64/include/asm/pgtable.h #define pud_set_fixmap_offset(pgdp, addr) ((pud_t *)pgdp) pgdp 79 arch/arm64/include/asm/stage2_pgtable.h static inline void stage2_pgd_clear(struct kvm *kvm, pgd_t *pgdp) pgdp 82 arch/arm64/include/asm/stage2_pgtable.h pgd_clear(pgdp); pgdp 205 arch/arm64/kernel/hibernate.c pgd_t *pgdp; pgdp 225 arch/arm64/kernel/hibernate.c pgdp = pgd_offset_raw(trans_pgd, dst_addr); pgdp 226 arch/arm64/kernel/hibernate.c if (pgd_none(READ_ONCE(*pgdp))) { pgdp 232 arch/arm64/kernel/hibernate.c pgd_populate(&init_mm, pgdp, pudp); pgdp 235 arch/arm64/kernel/hibernate.c pudp = pud_offset(pgdp, dst_addr); pgdp 272 arch/arm64/kernel/hibernate.c write_sysreg(phys_to_ttbr(virt_to_phys(pgdp)), ttbr0_el1); pgdp 325 arch/arm64/mm/dump.c static void walk_pud(struct pg_state *st, pgd_t *pgdp, unsigned long start, pgdp 329 arch/arm64/mm/dump.c pud_t *pudp = pud_offset(pgdp, start); pgdp 349 arch/arm64/mm/dump.c pgd_t *pgdp = pgd_offset(mm, start); pgdp 352 arch/arm64/mm/dump.c pgd_t pgd = READ_ONCE(*pgdp); pgdp 359 arch/arm64/mm/dump.c walk_pud(st, pgdp, addr, next); pgdp 361 arch/arm64/mm/dump.c } while (pgdp++, addr = next, addr != end); pgdp 131 arch/arm64/mm/fault.c pgd_t *pgdp; pgdp 154 arch/arm64/mm/fault.c pgdp = pgd_offset(mm, addr); pgdp 155 arch/arm64/mm/fault.c pgd = READ_ONCE(*pgdp); pgdp 166 arch/arm64/mm/fault.c pudp = pud_offset(pgdp, addr); pgdp 69 arch/arm64/mm/hugetlbpage.c pgd_t *pgdp = pgd_offset(mm, addr); pgdp 74 arch/arm64/mm/hugetlbpage.c pudp = pud_offset(pgdp, addr); pgdp 219 arch/arm64/mm/hugetlbpage.c pgd_t *pgdp; pgdp 224 arch/arm64/mm/hugetlbpage.c pgdp = pgd_offset(mm, addr); pgdp 225 arch/arm64/mm/hugetlbpage.c pudp = pud_alloc(mm, pgdp, addr); pgdp 263 arch/arm64/mm/hugetlbpage.c pgd_t *pgdp; pgdp 267 arch/arm64/mm/hugetlbpage.c pgdp = pgd_offset(mm, addr); pgdp 268 arch/arm64/mm/hugetlbpage.c if (!pgd_present(READ_ONCE(*pgdp))) pgdp 271 arch/arm64/mm/hugetlbpage.c pudp = pud_offset(pgdp, addr); pgdp 87 arch/arm64/mm/kasan_init.c static pud_t *__init kasan_pud_offset(pgd_t *pgdp, unsigned long addr, int node, pgdp 90 arch/arm64/mm/kasan_init.c if (pgd_none(READ_ONCE(*pgdp))) { pgdp 94 arch/arm64/mm/kasan_init.c __pgd_populate(pgdp, pud_phys, PMD_TYPE_TABLE); pgdp 97 arch/arm64/mm/kasan_init.c return early ? pud_offset_kimg(pgdp, addr) : pud_offset(pgdp, addr); pgdp 129 arch/arm64/mm/kasan_init.c static void __init kasan_pud_populate(pgd_t *pgdp, unsigned long addr, pgdp 133 arch/arm64/mm/kasan_init.c pud_t *pudp = kasan_pud_offset(pgdp, addr, node, early); pgdp 145 arch/arm64/mm/kasan_init.c pgd_t *pgdp; pgdp 147 arch/arm64/mm/kasan_init.c pgdp = pgd_offset_k(addr); pgdp 150 arch/arm64/mm/kasan_init.c kasan_pud_populate(pgdp, addr, next, node, early); pgdp 151 arch/arm64/mm/kasan_init.c } while (pgdp++, addr = next, addr != end); pgdp 178 arch/arm64/mm/kasan_init.c pgd_t *pgdp, *pgdp_new, *pgdp_end; pgdp 180 arch/arm64/mm/kasan_init.c pgdp = pgd_offset_k(KASAN_SHADOW_START); pgdp 184 arch/arm64/mm/kasan_init.c set_pgd(pgdp_new, READ_ONCE(*pgdp)); pgdp 185 arch/arm64/mm/kasan_init.c } while (pgdp++, pgdp_new++, pgdp != pgdp_end); pgdp 63 arch/arm64/mm/mmu.c void set_swapper_pgd(pgd_t *pgdp, pgd_t pgd) pgdp 68 arch/arm64/mm/mmu.c fixmap_pgdp = pgd_set_fixmap(__pa_symbol(pgdp)); pgdp 285 arch/arm64/mm/mmu.c static void alloc_init_pud(pgd_t *pgdp, unsigned long addr, unsigned long end, pgdp 292 arch/arm64/mm/mmu.c pgd_t pgd = READ_ONCE(*pgdp); pgdp 298 arch/arm64/mm/mmu.c __pgd_populate(pgdp, pud_phys, PUD_TYPE_TABLE); pgdp 299 arch/arm64/mm/mmu.c pgd = READ_ONCE(*pgdp); pgdp 303 arch/arm64/mm/mmu.c pudp = pud_set_fixmap_offset(pgdp, addr); pgdp 342 arch/arm64/mm/mmu.c pgd_t *pgdp = pgd_offset_raw(pgdir, virt); pgdp 358 arch/arm64/mm/mmu.c alloc_init_pud(pgdp, addr, next, phys, prot, pgtable_alloc, pgdp 361 arch/arm64/mm/mmu.c } while (pgdp++, addr = next, addr != end); pgdp 442 arch/arm64/mm/mmu.c static void __init __map_memblock(pgd_t *pgdp, phys_addr_t start, pgdp 445 arch/arm64/mm/mmu.c __create_pgd_mapping(pgdp, start, __phys_to_virt(start), end - start, pgdp 459 arch/arm64/mm/mmu.c static void __init map_mem(pgd_t *pgdp) pgdp 492 arch/arm64/mm/mmu.c __map_memblock(pgdp, start, end, PAGE_KERNEL, flags); pgdp 505 arch/arm64/mm/mmu.c __map_memblock(pgdp, kernel_start, kernel_end, pgdp 516 arch/arm64/mm/mmu.c __map_memblock(pgdp, crashk_res.start, crashk_res.end + 1, pgdp 540 arch/arm64/mm/mmu.c static void __init map_kernel_segment(pgd_t *pgdp, void *va_start, void *va_end, pgdp 550 arch/arm64/mm/mmu.c __create_pgd_mapping(pgdp, pa_start, (unsigned long)va_start, size, prot, pgdp 615 arch/arm64/mm/mmu.c static void __init map_kernel(pgd_t *pgdp) pgdp 631 arch/arm64/mm/mmu.c map_kernel_segment(pgdp, _text, _etext, text_prot, &vmlinux_text, 0, pgdp 633 arch/arm64/mm/mmu.c map_kernel_segment(pgdp, __start_rodata, __inittext_begin, PAGE_KERNEL, pgdp 635 arch/arm64/mm/mmu.c map_kernel_segment(pgdp, __inittext_begin, __inittext_end, text_prot, pgdp 637 arch/arm64/mm/mmu.c map_kernel_segment(pgdp, __initdata_begin, __initdata_end, PAGE_KERNEL, pgdp 639 arch/arm64/mm/mmu.c map_kernel_segment(pgdp, _data, _end, PAGE_KERNEL, &vmlinux_data, 0, 0); pgdp 641 arch/arm64/mm/mmu.c if (!READ_ONCE(pgd_val(*pgd_offset_raw(pgdp, FIXADDR_START)))) { pgdp 647 arch/arm64/mm/mmu.c set_pgd(pgd_offset_raw(pgdp, FIXADDR_START), pgdp 659 arch/arm64/mm/mmu.c bm_pgdp = pgd_offset_raw(pgdp, FIXADDR_START); pgdp 667 arch/arm64/mm/mmu.c kasan_copy_shadow(pgdp); pgdp 672 arch/arm64/mm/mmu.c pgd_t *pgdp = pgd_set_fixmap(__pa_symbol(swapper_pg_dir)); pgdp 674 arch/arm64/mm/mmu.c map_kernel(pgdp); pgdp 675 arch/arm64/mm/mmu.c map_mem(pgdp); pgdp 693 arch/arm64/mm/mmu.c pgd_t *pgdp; pgdp 701 arch/arm64/mm/mmu.c pgdp = pgd_offset_k(addr); pgdp 702 arch/arm64/mm/mmu.c if (pgd_none(READ_ONCE(*pgdp))) pgdp 705 arch/arm64/mm/mmu.c pudp = pud_offset(pgdp, addr); pgdp 741 arch/arm64/mm/mmu.c pgd_t *pgdp; pgdp 748 arch/arm64/mm/mmu.c pgdp = vmemmap_pgd_populate(addr, node); pgdp 749 arch/arm64/mm/mmu.c if (!pgdp) pgdp 752 arch/arm64/mm/mmu.c pudp = vmemmap_pud_populate(pgdp, addr, node); pgdp 780 arch/arm64/mm/mmu.c pgd_t *pgdp = pgd_offset_k(addr); pgdp 781 arch/arm64/mm/mmu.c pgd_t pgd = READ_ONCE(*pgdp); pgdp 785 arch/arm64/mm/mmu.c return pud_offset_kimg(pgdp, addr); pgdp 811 arch/arm64/mm/mmu.c pgd_t *pgdp, pgd; pgdp 816 arch/arm64/mm/mmu.c pgdp = pgd_offset_k(addr); pgdp 817 arch/arm64/mm/mmu.c pgd = READ_ONCE(*pgdp); pgdp 826 arch/arm64/mm/mmu.c pudp = pud_offset_kimg(pgdp, addr); pgdp 829 arch/arm64/mm/mmu.c __pgd_populate(pgdp, __pa_symbol(bm_pud), PUD_TYPE_TABLE); pgdp 200 arch/arm64/mm/pageattr.c pgd_t *pgdp; pgdp 209 arch/arm64/mm/pageattr.c pgdp = pgd_offset_k(addr); pgdp 210 arch/arm64/mm/pageattr.c if (pgd_none(READ_ONCE(*pgdp))) pgdp 213 arch/arm64/mm/pageattr.c pudp = pud_offset(pgdp, addr); pgdp 26 arch/c6x/include/asm/pgtable.h #define pgd_clear(pgdp) pgdp 289 arch/ia64/include/asm/pgtable.h #define pgd_clear(pgdp) (pgd_val(*(pgdp)) = 0UL) pgdp 167 arch/m68k/include/asm/mcf_pgtable.h static inline void pgd_set(pgd_t *pgdp, pmd_t *pmdp) pgdp 169 arch/m68k/include/asm/mcf_pgtable.h pgd_val(*pgdp) = virt_to_phys(pmdp); pgdp 204 arch/m68k/include/asm/mcf_pgtable.h static inline void pgd_clear(pgd_t *pgdp) {} pgdp 120 arch/m68k/include/asm/motorola_pgtable.h static inline void pgd_set(pgd_t *pgdp, pmd_t *pmdp) pgdp 122 arch/m68k/include/asm/motorola_pgtable.h pgd_val(*pgdp) = _PAGE_TABLE | _PAGE_ACCESSED | __pa(pmdp); pgdp 153 arch/m68k/include/asm/motorola_pgtable.h #define pgd_clear(pgdp) ({ pgd_val(*pgdp) = 0; }) pgdp 22 arch/m68k/include/asm/pgtable_no.h #define pgd_clear(pgdp) pgdp 113 arch/m68k/include/asm/sun3_pgtable.h static inline void pgd_set(pgd_t *pgdp, pmd_t *pmdp) pgdp 115 arch/m68k/include/asm/sun3_pgtable.h pgd_val(*pgdp) = virt_to_phys(pmdp); pgdp 151 arch/m68k/include/asm/sun3_pgtable.h static inline void pgd_clear (pgd_t *pgdp) {} pgdp 25 arch/microblaze/include/asm/pgtable.h #define pgd_clear(pgdp) pgdp 209 arch/mips/include/asm/pgtable-64.h static inline void pgd_clear(pgd_t *pgdp) pgdp 211 arch/mips/include/asm/pgtable-64.h pgd_val(*pgdp) = (unsigned long)invalid_pud_table; pgdp 789 arch/mips/kvm/mmu.c pgd_t *pgdp; pgdp 799 arch/mips/kvm/mmu.c pgdp = vcpu->arch.guest_kernel_mm.pgd; pgdp 801 arch/mips/kvm/mmu.c pgdp = vcpu->arch.guest_user_mm.pgd; pgdp 803 arch/mips/kvm/mmu.c return kvm_mips_walk_pgd(pgdp, memcache, addr); pgdp 809 arch/mips/kvm/mmu.c pgd_t *pgdp; pgdp 814 arch/mips/kvm/mmu.c pgdp = vcpu->arch.guest_kernel_mm.pgd; pgdp 815 arch/mips/kvm/mmu.c ptep = kvm_mips_walk_pgd(pgdp, NULL, addr); pgdp 822 arch/mips/kvm/mmu.c pgdp = vcpu->arch.guest_user_mm.pgd; pgdp 823 arch/mips/kvm/mmu.c ptep = kvm_mips_walk_pgd(pgdp, NULL, addr); pgdp 243 arch/mips/mm/c-r3k.c pgd_t *pgdp; pgdp 255 arch/mips/mm/c-r3k.c pgdp = pgd_offset(mm, addr); pgdp 256 arch/mips/mm/c-r3k.c pudp = pud_offset(pgdp, addr); pgdp 652 arch/mips/mm/c-r4k.c pgd_t *pgdp; pgdp 666 arch/mips/mm/c-r4k.c pgdp = pgd_offset(mm, addr); pgdp 667 arch/mips/mm/c-r4k.c pudp = pud_offset(pgdp, addr); pgdp 172 arch/mips/mm/c-tx39.c pgd_t *pgdp; pgdp 185 arch/mips/mm/c-tx39.c pgdp = pgd_offset(mm, page); pgdp 186 arch/mips/mm/c-tx39.c pudp = pud_offset(pgdp, page); pgdp 297 arch/mips/mm/tlb-r4k.c pgd_t *pgdp; pgdp 319 arch/mips/mm/tlb-r4k.c pgdp = pgd_offset(vma->vm_mm, address); pgdp 323 arch/mips/mm/tlb-r4k.c pudp = pud_offset(pgdp, address); pgdp 352 arch/nds32/include/asm/pgtable.h #define pgd_clear(pgdp) do { } while (0) pgdp 372 arch/parisc/include/asm/pgtable.h static inline void pgd_clear(pgd_t * pgdp) { } pgdp 954 arch/powerpc/include/asm/book3s/64/pgtable.h static inline void pgd_clear(pgd_t *pgdp) pgdp 956 arch/powerpc/include/asm/book3s/64/pgtable.h *pgdp = __pgd(0); pgdp 1013 arch/powerpc/include/asm/book3s/64/pgtable.h #define pud_offset(pgdp, addr) \ pgdp 1014 arch/powerpc/include/asm/book3s/64/pgtable.h (((pud_t *) pgd_page_vaddr(*(pgdp))) + pud_index(addr)) pgdp 63 arch/powerpc/include/asm/nohash/64/pgtable-4k.h static inline void pgd_clear(pgd_t *pgdp) pgdp 65 arch/powerpc/include/asm/nohash/64/pgtable-4k.h *pgdp = __pgd(0); pgdp 81 arch/powerpc/include/asm/nohash/64/pgtable-4k.h #define pud_offset(pgdp, addr) \ pgdp 82 arch/powerpc/include/asm/nohash/64/pgtable-4k.h (((pud_t *) pgd_page_vaddr(*(pgdp))) + \ pgdp 180 arch/powerpc/include/asm/nohash/64/pgtable.h static inline void pgd_set(pgd_t *pgdp, unsigned long val) pgdp 182 arch/powerpc/include/asm/nohash/64/pgtable.h *pgdp = __pgd(val); pgdp 1199 arch/powerpc/kvm/book3s_64_mmu_radix.c pgd_t pgd, *pgdp; pgdp 1271 arch/powerpc/kvm/book3s_64_mmu_radix.c pgdp = pgt + pgd_index(gpa); pgdp 1272 arch/powerpc/kvm/book3s_64_mmu_radix.c pgd = READ_ONCE(*pgdp); pgdp 110 arch/powerpc/lib/code-patching.c pgd_t *pgdp; pgdp 112 arch/powerpc/lib/code-patching.c pgdp = pgd_offset_k(addr); pgdp 113 arch/powerpc/lib/code-patching.c if (unlikely(!pgdp)) pgdp 116 arch/powerpc/lib/code-patching.c pudp = pud_offset(pgdp, addr); pgdp 150 arch/powerpc/mm/book3s64/hash_pgtable.c pgd_t *pgdp; pgdp 157 arch/powerpc/mm/book3s64/hash_pgtable.c pgdp = pgd_offset_k(ea); pgdp 158 arch/powerpc/mm/book3s64/hash_pgtable.c pudp = pud_alloc(&init_mm, pgdp, ea); pgdp 65 arch/powerpc/mm/book3s64/radix_pgtable.c pgd_t *pgdp; pgdp 70 arch/powerpc/mm/book3s64/radix_pgtable.c pgdp = pgd_offset_k(ea); pgdp 71 arch/powerpc/mm/book3s64/radix_pgtable.c if (pgd_none(*pgdp)) { pgdp 74 arch/powerpc/mm/book3s64/radix_pgtable.c pgd_populate(&init_mm, pgdp, pudp); pgdp 76 arch/powerpc/mm/book3s64/radix_pgtable.c pudp = pud_offset(pgdp, ea); pgdp 115 arch/powerpc/mm/book3s64/radix_pgtable.c pgd_t *pgdp; pgdp 137 arch/powerpc/mm/book3s64/radix_pgtable.c pgdp = pgd_offset_k(ea); pgdp 138 arch/powerpc/mm/book3s64/radix_pgtable.c pudp = pud_alloc(&init_mm, pgdp, ea); pgdp 174 arch/powerpc/mm/book3s64/radix_pgtable.c pgd_t *pgdp; pgdp 186 arch/powerpc/mm/book3s64/radix_pgtable.c pgdp = pgd_offset_k(idx); pgdp 187 arch/powerpc/mm/book3s64/radix_pgtable.c pudp = pud_alloc(&init_mm, pgdp, idx); pgdp 75 arch/powerpc/mm/nohash/book3e_pgtable.c pgd_t *pgdp; pgdp 82 arch/powerpc/mm/nohash/book3e_pgtable.c pgdp = pgd_offset_k(ea); pgdp 83 arch/powerpc/mm/nohash/book3e_pgtable.c pudp = pud_alloc(&init_mm, pgdp, ea); pgdp 93 arch/powerpc/mm/nohash/book3e_pgtable.c pgdp = pgd_offset_k(ea); pgdp 95 arch/powerpc/mm/nohash/book3e_pgtable.c if (pgd_none(*pgdp)) { pgdp 97 arch/powerpc/mm/nohash/book3e_pgtable.c pgd_populate(&init_mm, pgdp, pudp); pgdp 100 arch/powerpc/mm/nohash/book3e_pgtable.c pudp = pud_offset(pgdp, ea); pgdp 315 arch/powerpc/mm/pgtable.c pgd_t pgd, *pgdp; pgdp 328 arch/powerpc/mm/pgtable.c pgdp = pgdir + pgd_index(ea); pgdp 329 arch/powerpc/mm/pgtable.c pgd = READ_ONCE(*pgdp); pgdp 340 arch/powerpc/mm/pgtable.c ret_pte = (pte_t *)pgdp; pgdp 3123 arch/powerpc/xmon/xmon.c pgd_t *pgdp, *pgdir; pgdp 3148 arch/powerpc/xmon/xmon.c pgdp = pgd_offset_k(addr); pgdp 3151 arch/powerpc/xmon/xmon.c pgdp = pgd_offset(mm, addr); pgdp 3155 arch/powerpc/xmon/xmon.c if (pgd_none(*pgdp)) { pgdp 3162 arch/powerpc/xmon/xmon.c if (pgd_is_leaf(*pgdp)) { pgdp 3163 arch/powerpc/xmon/xmon.c format_pte(pgdp, pgd_val(*pgdp)); pgdp 3166 arch/powerpc/xmon/xmon.c printf("pgdp @ 0x%px = 0x%016lx\n", pgdp, pgd_val(*pgdp)); pgdp 3168 arch/powerpc/xmon/xmon.c pudp = pud_offset(pgdp, addr); pgdp 289 arch/riscv/mm/init.c static void __init create_pgd_mapping(pgd_t *pgdp, pgdp 298 arch/riscv/mm/init.c if (pgd_val(pgdp[pgd_index]) == 0) pgdp 299 arch/riscv/mm/init.c pgdp[pgd_index] = pfn_pgd(PFN_DOWN(pa), prot); pgdp 303 arch/riscv/mm/init.c if (pgd_val(pgdp[pgd_index]) == 0) { pgdp 305 arch/riscv/mm/init.c pgdp[pgd_index] = pfn_pgd(PFN_DOWN(next_phys), PAGE_TABLE); pgdp 309 arch/riscv/mm/init.c next_phys = PFN_PHYS(_pgd_pfn(pgdp[pgd_index])); pgdp 195 arch/s390/mm/hugetlbpage.c pgd_t *pgdp; pgdp 200 arch/s390/mm/hugetlbpage.c pgdp = pgd_offset(mm, addr); pgdp 201 arch/s390/mm/hugetlbpage.c p4dp = p4d_alloc(mm, pgdp, addr); pgdp 217 arch/s390/mm/hugetlbpage.c pgd_t *pgdp; pgdp 222 arch/s390/mm/hugetlbpage.c pgdp = pgd_offset(mm, addr); pgdp 223 arch/s390/mm/hugetlbpage.c if (pgd_present(*pgdp)) { pgdp 224 arch/s390/mm/hugetlbpage.c p4dp = p4d_offset(pgdp, addr); pgdp 289 arch/s390/mm/pageattr.c pgd_t *pgdp; pgdp 296 arch/s390/mm/pageattr.c pgdp = pgd_offset_k(addr); pgdp 298 arch/s390/mm/pageattr.c if (pgd_none(*pgdp)) pgdp 301 arch/s390/mm/pageattr.c rc = walk_p4d_level(pgdp, addr, next, flags); pgdp 305 arch/s390/mm/pageattr.c } while (pgdp++, addr = next, addr < end && !rc); pgdp 29 arch/sparc/include/asm/pgalloc_32.h static inline void pgd_set(pgd_t * pgdp, pmd_t * pmdp) pgdp 33 arch/sparc/include/asm/pgalloc_32.h set_pte((pte_t *)pgdp, __pte((SRMMU_ET_PTD | (pa >> 4)))); pgdp 202 arch/sparc/include/asm/pgtable_32.h static inline void pgd_clear(pgd_t *pgdp) pgdp 204 arch/sparc/include/asm/pgtable_32.h set_pte((pte_t *)pgdp, __pte(0)); pgdp 865 arch/sparc/include/asm/pgtable_64.h #define pgd_clear(pgdp) (pgd_val(*(pgdp)) = 0UL) pgdp 887 arch/sparc/include/asm/pgtable_64.h #define pgd_set(pgdp, pudp) \ pgdp 888 arch/sparc/include/asm/pgtable_64.h (pgd_val(*(pgdp)) = (__pa((unsigned long) (pudp)))) pgdp 899 arch/sparc/include/asm/pgtable_64.h #define pud_offset(pgdp, address) \ pgdp 900 arch/sparc/include/asm/pgtable_64.h ((pud_t *) pgd_page_vaddr(*(pgdp)) + pud_index(address)) pgdp 301 arch/sparc/kernel/signal32.c pgd_t *pgdp; pgdp 318 arch/sparc/kernel/signal32.c pgdp = pgd_offset(current->mm, address); pgdp 319 arch/sparc/kernel/signal32.c if (pgd_none(*pgdp)) pgdp 321 arch/sparc/kernel/signal32.c pudp = pud_offset(pgdp, address); pgdp 82 arch/sparc/mm/fault_64.c pgd_t *pgdp = pgd_offset(current->mm, tpc); pgdp 89 arch/sparc/mm/fault_64.c if (pgd_none(*pgdp) || unlikely(pgd_bad(*pgdp))) pgdp 91 arch/sparc/mm/fault_64.c pudp = pud_offset(pgdp, tpc); pgdp 532 arch/sparc/mm/init_64.c pgd_t *pgdp = pgd_offset_k(kaddr); pgdp 533 arch/sparc/mm/init_64.c pud_t *pudp = pud_offset(pgdp, kaddr); pgdp 241 arch/sparc/mm/io-unit.c pgd_t *pgdp; pgdp 246 arch/sparc/mm/io-unit.c pgdp = pgd_offset(&init_mm, addr); pgdp 247 arch/sparc/mm/io-unit.c pmdp = pmd_offset(pgdp, addr); pgdp 345 arch/sparc/mm/iommu.c pgd_t *pgdp; pgdp 356 arch/sparc/mm/iommu.c pgdp = pgd_offset(&init_mm, addr); pgdp 357 arch/sparc/mm/iommu.c pmdp = pmd_offset(pgdp, addr); pgdp 110 arch/sparc/mm/srmmu.c static inline void srmmu_ctxd_set(ctxd_t *ctxp, pgd_t *pgdp) pgdp 114 arch/sparc/mm/srmmu.c pte = __pte((SRMMU_ET_PTD | (__nocache_pa(pgdp) >> 4))); pgdp 518 arch/sparc/mm/srmmu.c pgd_t *pgdp; pgdp 524 arch/sparc/mm/srmmu.c pgdp = pgd_offset_k(virt_addr); pgdp 525 arch/sparc/mm/srmmu.c pmdp = pmd_offset(pgdp, virt_addr); pgdp 553 arch/sparc/mm/srmmu.c pgd_t *pgdp; pgdp 557 arch/sparc/mm/srmmu.c pgdp = pgd_offset_k(virt_addr); pgdp 558 arch/sparc/mm/srmmu.c pmdp = pmd_offset(pgdp, virt_addr); pgdp 695 arch/sparc/mm/srmmu.c pgd_t *pgdp; pgdp 700 arch/sparc/mm/srmmu.c pgdp = pgd_offset_k(start); pgdp 701 arch/sparc/mm/srmmu.c if (pgd_none(*(pgd_t *)__nocache_fix(pgdp))) { pgdp 707 arch/sparc/mm/srmmu.c pgd_set(__nocache_fix(pgdp), pmdp); pgdp 709 arch/sparc/mm/srmmu.c pmdp = pmd_offset(__nocache_fix(pgdp), start); pgdp 726 arch/sparc/mm/srmmu.c pgd_t *pgdp; pgdp 731 arch/sparc/mm/srmmu.c pgdp = pgd_offset_k(start); pgdp 732 arch/sparc/mm/srmmu.c if (pgd_none(*pgdp)) { pgdp 737 arch/sparc/mm/srmmu.c pgd_set(pgdp, pmdp); pgdp 739 arch/sparc/mm/srmmu.c pmdp = pmd_offset(pgdp, start); pgdp 781 arch/sparc/mm/srmmu.c pgd_t *pgdp; pgdp 812 arch/sparc/mm/srmmu.c pgdp = pgd_offset_k(start); pgdp 814 arch/sparc/mm/srmmu.c *(pgd_t *)__nocache_fix(pgdp) = __pgd(probed); pgdp 818 arch/sparc/mm/srmmu.c if (pgd_none(*(pgd_t *)__nocache_fix(pgdp))) { pgdp 824 arch/sparc/mm/srmmu.c pgd_set(__nocache_fix(pgdp), pmdp); pgdp 826 arch/sparc/mm/srmmu.c pmdp = pmd_offset(__nocache_fix(pgdp), start); pgdp 858 arch/sparc/mm/srmmu.c pgd_t *pgdp = pgd_offset_k(vaddr); pgdp 862 arch/sparc/mm/srmmu.c *(pgd_t *)__nocache_fix(pgdp) = __pgd(big_pte); pgdp 539 arch/x86/include/asm/paravirt.h static inline void __set_pgd(pgd_t *pgdp, pgd_t pgd) pgdp 541 arch/x86/include/asm/paravirt.h PVOP_VCALL2(mmu.set_pgd, pgdp, native_pgd_val(pgd)); pgdp 544 arch/x86/include/asm/paravirt.h #define set_pgd(pgdp, pgdval) do { \ pgdp 546 arch/x86/include/asm/paravirt.h __set_pgd(pgdp, pgdval); \ pgdp 548 arch/x86/include/asm/paravirt.h set_p4d((p4d_t *)(pgdp), (p4d_t) { (pgdval).pgd }); \ pgdp 551 arch/x86/include/asm/paravirt.h #define pgd_clear(pgdp) do { \ pgdp 553 arch/x86/include/asm/paravirt.h set_pgd(pgdp, __pgd(0)); \ pgdp 288 arch/x86/include/asm/paravirt_types.h void (*set_pgd)(pgd_t *pgdp, pgd_t pgdval); pgdp 72 arch/x86/include/asm/pgtable.h #define set_pgd(pgdp, pgd) native_set_pgd(pgdp, pgd) pgdp 688 arch/x86/include/asm/pgtable.h pgd_t __pti_set_user_pgtbl(pgd_t *pgdp, pgd_t pgd); pgdp 695 arch/x86/include/asm/pgtable.h static inline pgd_t pti_set_user_pgtbl(pgd_t *pgdp, pgd_t pgd) pgdp 699 arch/x86/include/asm/pgtable.h return __pti_set_user_pgtbl(pgdp, pgd); pgdp 702 arch/x86/include/asm/pgtable.h static inline pgd_t pti_set_user_pgtbl(pgd_t *pgdp, pgd_t pgd) pgdp 1270 arch/x86/include/asm/pgtable.h static inline pgd_t *kernel_to_user_pgdp(pgd_t *pgdp) pgdp 1272 arch/x86/include/asm/pgtable.h return ptr_set_bit(pgdp, PTI_PGTABLE_SWITCH_BIT); pgdp 1275 arch/x86/include/asm/pgtable.h static inline pgd_t *user_to_kernel_pgdp(pgd_t *pgdp) pgdp 1277 arch/x86/include/asm/pgtable.h return ptr_clear_bit(pgdp, PTI_PGTABLE_SWITCH_BIT); pgdp 155 arch/x86/include/asm/pgtable_64.h static inline void native_set_pgd(pgd_t *pgdp, pgd_t pgd) pgdp 157 arch/x86/include/asm/pgtable_64.h WRITE_ONCE(*pgdp, pti_set_user_pgtbl(pgdp, pgd)); pgdp 255 arch/x86/mm/pgtable.c static void mop_up_one_pmd(struct mm_struct *mm, pgd_t *pgdp) pgdp 257 arch/x86/mm/pgtable.c pgd_t pgd = *pgdp; pgdp 262 arch/x86/mm/pgtable.c pgd_clear(pgdp); pgdp 270 arch/x86/mm/pgtable.c static void pgd_mop_up_pmds(struct mm_struct *mm, pgd_t *pgdp) pgdp 275 arch/x86/mm/pgtable.c mop_up_one_pmd(mm, &pgdp[i]); pgdp 282 arch/x86/mm/pgtable.c pgdp = kernel_to_user_pgdp(pgdp); pgdp 285 arch/x86/mm/pgtable.c mop_up_one_pmd(mm, &pgdp[i + KERNEL_PGD_BOUNDARY]); pgdp 125 arch/x86/mm/pti.c pgd_t __pti_set_user_pgtbl(pgd_t *pgdp, pgd_t pgd) pgdp 136 arch/x86/mm/pti.c if (!pgdp_maps_userspace(pgdp)) pgdp 143 arch/x86/mm/pti.c kernel_to_user_pgdp(pgdp)->pgd = pgd.pgd; pgdp 208 drivers/misc/sgi-gru/grufault.c pgd_t *pgdp; pgdp 214 drivers/misc/sgi-gru/grufault.c pgdp = pgd_offset(vma->vm_mm, vaddr); pgdp 215 drivers/misc/sgi-gru/grufault.c if (unlikely(pgd_none(*pgdp))) pgdp 218 drivers/misc/sgi-gru/grufault.c p4dp = p4d_offset(pgdp, vaddr); pgdp 435 include/asm-generic/pgtable.h #define set_pgd_safe(pgdp, pgd) \ pgdp 437 include/asm-generic/pgtable.h WARN_ON_ONCE(pgd_present(*pgdp) && !pgd_same(*pgdp, pgd)); \ pgdp 438 include/asm-generic/pgtable.h set_pgd(pgdp, pgd); \ pgdp 473 mm/gup.c unsigned long address, pgd_t *pgdp, pgdp 480 mm/gup.c p4d = p4d_offset(pgdp, address); pgdp 2150 mm/gup.c static int gup_huge_pgd(pgd_t orig, pgd_t *pgdp, unsigned long addr, pgdp 2176 mm/gup.c if (unlikely(pgd_val(orig) != pgd_val(*pgdp))) { pgdp 2287 mm/gup.c pgd_t *pgdp; pgdp 2289 mm/gup.c pgdp = pgd_offset(current->mm, addr); pgdp 2291 mm/gup.c pgd_t pgd = READ_ONCE(*pgdp); pgdp 2297 mm/gup.c if (!gup_huge_pgd(pgd, pgdp, addr, next, flags, pgdp 2306 mm/gup.c } while (pgdp++, addr = next, addr != end); pgdp 2715 mm/migrate.c pgd_t *pgdp; pgdp 2725 mm/migrate.c pgdp = pgd_offset(mm, addr); pgdp 2726 mm/migrate.c p4dp = p4d_alloc(mm, pgdp, addr); pgdp 212 virt/kvm/arm/mmu.c static inline void kvm_pgd_populate(pgd_t *pgdp, pud_t *pudp) pgdp 214 virt/kvm/arm/mmu.c WRITE_ONCE(*pgdp, kvm_mk_pgd(pudp)); pgdp 534 virt/kvm/arm/mmu.c static void __unmap_hyp_range(pgd_t *pgdp, unsigned long ptrs_per_pgd, pgdp 545 virt/kvm/arm/mmu.c pgd = pgdp + kvm_pgd_index(addr, ptrs_per_pgd); pgdp 553 virt/kvm/arm/mmu.c static void unmap_hyp_range(pgd_t *pgdp, phys_addr_t start, u64 size) pgdp 555 virt/kvm/arm/mmu.c __unmap_hyp_range(pgdp, PTRS_PER_PGD, start, size); pgdp 558 virt/kvm/arm/mmu.c static void unmap_hyp_idmap_range(pgd_t *pgdp, phys_addr_t start, u64 size) pgdp 560 virt/kvm/arm/mmu.c __unmap_hyp_range(pgdp, __kvm_idmap_ptrs_per_pgd(), start, size); pgdp 692 virt/kvm/arm/mmu.c static int __create_hyp_mappings(pgd_t *pgdp, unsigned long ptrs_per_pgd, pgdp 705 virt/kvm/arm/mmu.c pgd = pgdp + kvm_pgd_index(addr, ptrs_per_pgd);