Lines Matching refs:mm
65 vma = find_vma(current->mm, vaddr); in gru_find_vma()
81 struct mm_struct *mm = current->mm; in gru_find_lock_gts() local
85 down_read(&mm->mmap_sem); in gru_find_lock_gts()
92 up_read(&mm->mmap_sem); in gru_find_lock_gts()
98 struct mm_struct *mm = current->mm; in gru_alloc_locked_gts() local
102 down_write(&mm->mmap_sem); in gru_alloc_locked_gts()
111 downgrade_write(&mm->mmap_sem); in gru_alloc_locked_gts()
115 up_write(&mm->mmap_sem); in gru_alloc_locked_gts()
125 up_read(¤t->mm->mmap_sem); in gru_unlock_gts()
202 (current, current->mm, vaddr, 1, write, 0, &page, NULL) <= 0) in non_atomic_pte_lookup()
264 struct mm_struct *mm = gts->ts_mm; in gru_vtop() local
269 vma = find_vma(mm, vaddr); in gru_vtop()