Lines Matching refs:ptl
544 spinlock_t *ptl; in __gmap_link() local
600 ptl = pmd_lock(mm, pmd); in __gmap_link()
622 spin_unlock(ptl); in __gmap_link()
677 spinlock_t *ptl; in __gmap_zap() local
686 ptep = get_locked_pte(gmap->mm, vmaddr, &ptl); in __gmap_zap()
689 pte_unmap_unlock(ptep, ptl); in __gmap_zap()
846 spinlock_t **ptl) in gmap_pte_op_walk() argument
855 return pte_alloc_map_lock(gmap->mm, (pmd_t *) table, gaddr, ptl); in gmap_pte_op_walk()
891 static void gmap_pte_op_end(spinlock_t *ptl) in gmap_pte_op_end() argument
893 if (ptl) in gmap_pte_op_end()
894 spin_unlock(ptl); in gmap_pte_op_end()
1005 spinlock_t *ptl = NULL; in gmap_protect_pte() local
1011 ptep = pte_alloc_map_lock(gmap->mm, pmdp, gaddr, &ptl); in gmap_protect_pte()
1019 gmap_pte_op_end(ptl); in gmap_protect_pte()
1128 spinlock_t *ptl; in gmap_read_table() local
1137 ptep = gmap_pte_op_walk(gmap, gaddr, &ptl); in gmap_read_table()
1148 gmap_pte_op_end(ptl); in gmap_read_table()
1207 spinlock_t *ptl; in gmap_protect_rmap() local
1227 ptep = gmap_pte_op_walk(parent, paddr, &ptl); in gmap_protect_rmap()
1235 gmap_pte_op_end(ptl); in gmap_protect_rmap()
2105 spinlock_t *ptl; in gmap_shadow_page() local
2130 sptep = gmap_pte_op_walk(parent, paddr, &ptl); in gmap_shadow_page()
2137 gmap_pte_op_end(ptl); in gmap_shadow_page()
2148 gmap_pte_op_end(ptl); in gmap_shadow_page()
2460 spinlock_t *ptl; in gmap_sync_dirty_log_pmd() local
2471 ptep = pte_alloc_map_lock(gmap->mm, pmdp, vmaddr, &ptl); in gmap_sync_dirty_log_pmd()
2476 spin_unlock(ptl); in gmap_sync_dirty_log_pmd()
2514 spinlock_t *ptl; in __zap_zero_pages() local
2516 ptep = pte_offset_map_lock(walk->mm, pmd, addr, &ptl); in __zap_zero_pages()
2519 pte_unmap_unlock(ptep, ptl); in __zap_zero_pages()