Lines Matching refs:mm
64 struct mm_struct *mm = vma->vm_mm; in change_pte_range() local
81 ptent = ptep_modify_prot_start(mm, addr, pte); in change_pte_range()
93 ptep_modify_prot_commit(mm, addr, pte, ptent); in change_pte_range()
101 ptep_set_numa(mm, addr, pte); in change_pte_range()
121 set_pte_at(mm, addr, pte, newpte); in change_pte_range()
138 struct mm_struct *mm = vma->vm_mm; in change_pmd_range() local
155 mmu_notifier_invalidate_range_start(mm, mni_start, end); in change_pmd_range()
183 mmu_notifier_invalidate_range_end(mm, mni_start, end); in change_pmd_range()
214 struct mm_struct *mm = vma->vm_mm; in change_protection_range() local
221 pgd = pgd_offset(mm, addr); in change_protection_range()
223 set_tlb_flush_pending(mm); in change_protection_range()
235 clear_tlb_flush_pending(mm); in change_protection_range()
258 struct mm_struct *mm = vma->vm_mm; in mprotect_fixup() local
281 if (security_vm_enough_memory_mm(mm, charged)) in mprotect_fixup()
291 *pprev = vma_merge(mm, *pprev, start, end, newflags, in mprotect_fixup()
302 error = split_vma(mm, vma, start, 1); in mprotect_fixup()
308 error = split_vma(mm, vma, end, 0); in mprotect_fixup()
325 vm_stat_account(mm, oldflags, vma->vm_file, -nrpages); in mprotect_fixup()
326 vm_stat_account(mm, newflags, vma->vm_file, nrpages); in mprotect_fixup()
366 down_write(¤t->mm->mmap_sem); in SYSCALL_DEFINE3()
368 vma = find_vma(current->mm, start); in SYSCALL_DEFINE3()
431 up_write(¤t->mm->mmap_sem); in SYSCALL_DEFINE3()