Lines Matching refs:ptl

543 	spinlock_t *ptl;  in __gmap_link()  local
599 ptl = pmd_lock(mm, pmd); in __gmap_link()
621 spin_unlock(ptl); in __gmap_link()
677 spinlock_t *ptl; in __gmap_zap() local
691 ptep = get_locked_pte(gmap->mm, vmaddr, &ptl); in __gmap_zap()
694 pte_unmap_unlock(ptep, ptl); in __gmap_zap()
856 spinlock_t **ptl) in gmap_pte_op_walk() argument
865 return pte_alloc_map_lock(gmap->mm, (pmd_t *) table, gaddr, ptl); in gmap_pte_op_walk()
901 static void gmap_pte_op_end(spinlock_t *ptl) in gmap_pte_op_end() argument
903 if (ptl) in gmap_pte_op_end()
904 spin_unlock(ptl); in gmap_pte_op_end()
1015 spinlock_t *ptl = NULL; in gmap_protect_pte() local
1021 ptep = pte_alloc_map_lock(gmap->mm, pmdp, gaddr, &ptl); in gmap_protect_pte()
1029 gmap_pte_op_end(ptl); in gmap_protect_pte()
1138 spinlock_t *ptl; in gmap_read_table() local
1147 ptep = gmap_pte_op_walk(gmap, gaddr, &ptl); in gmap_read_table()
1158 gmap_pte_op_end(ptl); in gmap_read_table()
1224 spinlock_t *ptl; in gmap_protect_rmap() local
1244 ptep = gmap_pte_op_walk(parent, paddr, &ptl); in gmap_protect_rmap()
1252 gmap_pte_op_end(ptl); in gmap_protect_rmap()
2123 spinlock_t *ptl; in gmap_shadow_page() local
2148 sptep = gmap_pte_op_walk(parent, paddr, &ptl); in gmap_shadow_page()
2155 gmap_pte_op_end(ptl); in gmap_shadow_page()
2166 gmap_pte_op_end(ptl); in gmap_shadow_page()
2478 spinlock_t *ptl; in gmap_sync_dirty_log_pmd() local
2489 ptep = pte_alloc_map_lock(gmap->mm, pmdp, vmaddr, &ptl); in gmap_sync_dirty_log_pmd()
2494 spin_unlock(ptl); in gmap_sync_dirty_log_pmd()
2546 spinlock_t *ptl; in __zap_zero_pages() local
2548 ptep = pte_offset_map_lock(walk->mm, pmd, addr, &ptl); in __zap_zero_pages()
2551 pte_unmap_unlock(ptep, ptl); in __zap_zero_pages()