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()
851 spinlock_t **ptl) in gmap_pte_op_walk() argument
860 return pte_alloc_map_lock(gmap->mm, (pmd_t *) table, gaddr, ptl); in gmap_pte_op_walk()
896 static void gmap_pte_op_end(spinlock_t *ptl) in gmap_pte_op_end() argument
898 if (ptl) in gmap_pte_op_end()
899 spin_unlock(ptl); in gmap_pte_op_end()
1010 spinlock_t *ptl = NULL; in gmap_protect_pte() local
1016 ptep = pte_alloc_map_lock(gmap->mm, pmdp, gaddr, &ptl); in gmap_protect_pte()
1024 gmap_pte_op_end(ptl); in gmap_protect_pte()
1133 spinlock_t *ptl; in gmap_read_table() local
1142 ptep = gmap_pte_op_walk(gmap, gaddr, &ptl); in gmap_read_table()
1153 gmap_pte_op_end(ptl); in gmap_read_table()
1212 spinlock_t *ptl; in gmap_protect_rmap() local
1232 ptep = gmap_pte_op_walk(parent, paddr, &ptl); in gmap_protect_rmap()
1240 gmap_pte_op_end(ptl); in gmap_protect_rmap()
2111 spinlock_t *ptl; in gmap_shadow_page() local
2136 sptep = gmap_pte_op_walk(parent, paddr, &ptl); in gmap_shadow_page()
2143 gmap_pte_op_end(ptl); in gmap_shadow_page()
2154 gmap_pte_op_end(ptl); in gmap_shadow_page()
2466 spinlock_t *ptl; in gmap_sync_dirty_log_pmd() local
2477 ptep = pte_alloc_map_lock(gmap->mm, pmdp, vmaddr, &ptl); in gmap_sync_dirty_log_pmd()
2482 spin_unlock(ptl); in gmap_sync_dirty_log_pmd()
2533 spinlock_t *ptl; in __zap_zero_pages() local
2535 ptep = pte_offset_map_lock(walk->mm, pmd, addr, &ptl); in __zap_zero_pages()
2538 pte_unmap_unlock(ptep, ptl); in __zap_zero_pages()