Home
last modified time | relevance | path

Searched refs:f_mapping (Results 1 – 25 of 134) sorted by relevance

123456

/Linux-v4.19/fs/nfs/
Dfile.c124 struct inode *inode = filp->f_mapping->host; in nfs_file_llseek()
167 result = nfs_revalidate_mapping(inode, iocb->ki_filp->f_mapping); in nfs_file_read()
192 status = nfs_revalidate_mapping(inode, file->f_mapping); in nfs_file_mmap()
301 if (pnfs_ld_read_whole_page(file->f_mapping->host)) { in nfs_want_read_modify_write()
495 struct rpc_clnt *clnt = NFS_CLIENT(file->f_mapping->host); in nfs_swap_activate()
504 struct rpc_clnt *clnt = NFS_CLIENT(file->f_mapping->host); in nfs_swap_deactivate()
545 filp, filp->f_mapping->host->i_ino, in nfs_vm_page_mkwrite()
625 nfs_revalidate_mapping(inode, file->f_mapping); in nfs_file_write()
663 struct inode *inode = filp->f_mapping->host; in do_getlk()
692 struct inode *inode = filp->f_mapping->host; in do_unlk()
[all …]
/Linux-v4.19/fs/ext2/
Dfile.c35 struct inode *inode = iocb->ki_filp->f_mapping->host; in ext2_dax_read_iter()
52 struct inode *inode = file->f_mapping->host; in ext2_dax_write_iter()
153 struct super_block *sb = file->f_mapping->host->i_sb; in ext2_fsync()
166 if (IS_DAX(iocb->ki_filp->f_mapping->host)) in ext2_file_read_iter()
175 if (IS_DAX(iocb->ki_filp->f_mapping->host)) in ext2_file_write_iter()
/Linux-v4.19/include/trace/events/
Dfilemap.h97 __entry->i_ino = file->f_mapping->host->i_ino;
98 if (file->f_mapping->host->i_sb)
100 file->f_mapping->host->i_sb->s_dev;
103 file->f_mapping->host->i_rdev;
/Linux-v4.19/fs/exofs/
Dfile.c48 struct inode *inode = filp->f_mapping->host; in exofs_file_fsync()
56 ret = sync_inode_metadata(filp->f_mapping->host, 1); in exofs_file_fsync()
/Linux-v4.19/fs/efivarfs/
Dfile.c24 struct inode *inode = file->f_mapping->host; in efivarfs_file_write()
116 struct inode *inode = file->f_mapping->host; in efivarfs_ioc_getxflags()
132 struct inode *inode = file->f_mapping->host; in efivarfs_ioc_setxflags()
/Linux-v4.19/fs/orangefs/
Dfile.c246 struct inode *inode = file->f_mapping->host; in do_readv_writev()
423 inode_lock(file->f_mapping->host); in orangefs_file_write_iter()
427 rc = orangefs_inode_getattr(file->f_mapping->host, 0, 1, in orangefs_file_write_iter()
468 inode_unlock(file->f_mapping->host); in orangefs_file_write_iter()
536 ret = orangefs_inode_getattr(file->f_mapping->host, 0, 1, in orangefs_fault()
663 ret = orangefs_inode_getattr(file->f_mapping->host, 0, 1, in orangefs_file_llseek()
/Linux-v4.19/fs/
Dfile_table.c198 file->f_mapping = path->dentry->d_inode->i_mapping; in alloc_file()
199 file->f_wb_err = filemap_sample_wb_err(file->f_mapping); in alloc_file()
246 f->f_mapping = base->f_mapping; in alloc_file_clone()
Dsync.c191 struct inode *inode = file->f_mapping->host; in vfs_fsync_range()
339 mapping = f.file->f_mapping; in ksys_sync_file_range()
Danon_inodes.c92 file->f_mapping = anon_inode_inode->i_mapping; in anon_inode_getfile()
/Linux-v4.19/fs/ocfs2/
Dlocks.c115 struct inode *inode = file->f_mapping->host; in ocfs2_flock()
135 struct inode *inode = file->f_mapping->host; in ocfs2_lock()
/Linux-v4.19/mm/
Dmemfd.c211 error = mapping_deny_writable(file->f_mapping); in memfd_add_seals()
215 error = memfd_wait_for_pins(file->f_mapping); in memfd_add_seals()
217 mapping_allow_writable(file->f_mapping); in memfd_add_seals()
Dpage_io.c151 struct address_space *mapping = swap_file->f_mapping; in generic_swapfile_activate()
289 struct address_space *mapping = swap_file->f_mapping; in __swap_writepage()
370 struct address_space *mapping = swap_file->f_mapping; in swap_readpage()
427 struct address_space *mapping = sis->swap_file->f_mapping; in swap_set_page_dirty()
Dfilemap.c580 struct address_space *mapping = file->f_mapping; in file_fdatawait_range()
709 struct address_space *mapping = file->f_mapping; in file_check_and_advance_wb_err()
750 struct address_space *mapping = file->f_mapping; in file_write_and_wait_range()
2054 struct address_space *mapping = filp->f_mapping; in generic_file_buffered_read()
2322 struct address_space *mapping = file->f_mapping; in generic_file_read_iter()
2380 struct address_space *mapping = file->f_mapping; in page_cache_read()
2413 struct address_space *mapping = file->f_mapping; in do_sync_mmap_readahead()
2457 struct address_space *mapping = file->f_mapping; in do_async_mmap_readahead()
2496 struct address_space *mapping = file->f_mapping; in filemap_fault()
2619 struct address_space *mapping = file->f_mapping; in filemap_map_pages()
[all …]
Dmadvise.c286 if (shmem_mapping(file->f_mapping)) { in madvise_willneed()
288 file->f_mapping); in madvise_willneed()
306 force_page_cache_readahead(file->f_mapping, file, start, end - start); in madvise_willneed()
589 if (!f || !f->f_mapping || !f->f_mapping->host) { in madvise_remove()
Dmmap.c165 struct address_space *mapping = file->f_mapping; in unlink_file_vma()
591 struct address_space *mapping = file->f_mapping; in __vma_link_file()
620 mapping = vma->vm_file->f_mapping; in vma_link()
792 mapping = file->f_mapping; in __vma_adjust()
1657 return vma->vm_file && vma->vm_file->f_mapping && in vma_wants_writenotify()
1658 mapping_cap_account_dirty(vma->vm_file->f_mapping); in vma_wants_writenotify()
1751 error = mapping_map_writable(file->f_mapping); in mmap_region()
1789 mapping_unmap_writable(file->f_mapping); in mmap_region()
1831 mapping_unmap_writable(file->f_mapping); in mmap_region()
3501 if (vma->vm_file && vma->vm_file->f_mapping && in mm_take_all_locks()
[all …]
/Linux-v4.19/fs/xfs/
Dxfs_file.c86 struct xfs_inode *ip = XFS_I(file->f_mapping->host); in xfs_dir_fsync()
109 struct inode *inode = file->f_mapping->host; in xfs_file_fsync()
206 struct xfs_inode *ip = XFS_I(iocb->ki_filp->f_mapping->host); in xfs_file_dax_read()
291 struct inode *inode = file->f_mapping->host; in xfs_file_aio_write_checks()
480 struct address_space *mapping = file->f_mapping; in xfs_file_dio_aio_write()
567 struct inode *inode = iocb->ki_filp->f_mapping->host; in xfs_file_dax_write()
614 struct address_space *mapping = file->f_mapping; in xfs_file_buffered_aio_write()
690 struct address_space *mapping = file->f_mapping; in xfs_file_write_iter()
1023 struct inode *inode = file->f_mapping->host; in xfs_file_llseek()
/Linux-v4.19/fs/gfs2/
Dfile.c60 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); in gfs2_llseek()
107 struct inode *dir = file->f_mapping->host; in gfs2_readdir()
521 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); in gfs2_mmap()
659 struct address_space *mapping = file->f_mapping; in gfs2_fsync()
696 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); in gfs2_file_direct_read()
720 struct inode *inode = file->f_mapping->host; in gfs2_file_direct_write()
817 struct address_space *mapping = file->f_mapping; in gfs2_file_write_iter()
1048 if ((file->f_flags & O_DSYNC) || IS_SYNC(file->f_mapping->host)) in __gfs2_fallocate()
1120 struct gfs2_inode *ip = GFS2_I(out->f_mapping->host); in gfs2_file_splice_write()
1144 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); in gfs2_lock()
[all …]
/Linux-v4.19/include/linux/
Dshmem_fs.h105 if (!file || !file->f_mapping) in shmem_file()
107 return shmem_mapping(file->f_mapping); in shmem_file()
/Linux-v4.19/drivers/video/fbdev/core/
Dfb_defio.c57 page->mapping = vmf->vma->vm_file->f_mapping; in fb_deferred_io_fault()
221 file->f_mapping->a_ops = &fb_deferred_io_aops; in fb_deferred_io_open()
/Linux-v4.19/fs/coda/
Dfile.c84 coda_file->f_mapping = host_file->f_mapping; in coda_file_mmap()
/Linux-v4.19/drivers/block/
Dloop.c148 loopsize = i_size_read(file->f_mapping->host); in get_size()
172 struct address_space *mapping = file->f_mapping; in __loop_update_dio()
653 struct inode *i = file->f_mapping->host; in is_loop_device()
660 struct inode *inode = file->f_mapping->host; in loop_validate_file()
667 if (f->f_mapping->host->i_bdev == bdev) in loop_validate_file()
670 l = f->f_mapping->host->i_bdev->bd_disk->private_data; in loop_validate_file()
723 mapping_set_gfp_mask(old_file->f_mapping, lo->old_gfp_mask); in loop_change_fd()
725 lo->old_gfp_mask = mapping_gfp_mask(file->f_mapping); in loop_change_fd()
726 mapping_set_gfp_mask(file->f_mapping, in loop_change_fd()
854 struct inode *inode = file->f_mapping->host; in loop_config_discard()
[all …]
/Linux-v4.19/fs/romfs/
Dmmap-nommu.c28 struct inode *inode = file->f_mapping->host; in romfs_get_unmapped_area()
/Linux-v4.19/drivers/target/
Dtarget_core_file.c147 inode = file->f_mapping->host; in fd_configure_device()
157 dev_size = (i_size_read(file->f_mapping->host) - in fd_configure_device()
560 struct inode *inode = file->f_mapping->host; in fd_execute_unmap()
832 struct inode *i = f->f_mapping->host; in fd_get_blocks()
861 inode = file->f_mapping->host; in fd_init_prot()
/Linux-v4.19/fs/ext4/
Dfsync.c97 struct inode *inode = file->f_mapping->host; in ext4_sync_file()
/Linux-v4.19/fs/jfs/
Dinode.c338 struct address_space *mapping = file->f_mapping; in jfs_direct_IO()
339 struct inode *inode = file->f_mapping->host; in jfs_direct_IO()

123456