Lines Matching refs:ptl
3912 spinlock_t *ptl; in __unmap_hugepage_range() local
3943 ptl = huge_pte_lock(h, mm, ptep); in __unmap_hugepage_range()
3945 spin_unlock(ptl); in __unmap_hugepage_range()
3953 spin_unlock(ptl); in __unmap_hugepage_range()
3963 spin_unlock(ptl); in __unmap_hugepage_range()
3975 spin_unlock(ptl); in __unmap_hugepage_range()
3994 spin_unlock(ptl); in __unmap_hugepage_range()
4129 struct page *pagecache_page, spinlock_t *ptl) in hugetlb_cow() argument
4170 spin_unlock(ptl); in hugetlb_cow()
4206 spin_lock(ptl); in hugetlb_cow()
4243 spin_lock(ptl); in hugetlb_cow()
4259 spin_unlock(ptl); in hugetlb_cow()
4267 spin_lock(ptl); /* Caller expects lock to be held */ in hugetlb_cow()
4370 spinlock_t *ptl; in hugetlb_no_page() local
4420 ptl = huge_pte_lock(h, mm, ptep); in hugetlb_no_page()
4423 spin_unlock(ptl); in hugetlb_no_page()
4426 spin_unlock(ptl); in hugetlb_no_page()
4488 ptl = huge_pte_lock(h, mm, ptep); in hugetlb_no_page()
4505 ret = hugetlb_cow(mm, vma, address, ptep, page, ptl); in hugetlb_no_page()
4508 spin_unlock(ptl); in hugetlb_no_page()
4525 spin_unlock(ptl); in hugetlb_no_page()
4561 spinlock_t *ptl; in hugetlb_fault() local
4657 ptl = huge_pte_lock(h, mm, ptep); in hugetlb_fault()
4680 pagecache_page, ptl); in hugetlb_fault()
4694 spin_unlock(ptl); in hugetlb_fault()
4735 spinlock_t *ptl; in hugetlb_mcopy_atomic_pte() local
4805 ptl = huge_pte_lockptr(h, dst_mm, dst_pte); in hugetlb_mcopy_atomic_pte()
4806 spin_lock(ptl); in hugetlb_mcopy_atomic_pte()
4853 spin_unlock(ptl); in hugetlb_mcopy_atomic_pte()
4862 spin_unlock(ptl); in hugetlb_mcopy_atomic_pte()
4884 spinlock_t *ptl = NULL; in follow_hugetlb_page() local
4907 ptl = huge_pte_lock(h, mm, pte); in follow_hugetlb_page()
4920 spin_unlock(ptl); in follow_hugetlb_page()
4942 spin_unlock(ptl); in follow_hugetlb_page()
4996 spin_unlock(ptl); in follow_hugetlb_page()
5014 spin_unlock(ptl); in follow_hugetlb_page()
5036 spin_unlock(ptl); in follow_hugetlb_page()
5076 spinlock_t *ptl; in hugetlb_change_protection() local
5080 ptl = huge_pte_lock(h, mm, ptep); in hugetlb_change_protection()
5083 spin_unlock(ptl); in hugetlb_change_protection()
5089 spin_unlock(ptl); in hugetlb_change_protection()
5104 spin_unlock(ptl); in hugetlb_change_protection()
5116 spin_unlock(ptl); in hugetlb_change_protection()
5443 spinlock_t *ptl; in huge_pmd_share() local
5464 ptl = huge_pte_lock(hstate_vma(vma), mm, spte); in huge_pmd_share()
5472 spin_unlock(ptl); in huge_pmd_share()
5634 spinlock_t *ptl; in follow_huge_pmd_pte() local
5647 ptl = huge_pte_lock(h, mm, ptep); in follow_huge_pmd_pte()
5666 spin_unlock(ptl); in follow_huge_pmd_pte()
5667 __migration_entry_wait(mm, ptep, ptl); in follow_huge_pmd_pte()
5676 spin_unlock(ptl); in follow_huge_pmd_pte()
5770 spinlock_t *ptl; in hugetlb_unshare_all_pmds() local
5797 ptl = huge_pte_lock(h, mm, ptep); in hugetlb_unshare_all_pmds()
5800 spin_unlock(ptl); in hugetlb_unshare_all_pmds()