Lines Matching refs:f_mapping
127 struct address_space *mapping = file->f_mapping; in unlink_file_vma()
409 mapping = vma->vm_file->f_mapping; in vma_link()
443 vp->mapping = vma->vm_file->f_mapping; in init_multi_vma_prep()
481 vp->insert->vm_file->f_mapping); in vma_prepare()
1305 if (IS_SWAPFILE(file->f_mapping->host)) in do_mmap()
1475 return vma->vm_file && vma->vm_file->f_mapping && in vma_fs_can_writeback()
1476 mapping_can_writeback(vma->vm_file->f_mapping); in vma_fs_can_writeback()
2768 error = mapping_map_writable(file->f_mapping); in mmap_region()
2841 i_mmap_lock_write(vma->vm_file->f_mapping); in mmap_region()
2843 mapping_allow_writable(vma->vm_file->f_mapping); in mmap_region()
2845 flush_dcache_mmap_lock(vma->vm_file->f_mapping); in mmap_region()
2846 vma_interval_tree_insert(vma, &vma->vm_file->f_mapping->i_mmap); in mmap_region()
2847 flush_dcache_mmap_unlock(vma->vm_file->f_mapping); in mmap_region()
2848 i_mmap_unlock_write(vma->vm_file->f_mapping); in mmap_region()
2860 mapping_unmap_writable(file->f_mapping); in mmap_region()
2908 mapping_unmap_writable(file->f_mapping); in mmap_region()
3704 if (vma->vm_file && vma->vm_file->f_mapping && in mm_take_all_locks()
3706 vm_lock_mapping(mm, vma->vm_file->f_mapping); in mm_take_all_locks()
3713 if (vma->vm_file && vma->vm_file->f_mapping && in mm_take_all_locks()
3715 vm_lock_mapping(mm, vma->vm_file->f_mapping); in mm_take_all_locks()
3787 if (vma->vm_file && vma->vm_file->f_mapping) in mm_drop_all_locks()
3788 vm_unlock_mapping(vma->vm_file->f_mapping); in mm_drop_all_locks()