Lines Matching refs:mm
69 struct mm_struct *mm; member
435 struct mm_struct *mm, in mn_invl_range_start() argument
452 struct mm_struct *mm, in mn_invl_page() argument
455 mn_invl_range_start(mn, mm, address, address + PAGE_SIZE); in mn_invl_page()
459 struct mm_struct *mm) in mn_release() argument
509 priv->mm = get_task_mm(current); in gntdev_open()
510 if (!priv->mm) { in gntdev_open()
515 ret = mmu_notifier_register(&priv->mn, priv->mm); in gntdev_open()
516 mmput(priv->mm); in gntdev_open()
545 mmu_notifier_unregister(&priv->mn, priv->mm); in gntdev_release()
628 down_read(¤t->mm->mmap_sem); in gntdev_ioctl_get_offset_for_vaddr()
629 vma = find_vma(current->mm, op.vaddr); in gntdev_ioctl_get_offset_for_vaddr()
642 up_read(¤t->mm->mmap_sem); in gntdev_ioctl_get_offset_for_vaddr()
762 if (use_ptemod && priv->mm != vma->vm_mm) { in gntdev_mmap()