Lines Matching defs:pudp

335 				      struct vm_area_struct *vma, pud_t *pudp,
349 set_pud_at(mm, vaddr, pudp, pud);
350 pudp_set_wrprotect(mm, vaddr, pudp);
351 pud = READ_ONCE(*pudp);
355 pudp_huge_get_and_clear(mm, vaddr, pudp);
356 pud = READ_ONCE(*pudp);
362 set_pud_at(mm, vaddr, pudp, pud);
365 pudp_set_access_flags(vma, vaddr, pudp, pud, 1);
366 pud = READ_ONCE(*pudp);
370 pudp_huge_get_and_clear_full(mm, vaddr, pudp, 1);
371 pud = READ_ONCE(*pudp);
377 set_pud_at(mm, vaddr, pudp, pud);
378 pudp_test_and_clear_young(vma, vaddr, pudp);
379 pud = READ_ONCE(*pudp);
382 pudp_huge_get_and_clear(mm, vaddr, pudp);
402 static void __init pud_huge_tests(pud_t *pudp, unsigned long pfn, pgprot_t prot)
414 WRITE_ONCE(*pudp, __pud(0));
415 WARN_ON(!pud_set_huge(pudp, __pfn_to_phys(pfn), prot));
416 WARN_ON(!pud_clear_huge(pudp));
417 pud = READ_ONCE(*pudp);
421 static void __init pud_huge_tests(pud_t *pudp, unsigned long pfn, pgprot_t prot) { }
427 struct vm_area_struct *vma, pud_t *pudp,
433 static void __init pud_huge_tests(pud_t *pudp, unsigned long pfn, pgprot_t prot)
447 struct vm_area_struct *vma, pud_t *pudp,
457 static void __init pud_huge_tests(pud_t *pudp, unsigned long pfn, pgprot_t prot)
482 static void __init pud_clear_tests(struct mm_struct *mm, pud_t *pudp)
484 pud_t pud = READ_ONCE(*pudp);
491 WRITE_ONCE(*pudp, pud);
492 pud_clear(pudp);
493 pud = READ_ONCE(*pudp);
497 static void __init pud_populate_tests(struct mm_struct *mm, pud_t *pudp,
510 pud_populate(mm, pudp, pmdp);
511 pud = READ_ONCE(*pudp);
515 static void __init pud_clear_tests(struct mm_struct *mm, pud_t *pudp) { }
516 static void __init pud_populate_tests(struct mm_struct *mm, pud_t *pudp,
539 pud_t *pudp)
551 pud_clear(pudp);
553 p4d_populate(mm, p4dp, pudp);
596 pud_t *pudp)
979 pud_t *pudp, *saved_pudp;
1031 pudp = pud_alloc(mm, p4dp, vaddr);
1032 pmdp = pmd_alloc(mm, pudp, vaddr);
1050 saved_pmdp = pmd_offset(pudp, 0UL);
1121 ptl = pud_lock(mm, pudp);
1122 pud_clear_tests(mm, pudp);
1123 pud_advanced_tests(mm, vma, pudp, pud_aligned, vaddr, prot);
1124 pud_huge_tests(pudp, pud_aligned, prot);
1125 pud_populate_tests(mm, pudp, saved_pmdp);