Lines Matching refs:ptl
3165 spinlock_t *ptl; in __unmap_hugepage_range() local
3185 ptl = huge_pte_lock(h, mm, ptep); in __unmap_hugepage_range()
3230 spin_unlock(ptl); in __unmap_hugepage_range()
3235 spin_unlock(ptl); in __unmap_hugepage_range()
3239 spin_unlock(ptl); in __unmap_hugepage_range()
3352 struct page *pagecache_page, spinlock_t *ptl) in hugetlb_cow() argument
3390 spin_unlock(ptl); in hugetlb_cow()
3406 spin_lock(ptl); in hugetlb_cow()
3445 spin_lock(ptl); in hugetlb_cow()
3460 spin_unlock(ptl); in hugetlb_cow()
3467 spin_lock(ptl); /* Caller expects lock to be held */ in hugetlb_cow()
3531 spinlock_t *ptl; in hugetlb_no_page() local
3611 ptl = huge_pte_lockptr(h, mm, ptep); in hugetlb_no_page()
3612 spin_lock(ptl); in hugetlb_no_page()
3633 ret = hugetlb_cow(mm, vma, address, ptep, new_pte, page, ptl); in hugetlb_no_page()
3636 spin_unlock(ptl); in hugetlb_no_page()
3642 spin_unlock(ptl); in hugetlb_no_page()
3688 spinlock_t *ptl; in hugetlb_fault() local
3765 ptl = huge_pte_lock(h, mm, ptep); in hugetlb_fault()
3788 pagecache_page, ptl); in hugetlb_fault()
3802 spin_unlock(ptl); in hugetlb_fault()
3834 spinlock_t *ptl = NULL; in follow_hugetlb_page() local
3856 ptl = huge_pte_lock(h, mm, pte); in follow_hugetlb_page()
3869 spin_unlock(ptl); in follow_hugetlb_page()
3890 spin_unlock(ptl); in follow_hugetlb_page()
3923 spin_unlock(ptl); in follow_hugetlb_page()
3947 spinlock_t *ptl; in hugetlb_change_protection() local
3951 ptl = huge_pte_lock(h, mm, ptep); in hugetlb_change_protection()
3954 spin_unlock(ptl); in hugetlb_change_protection()
3959 spin_unlock(ptl); in hugetlb_change_protection()
3973 spin_unlock(ptl); in hugetlb_change_protection()
3983 spin_unlock(ptl); in hugetlb_change_protection()
4198 spinlock_t *ptl; in huge_pmd_share() local
4222 ptl = huge_pte_lockptr(hstate_vma(vma), mm, spte); in huge_pmd_share()
4223 spin_lock(ptl); in huge_pmd_share()
4231 spin_unlock(ptl); in huge_pmd_share()
4341 spinlock_t *ptl; in follow_huge_pmd() local
4343 ptl = pmd_lockptr(mm, pmd); in follow_huge_pmd()
4344 spin_lock(ptl); in follow_huge_pmd()
4357 spin_unlock(ptl); in follow_huge_pmd()
4358 __migration_entry_wait(mm, (pte_t *)pmd, ptl); in follow_huge_pmd()
4367 spin_unlock(ptl); in follow_huge_pmd()