Home
last modified time | relevance | path

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

/mm/
Dpgtable-generic.c62 unsigned long address, pmd_t *pmdp, in pmdp_set_access_flags() argument
66 int changed = !pmd_same(*pmdp, entry); in pmdp_set_access_flags()
69 set_pmd_at(vma->vm_mm, address, pmdp, entry); in pmdp_set_access_flags()
94 unsigned long address, pmd_t *pmdp) in pmdp_clear_flush_young() argument
102 young = pmdp_test_and_clear_young(vma, address, pmdp); in pmdp_clear_flush_young()
125 pmd_t *pmdp) in pmdp_clear_flush() argument
129 pmd = pmdp_get_and_clear(vma->vm_mm, address, pmdp); in pmdp_clear_flush()
139 pmd_t *pmdp) in pmdp_splitting_flush() argument
141 pmd_t pmd = pmd_mksplitting(*pmdp); in pmdp_splitting_flush()
143 set_pmd_at(vma->vm_mm, address, pmdp, pmd); in pmdp_splitting_flush()
[all …]
Dgup.c785 static int gup_huge_pmd(pmd_t orig, pmd_t *pmdp, unsigned long addr, in gup_huge_pmd() argument
811 if (unlikely(pmd_val(orig) != pmd_val(*pmdp))) { in gup_huge_pmd()
878 pmd_t *pmdp; in gup_pmd_range() local
880 pmdp = pmd_offset(&pud, addr); in gup_pmd_range()
882 pmd_t pmd = ACCESS_ONCE(*pmdp); in gup_pmd_range()
897 if (!gup_huge_pmd(pmd, pmdp, addr, next, write, in gup_pmd_range()
903 } while (pmdp++, addr = next, addr != end); in gup_pmd_range()
Dhuge_memory.c1269 unsigned long addr, pmd_t pmd, pmd_t *pmdp) in do_huge_pmd_numa_page() argument
1281 ptl = pmd_lock(mm, pmdp); in do_huge_pmd_numa_page()
1282 if (unlikely(!pmd_same(pmd, *pmdp))) in do_huge_pmd_numa_page()
1290 if (unlikely(pmd_trans_migrating(*pmdp))) { in do_huge_pmd_numa_page()
1291 page = pmd_page(*pmdp); in do_huge_pmd_numa_page()
1295 wait_migrate_huge_page(vma->anon_vma, pmdp); in do_huge_pmd_numa_page()
1351 if (unlikely(!pmd_same(pmd, *pmdp))) { in do_huge_pmd_numa_page()
1371 pmdp, pmd, addr, page, target_nid); in do_huge_pmd_numa_page()
1381 set_pmd_at(mm, haddr, pmdp, pmd); in do_huge_pmd_numa_page()
1382 VM_BUG_ON(pmd_numa(*pmdp)); in do_huge_pmd_numa_page()
[all …]