Lines Matching refs:ptl
5884 spinlock_t *ptl; in mem_cgroup_count_precharge_pte_range() local
5886 ptl = pmd_trans_huge_lock(pmd, vma); in mem_cgroup_count_precharge_pte_range()
5887 if (ptl) { in mem_cgroup_count_precharge_pte_range()
5895 spin_unlock(ptl); in mem_cgroup_count_precharge_pte_range()
5901 pte = pte_offset_map_lock(vma->vm_mm, pmd, addr, &ptl); in mem_cgroup_count_precharge_pte_range()
5905 pte_unmap_unlock(pte - 1, ptl); in mem_cgroup_count_precharge_pte_range()
6081 spinlock_t *ptl; in mem_cgroup_move_charge_pte_range() local
6086 ptl = pmd_trans_huge_lock(pmd, vma); in mem_cgroup_move_charge_pte_range()
6087 if (ptl) { in mem_cgroup_move_charge_pte_range()
6089 spin_unlock(ptl); in mem_cgroup_move_charge_pte_range()
6113 spin_unlock(ptl); in mem_cgroup_move_charge_pte_range()
6120 pte = pte_offset_map_lock(vma->vm_mm, pmd, addr, &ptl); in mem_cgroup_move_charge_pte_range()
6169 pte_unmap_unlock(pte - 1, ptl); in mem_cgroup_move_charge_pte_range()