Lines Matching refs:vm_file
102 struct file * file = vma->vm_file; in __remove_shared_vm_struct()
126 if (vma->vm_file) in lock_vma_mappings()
127 mapping = vma->vm_file->f_dentry->d_inode->i_mapping; in lock_vma_mappings()
137 if (vma->vm_file) in unlock_vma_mappings()
138 mapping = vma->vm_file->f_dentry->d_inode->i_mapping; in unlock_vma_mappings()
311 file = vma->vm_file; in __vma_link_file()
531 vma->vm_file = NULL; in do_mmap_pgoff()
545 vma->vm_file = file; in do_mmap_pgoff()
601 vma->vm_file = NULL; in do_mmap_pgoff()
822 if (area->vm_file) in unmap_fixup()
823 fput(area->vm_file); in unmap_fixup()
857 mpnt->vm_file = area->vm_file; in unmap_fixup()
859 if (mpnt->vm_file) in unmap_fixup()
860 get_file(mpnt->vm_file); in unmap_fixup()
1011 (file = mpnt->vm_file) != NULL) { in do_munmap()
1137 vma->vm_file = NULL; in do_brk()
1196 if (mpnt->vm_file) in exit_mmap()
1197 fput(mpnt->vm_file); in exit_mmap()