Lines Matching refs:ptl
4937 spinlock_t *ptl; in __unmap_hugepage_range() local
4968 ptl = huge_pte_lock(h, mm, ptep); in __unmap_hugepage_range()
4970 spin_unlock(ptl); in __unmap_hugepage_range()
4978 spin_unlock(ptl); in __unmap_hugepage_range()
4988 spin_unlock(ptl); in __unmap_hugepage_range()
5000 spin_unlock(ptl); in __unmap_hugepage_range()
5019 spin_unlock(ptl); in __unmap_hugepage_range()
5140 struct page *pagecache_page, spinlock_t *ptl) in hugetlb_cow() argument
5181 spin_unlock(ptl); in hugetlb_cow()
5217 spin_lock(ptl); in hugetlb_cow()
5254 spin_lock(ptl); in hugetlb_cow()
5270 spin_unlock(ptl); in hugetlb_cow()
5280 spin_lock(ptl); /* Caller expects lock to be held */ in hugetlb_cow()
5389 spinlock_t *ptl; in hugetlb_no_page() local
5439 ptl = huge_pte_lock(h, mm, ptep); in hugetlb_no_page()
5443 spin_unlock(ptl); in hugetlb_no_page()
5505 ptl = huge_pte_lock(h, mm, ptep); in hugetlb_no_page()
5522 ret = hugetlb_cow(mm, vma, address, ptep, page, ptl); in hugetlb_no_page()
5525 spin_unlock(ptl); in hugetlb_no_page()
5540 spin_unlock(ptl); in hugetlb_no_page()
5578 spinlock_t *ptl; in hugetlb_fault() local
5672 ptl = huge_pte_lock(h, mm, ptep); in hugetlb_fault()
5695 pagecache_page, ptl); in hugetlb_fault()
5709 spin_unlock(ptl); in hugetlb_fault()
5750 spinlock_t *ptl; in hugetlb_mcopy_atomic_pte() local
5852 ptl = huge_pte_lockptr(h, dst_mm, dst_pte); in hugetlb_mcopy_atomic_pte()
5853 spin_lock(ptl); in hugetlb_mcopy_atomic_pte()
5900 spin_unlock(ptl); in hugetlb_mcopy_atomic_pte()
5909 spin_unlock(ptl); in hugetlb_mcopy_atomic_pte()
5947 spinlock_t *ptl = NULL; in follow_hugetlb_page() local
5970 ptl = huge_pte_lock(h, mm, pte); in follow_hugetlb_page()
5983 spin_unlock(ptl); in follow_hugetlb_page()
6005 spin_unlock(ptl); in follow_hugetlb_page()
6059 spin_unlock(ptl); in follow_hugetlb_page()
6087 spin_unlock(ptl); in follow_hugetlb_page()
6098 spin_unlock(ptl); in follow_hugetlb_page()
6138 spinlock_t *ptl; in hugetlb_change_protection() local
6142 ptl = huge_pte_lock(h, mm, ptep); in hugetlb_change_protection()
6145 spin_unlock(ptl); in hugetlb_change_protection()
6151 spin_unlock(ptl); in hugetlb_change_protection()
6167 spin_unlock(ptl); in hugetlb_change_protection()
6180 spin_unlock(ptl); in hugetlb_change_protection()
6495 spinlock_t *ptl; in huge_pmd_share() local
6516 ptl = huge_pte_lock(hstate_vma(vma), mm, spte); in huge_pmd_share()
6524 spin_unlock(ptl); in huge_pmd_share()
6678 spinlock_t *ptl; in follow_huge_pmd() local
6687 ptl = pmd_lockptr(mm, pmd); in follow_huge_pmd()
6688 spin_lock(ptl); in follow_huge_pmd()
6712 spin_unlock(ptl); in follow_huge_pmd()
6713 __migration_entry_wait(mm, (pte_t *)pmd, ptl); in follow_huge_pmd()
6722 spin_unlock(ptl); in follow_huge_pmd()
6839 spinlock_t *ptl; in hugetlb_unshare_all_pmds() local
6865 ptl = huge_pte_lock(h, mm, ptep); in hugetlb_unshare_all_pmds()
6868 spin_unlock(ptl); in hugetlb_unshare_all_pmds()