Home
last modified time | relevance | path

Searched refs:pgdp (Results 1 – 3 of 3) sorted by relevance

/mm/
Ddebug_vm_pgtable.c558 static void __init pgd_clear_tests(struct mm_struct *mm, pgd_t *pgdp) in pgd_clear_tests() argument
560 pgd_t pgd = READ_ONCE(*pgdp); in pgd_clear_tests()
567 WRITE_ONCE(*pgdp, pgd); in pgd_clear_tests()
568 pgd_clear(pgdp); in pgd_clear_tests()
569 pgd = READ_ONCE(*pgdp); in pgd_clear_tests()
573 static void __init pgd_populate_tests(struct mm_struct *mm, pgd_t *pgdp, in pgd_populate_tests() argument
587 pgd_clear(pgdp); in pgd_populate_tests()
588 pgd_populate(mm, pgdp, p4dp); in pgd_populate_tests()
589 pgd = READ_ONCE(*pgdp); in pgd_populate_tests()
594 static void __init pgd_clear_tests(struct mm_struct *mm, pgd_t *pgdp) { } in pgd_clear_tests() argument
[all …]
Dgup.c743 unsigned long address, pgd_t *pgdp, in follow_p4d_mask() argument
750 p4d = p4d_offset(pgdp, address); in follow_p4d_mask()
2472 static int gup_huge_pgd(pgd_t orig, pgd_t *pgdp, unsigned long addr, in gup_huge_pgd() argument
2491 if (unlikely(pgd_val(orig) != pgd_val(*pgdp))) { in gup_huge_pgd()
2572 static int gup_p4d_range(pgd_t *pgdp, pgd_t pgd, unsigned long addr, unsigned long end, in gup_p4d_range() argument
2578 p4dp = p4d_offset_lockless(pgdp, pgd, addr); in gup_p4d_range()
2601 pgd_t *pgdp; in gup_pgd_range() local
2603 pgdp = pgd_offset(current->mm, addr); in gup_pgd_range()
2605 pgd_t pgd = READ_ONCE(*pgdp); in gup_pgd_range()
2611 if (!gup_huge_pgd(pgd, pgdp, addr, next, flags, in gup_pgd_range()
[all …]
Dmigrate.c2850 pgd_t *pgdp; in migrate_vma_insert_page() local
2860 pgdp = pgd_offset(mm, addr); in migrate_vma_insert_page()
2861 p4dp = p4d_alloc(mm, pgdp, addr); in migrate_vma_insert_page()