Lines Matching refs:ptl
5232 spinlock_t *ptl; in __unmap_hugepage_range() local
5267 ptl = huge_pte_lock(h, mm, ptep); in __unmap_hugepage_range()
5269 spin_unlock(ptl); in __unmap_hugepage_range()
5278 spin_unlock(ptl); in __unmap_hugepage_range()
5301 spin_unlock(ptl); in __unmap_hugepage_range()
5313 spin_unlock(ptl); in __unmap_hugepage_range()
5338 spin_unlock(ptl); in __unmap_hugepage_range()
5469 struct page *pagecache_page, spinlock_t *ptl) in hugetlb_wp() argument
5539 spin_unlock(ptl); in hugetlb_wp()
5574 spin_lock(ptl); in hugetlb_wp()
5612 spin_lock(ptl); in hugetlb_wp()
5628 spin_unlock(ptl); in hugetlb_wp()
5641 spin_lock(ptl); /* Caller expects lock to be held */ in hugetlb_wp()
5738 spinlock_t *ptl; in hugetlb_pte_stable() local
5741 ptl = huge_pte_lock(h, mm, ptep); in hugetlb_pte_stable()
5743 spin_unlock(ptl); in hugetlb_pte_stable()
5760 spinlock_t *ptl; in hugetlb_no_page() local
5905 ptl = huge_pte_lock(h, mm, ptep); in hugetlb_no_page()
5929 ret = hugetlb_wp(mm, vma, address, ptep, flags, page, ptl); in hugetlb_no_page()
5932 spin_unlock(ptl); in hugetlb_no_page()
5949 spin_unlock(ptl); in hugetlb_no_page()
5987 spinlock_t *ptl; in hugetlb_fault() local
6082 ptl = huge_pte_lock(h, mm, ptep); in hugetlb_fault()
6098 spin_unlock(ptl); in hugetlb_fault()
6125 pagecache_page, ptl); in hugetlb_fault()
6140 spin_unlock(ptl); in hugetlb_fault()
6182 spinlock_t *ptl; in hugetlb_mcopy_atomic_pte() local
6286 ptl = huge_pte_lock(h, dst_mm, dst_pte); in hugetlb_mcopy_atomic_pte()
6337 spin_unlock(ptl); in hugetlb_mcopy_atomic_pte()
6346 spin_unlock(ptl); in hugetlb_mcopy_atomic_pte()
6403 spinlock_t *ptl = NULL; in follow_hugetlb_page() local
6427 ptl = huge_pte_lock(h, mm, pte); in follow_hugetlb_page()
6440 spin_unlock(ptl); in follow_hugetlb_page()
6461 spin_unlock(ptl); in follow_hugetlb_page()
6520 spin_unlock(ptl); in follow_hugetlb_page()
6547 spin_unlock(ptl); in follow_hugetlb_page()
6558 spin_unlock(ptl); in follow_hugetlb_page()
6604 spinlock_t *ptl; in hugetlb_change_protection() local
6619 ptl = huge_pte_lock(h, mm, ptep); in hugetlb_change_protection()
6628 spin_unlock(ptl); in hugetlb_change_protection()
6684 spin_unlock(ptl); in hugetlb_change_protection()
7006 spinlock_t *ptl; in huge_pmd_share() local
7027 ptl = huge_pte_lock(hstate_vma(vma), mm, spte); in huge_pmd_share()
7035 spin_unlock(ptl); in huge_pmd_share()
7223 spinlock_t *ptl; in follow_huge_pmd_pte() local
7238 ptl = huge_pte_lock(h, mm, ptep); in follow_huge_pmd_pte()
7257 spin_unlock(ptl); in follow_huge_pmd_pte()
7258 __migration_entry_wait_huge(ptep, ptl); in follow_huge_pmd_pte()
7267 spin_unlock(ptl); in follow_huge_pmd_pte()
7276 spinlock_t *ptl; in follow_huge_pud() local
7283 ptl = huge_pte_lock(hstate_sizelog(PUD_SHIFT), mm, (pte_t *)pud); in follow_huge_pud()
7295 spin_unlock(ptl); in follow_huge_pud()
7296 __migration_entry_wait(mm, (pte_t *)pud, ptl); in follow_huge_pud()
7305 spin_unlock(ptl); in follow_huge_pud()
7422 spinlock_t *ptl; in hugetlb_unshare_pmds() local
7445 ptl = huge_pte_lock(h, mm, ptep); in hugetlb_unshare_pmds()
7447 spin_unlock(ptl); in hugetlb_unshare_pmds()