Lines Matching refs:ptl
776 spinlock_t *ptl; in set_guest_storage_key() local
785 ptl = pmd_lock(mm, pmdp); in set_guest_storage_key()
787 spin_unlock(ptl); in set_guest_storage_key()
799 spin_unlock(ptl); in set_guest_storage_key()
802 spin_unlock(ptl); in set_guest_storage_key()
804 ptep = pte_alloc_map_lock(mm, pmdp, addr, &ptl); in set_guest_storage_key()
832 pte_unmap_unlock(ptep, ptl); in set_guest_storage_key()
877 spinlock_t *ptl; in reset_guest_reference_bit() local
888 ptl = pmd_lock(mm, pmdp); in reset_guest_reference_bit()
890 spin_unlock(ptl); in reset_guest_reference_bit()
898 spin_unlock(ptl); in reset_guest_reference_bit()
901 spin_unlock(ptl); in reset_guest_reference_bit()
903 ptep = pte_alloc_map_lock(mm, pmdp, addr, &ptl); in reset_guest_reference_bit()
924 pte_unmap_unlock(ptep, ptl); in reset_guest_reference_bit()
933 spinlock_t *ptl; in get_guest_storage_key() local
942 ptl = pmd_lock(mm, pmdp); in get_guest_storage_key()
945 spin_unlock(ptl); in get_guest_storage_key()
954 spin_unlock(ptl); in get_guest_storage_key()
957 spin_unlock(ptl); in get_guest_storage_key()
959 ptep = pte_alloc_map_lock(mm, pmdp, addr, &ptl); in get_guest_storage_key()
971 pte_unmap_unlock(ptep, ptl); in get_guest_storage_key()
993 spinlock_t *ptl; in pgste_perform_essa() local
1005 ptep = get_locked_pte(mm, hva, &ptl); in pgste_perform_essa()
1079 pte_unmap_unlock(ptep, ptl); in pgste_perform_essa()
1098 spinlock_t *ptl; in set_pgste_bits() local
1105 ptep = get_locked_pte(mm, hva, &ptl); in set_pgste_bits()
1114 pte_unmap_unlock(ptep, ptl); in set_pgste_bits()
1130 spinlock_t *ptl; in get_pgste() local
1136 ptep = get_locked_pte(mm, hva, &ptl); in get_pgste()
1140 pte_unmap_unlock(ptep, ptl); in get_pgste()