Lines Matching refs:ptl
3527 spinlock_t *ptl; in __unmap_hugepage_range() local
3557 ptl = huge_pte_lock(h, mm, ptep); in __unmap_hugepage_range()
3559 spin_unlock(ptl); in __unmap_hugepage_range()
3569 spin_unlock(ptl); in __unmap_hugepage_range()
3579 spin_unlock(ptl); in __unmap_hugepage_range()
3591 spin_unlock(ptl); in __unmap_hugepage_range()
3610 spin_unlock(ptl); in __unmap_hugepage_range()
3729 struct page *pagecache_page, spinlock_t *ptl) in hugetlb_cow() argument
3770 spin_unlock(ptl); in hugetlb_cow()
3786 spin_lock(ptl); in hugetlb_cow()
3823 spin_lock(ptl); in hugetlb_cow()
3839 spin_unlock(ptl); in hugetlb_cow()
3847 spin_lock(ptl); /* Caller expects lock to be held */ in hugetlb_cow()
3918 spinlock_t *ptl; in hugetlb_no_page() local
3988 ptl = huge_pte_lock(h, mm, ptep); in hugetlb_no_page()
3991 spin_unlock(ptl); in hugetlb_no_page()
3994 spin_unlock(ptl); in hugetlb_no_page()
4046 ptl = huge_pte_lock(h, mm, ptep); in hugetlb_no_page()
4067 ret = hugetlb_cow(mm, vma, address, ptep, page, ptl); in hugetlb_no_page()
4070 spin_unlock(ptl); in hugetlb_no_page()
4085 spin_unlock(ptl); in hugetlb_no_page()
4123 spinlock_t *ptl; in hugetlb_fault() local
4199 ptl = huge_pte_lock(h, mm, ptep); in hugetlb_fault()
4222 pagecache_page, ptl); in hugetlb_fault()
4236 spin_unlock(ptl); in hugetlb_fault()
4273 spinlock_t *ptl; in hugetlb_mcopy_atomic_pte() local
4329 ptl = huge_pte_lockptr(h, dst_mm, dst_pte); in hugetlb_mcopy_atomic_pte()
4330 spin_lock(ptl); in hugetlb_mcopy_atomic_pte()
4371 spin_unlock(ptl); in hugetlb_mcopy_atomic_pte()
4379 spin_unlock(ptl); in hugetlb_mcopy_atomic_pte()
4400 spinlock_t *ptl = NULL; in follow_hugetlb_page() local
4423 ptl = huge_pte_lock(h, mm, pte); in follow_hugetlb_page()
4436 spin_unlock(ptl); in follow_hugetlb_page()
4458 spin_unlock(ptl); in follow_hugetlb_page()
4505 spin_unlock(ptl); in follow_hugetlb_page()
4532 spin_unlock(ptl); in follow_hugetlb_page()
4580 spinlock_t *ptl; in hugetlb_change_protection() local
4584 ptl = huge_pte_lock(h, mm, ptep); in hugetlb_change_protection()
4587 spin_unlock(ptl); in hugetlb_change_protection()
4593 spin_unlock(ptl); in hugetlb_change_protection()
4608 spin_unlock(ptl); in hugetlb_change_protection()
4620 spin_unlock(ptl); in hugetlb_change_protection()
4889 spinlock_t *ptl; in huge_pmd_share() local
4913 ptl = huge_pte_lock(hstate_vma(vma), mm, spte); in huge_pmd_share()
4921 spin_unlock(ptl); in huge_pmd_share()
5072 spinlock_t *ptl; in follow_huge_pmd() local
5075 ptl = pmd_lockptr(mm, pmd); in follow_huge_pmd()
5076 spin_lock(ptl); in follow_huge_pmd()
5090 spin_unlock(ptl); in follow_huge_pmd()
5091 __migration_entry_wait(mm, (pte_t *)pmd, ptl); in follow_huge_pmd()
5100 spin_unlock(ptl); in follow_huge_pmd()