Lines Matching refs:vma
499 v9fs_file_mmap(struct file *filp, struct vm_area_struct *vma) in v9fs_file_mmap() argument
509 return generic_file_readonly_mmap(filp, vma); in v9fs_file_mmap()
512 retval = generic_file_mmap(filp, vma); in v9fs_file_mmap()
514 vma->vm_ops = &v9fs_mmap_file_vm_ops; in v9fs_file_mmap()
523 struct file *filp = vmf->vma->vm_file; in v9fs_vm_page_mkwrite()
554 static void v9fs_mmap_vm_close(struct vm_area_struct *vma) in v9fs_mmap_vm_close() argument
561 .range_start = (loff_t)vma->vm_pgoff * PAGE_SIZE, in v9fs_mmap_vm_close()
563 .range_end = (loff_t)vma->vm_pgoff * PAGE_SIZE + in v9fs_mmap_vm_close()
564 (vma->vm_end - vma->vm_start - 1), in v9fs_mmap_vm_close()
567 if (!(vma->vm_flags & VM_SHARED)) in v9fs_mmap_vm_close()
570 p9_debug(P9_DEBUG_VFS, "9p VMA close, %p, flushing", vma); in v9fs_mmap_vm_close()
572 inode = file_inode(vma->vm_file); in v9fs_mmap_vm_close()