Lines Matching refs:vma
27 struct vm_area_struct *vma;
78 struct vm_area_struct *vma;
90 vma = find_vma(current->mm, vaddr);
91 if (vma && (vma->vm_flags & VM_PFNMAP) && (vma->vm_pgoff)) {
92 if (vb2_get_contig_userptr(vaddr, size, &vma, &physp))
94 buf->vma = vma;
153 if (buf->vma)
154 vb2_put_vma(buf->vma);
179 static int vb2_vmalloc_mmap(void *buf_priv, struct vm_area_struct *vma)
189 ret = remap_vmalloc_range(vma, buf->vaddr, 0);
198 vma->vm_flags |= VM_DONTEXPAND;
203 vma->vm_private_data = &buf->handler;
204 vma->vm_ops = &vb2_common_vm_ops;
206 vma->vm_ops->open(vma);