Lines Matching refs:vma
42 static void rvt_vma_open(struct vm_area_struct *vma)
44 struct rvt_mmap_info *ip = vma->vm_private_data;
49 static void rvt_vma_close(struct vm_area_struct *vma)
51 struct rvt_mmap_info *ip = vma->vm_private_data;
64 * @vma: the VMA to be initialized
68 int rvt_mmap(struct ib_ucontext *context, struct vm_area_struct *vma)
71 unsigned long offset = vma->vm_pgoff << PAGE_SHIFT;
72 unsigned long size = vma->vm_end - vma->vm_start;
94 ret = remap_vmalloc_range(vma, ip->obj, 0);
97 vma->vm_ops = &rvt_vm_ops;
98 vma->vm_private_data = ip;
99 rvt_vma_open(vma);