Lines Matching refs:ptl
2744 spinlock_t *ptl; in __unmap_hugepage_range() local
2764 ptl = huge_pte_lock(h, mm, ptep); in __unmap_hugepage_range()
2808 spin_unlock(ptl); in __unmap_hugepage_range()
2813 spin_unlock(ptl); in __unmap_hugepage_range()
2817 spin_unlock(ptl); in __unmap_hugepage_range()
2930 struct page *pagecache_page, spinlock_t *ptl) in hugetlb_cow() argument
2968 spin_unlock(ptl); in hugetlb_cow()
2984 spin_lock(ptl); in hugetlb_cow()
3023 spin_lock(ptl); in hugetlb_cow()
3038 spin_unlock(ptl); in hugetlb_cow()
3045 spin_lock(ptl); /* Caller expects lock to be held */ in hugetlb_cow()
3092 spinlock_t *ptl; in hugetlb_no_page() local
3177 ptl = huge_pte_lockptr(h, mm, ptep); in hugetlb_no_page()
3178 spin_lock(ptl); in hugetlb_no_page()
3198 ret = hugetlb_cow(mm, vma, address, ptep, new_pte, page, ptl); in hugetlb_no_page()
3201 spin_unlock(ptl); in hugetlb_no_page()
3207 spin_unlock(ptl); in hugetlb_no_page()
3253 spinlock_t *ptl; in hugetlb_fault() local
3328 ptl = huge_pte_lock(h, mm, ptep); in hugetlb_fault()
3351 pagecache_page, ptl); in hugetlb_fault()
3365 spin_unlock(ptl); in hugetlb_fault()
3397 spinlock_t *ptl = NULL; in follow_hugetlb_page() local
3419 ptl = huge_pte_lock(h, mm, pte); in follow_hugetlb_page()
3432 spin_unlock(ptl); in follow_hugetlb_page()
3453 spin_unlock(ptl); in follow_hugetlb_page()
3486 spin_unlock(ptl); in follow_hugetlb_page()
3510 spinlock_t *ptl; in hugetlb_change_protection() local
3514 ptl = huge_pte_lock(h, mm, ptep); in hugetlb_change_protection()
3517 spin_unlock(ptl); in hugetlb_change_protection()
3522 spin_unlock(ptl); in hugetlb_change_protection()
3536 spin_unlock(ptl); in hugetlb_change_protection()
3546 spin_unlock(ptl); in hugetlb_change_protection()
3731 spinlock_t *ptl; in huge_pmd_share() local
3755 ptl = huge_pte_lockptr(hstate_vma(vma), mm, spte); in huge_pmd_share()
3756 spin_lock(ptl); in huge_pmd_share()
3764 spin_unlock(ptl); in huge_pmd_share()
3869 spinlock_t *ptl; in follow_huge_pmd() local
3871 ptl = pmd_lockptr(mm, pmd); in follow_huge_pmd()
3872 spin_lock(ptl); in follow_huge_pmd()
3885 spin_unlock(ptl); in follow_huge_pmd()
3886 __migration_entry_wait(mm, (pte_t *)pmd, ptl); in follow_huge_pmd()
3895 spin_unlock(ptl); in follow_huge_pmd()