Home
last modified time | relevance | path

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

1234567

/kernel/linux/linux-5.10/fs/nfs/
Dfile.c125 struct inode *inode = filp->f_mapping->host; in nfs_file_llseek()
152 since = filemap_sample_wb_err(file->f_mapping); in nfs_file_flush()
154 return filemap_check_wb_err(file->f_mapping, since); in nfs_file_flush()
171 result = nfs_revalidate_mapping(inode, iocb->ki_filp->f_mapping); in nfs_file_read()
196 status = nfs_revalidate_mapping(inode, file->f_mapping); in nfs_file_mmap()
303 if (pnfs_ld_read_whole_page(file->f_mapping->host)) in nfs_want_read_modify_write()
492 struct rpc_clnt *clnt = NFS_CLIENT(file->f_mapping->host); in nfs_swap_activate()
493 struct inode *inode = file->f_mapping->host; in nfs_swap_activate()
511 struct rpc_clnt *clnt = NFS_CLIENT(file->f_mapping->host); in nfs_swap_deactivate()
552 filp, filp->f_mapping->host->i_ino, in nfs_vm_page_mkwrite()
[all …]
Dnfs4file.c127 return filemap_fdatawrite(file->f_mapping); in nfs4_file_flush()
130 since = filemap_sample_wb_err(file->f_mapping); in nfs4_file_flush()
132 return filemap_check_wb_err(file->f_mapping, since); in nfs4_file_flush()
388 file_ra_state_init(&filep->f_ra, filep->f_mapping->host->i_mapping); in __nfs42_ssc_open()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dshmem_utils.c58 n_pages = file->f_mapping->host->i_size >> PAGE_SHIFT; in shmem_pin_map()
64 pages[i] = shmem_read_mapping_page_gfp(file->f_mapping, i, in shmem_pin_map()
73 mapping_set_unevictable(file->f_mapping); in shmem_pin_map()
84 mapping_clear_unevictable(file->f_mapping); in shmem_unpin_map()
100 page = shmem_read_mapping_page_gfp(file->f_mapping, pfn, in __shmem_rw()
/kernel/linux/linux-5.10/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()
155 struct super_block *sb = file->f_mapping->host->i_sb; in ext2_fsync()
168 if (IS_DAX(iocb->ki_filp->f_mapping->host)) in ext2_file_read_iter()
177 if (IS_DAX(iocb->ki_filp->f_mapping->host)) in ext2_file_write_iter()
/kernel/linux/linux-5.10/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;
/kernel/linux/linux-5.10/fs/verity/
Denable.c27 page = find_get_page_flags(filp->f_mapping, index, FGP_ACCESSED); in read_file_data_page()
32 page_cache_sync_readahead(filp->f_mapping, ra, filp, in read_file_data_page()
34 page = read_mapping_page(filp->f_mapping, index, NULL); in read_file_data_page()
39 page_cache_async_readahead(filp->f_mapping, ra, filp, page, in read_file_data_page()
69 file_ra_state_init(&ra, filp->f_mapping); in build_merkle_tree_level()
/kernel/linux/linux-5.10/fs/efivarfs/
Dfile.c21 struct inode *inode = file->f_mapping->host; in efivarfs_file_write()
123 struct inode *inode = file->f_mapping->host; in efivarfs_ioc_getxflags()
134 struct inode *inode = file->f_mapping->host; in efivarfs_ioc_setxflags()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_shmem.c76 mapping = obj->base.filp->f_mapping; in shmem_get_pages()
255 mapping = obj->base.filp->f_mapping; in shmem_writeback()
338 struct address_space *mapping = obj->base.filp->f_mapping; in shmem_pwrite()
495 mapping = obj->base.filp->f_mapping; in create_shmem()
563 err = pagecache_write_begin(file, file->f_mapping, in i915_gem_object_create_shmem_from_data()
573 err = pagecache_write_end(file, file->f_mapping, in i915_gem_object_create_shmem_from_data()
Di915_gem_phys.c22 struct address_space *mapping = obj->base.filp->f_mapping; in i915_gem_object_get_pages_phys()
102 struct address_space *mapping = obj->base.filp->f_mapping; in i915_gem_object_put_pages_phys()
/kernel/linux/linux-5.10/mm/
Dmemfd.c195 error = mapping_deny_writable(file->f_mapping); in memfd_add_seals()
199 error = memfd_wait_for_pins(file->f_mapping); in memfd_add_seals()
201 mapping_allow_writable(file->f_mapping); in memfd_add_seals()
Dpage_io.c150 struct address_space *mapping = swap_file->f_mapping; in generic_swapfile_activate()
313 struct address_space *mapping = swap_file->f_mapping; in __swap_writepage()
401 struct address_space *mapping = swap_file->f_mapping; in swap_readpage()
464 struct address_space *mapping = sis->swap_file->f_mapping; in swap_set_page_dirty()
Dfilemap.c599 struct address_space *mapping = file->f_mapping; in file_fdatawait_range()
715 struct address_space *mapping = file->f_mapping; in file_check_and_advance_wb_err()
758 struct address_space *mapping = file->f_mapping; in file_write_and_wait_range()
2193 struct address_space *mapping = filp->f_mapping; in generic_file_buffered_read()
2517 struct address_space *mapping = file->f_mapping; in generic_file_read_iter()
2620 struct address_space *mapping = file->f_mapping; in do_sync_mmap_readahead()
2671 struct address_space *mapping = file->f_mapping; in do_async_mmap_readahead()
2718 struct address_space *mapping = file->f_mapping; in filemap_fault()
2842 struct address_space *mapping = file->f_mapping; in filemap_map_pages()
2945 struct address_space *mapping = file->f_mapping; in generic_file_mmap()
[all …]
/kernel/linux/linux-5.10/fs/
Dfile_table.c199 file->f_mapping = path->dentry->d_inode->i_mapping; in alloc_file()
200 file->f_wb_err = filemap_sample_wb_err(file->f_mapping); in alloc_file()
248 f->f_mapping = base->f_mapping; in alloc_file_clone()
Dsync.c194 struct inode *inode = file->f_mapping->host; in vfs_fsync_range()
289 mapping = file->f_mapping; in sync_file_range()
/kernel/linux/linux-5.10/fs/ocfs2/
Dlocks.c101 struct inode *inode = file->f_mapping->host; in ocfs2_flock()
121 struct inode *inode = file->f_mapping->host; in ocfs2_lock()
/kernel/linux/linux-5.10/fs/gfs2/
Dfile.c58 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); in gfs2_llseek()
105 struct inode *dir = file->f_mapping->host; in gfs2_readdir()
602 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); in gfs2_mmap()
750 struct address_space *mapping = file->f_mapping; in gfs2_fsync()
788 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); in gfs2_file_direct_read()
813 struct inode *inode = file->f_mapping->host; in gfs2_file_direct_write()
873 ip = GFS2_I(iocb->ki_filp->f_mapping->host); in gfs2_file_read_iter()
930 struct address_space *mapping = file->f_mapping; in gfs2_file_write_iter()
1157 if ((file->f_flags & O_DSYNC) || IS_SYNC(file->f_mapping->host)) in __gfs2_fallocate()
1243 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); in gfs2_lock()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dshmem_fs.h113 if (!file || !file->f_mapping) in shmem_file()
115 return shmem_mapping(file->f_mapping); in shmem_file()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_file.c115 struct xfs_inode *ip = XFS_I(file->f_mapping->host); in xfs_dir_fsync()
128 struct inode *inode = file->f_mapping->host; in xfs_file_fsync()
234 struct xfs_inode *ip = XFS_I(iocb->ki_filp->f_mapping->host); in xfs_file_dax_read()
319 struct inode *inode = file->f_mapping->host; in xfs_file_aio_write_checks()
513 struct address_space *mapping = file->f_mapping; in xfs_file_dio_aio_write()
604 struct inode *inode = iocb->ki_filp->f_mapping->host; in xfs_file_dax_write()
651 struct address_space *mapping = file->f_mapping; in xfs_file_buffered_aio_write()
728 struct address_space *mapping = file->f_mapping; in xfs_file_write_iter()
1199 struct inode *inode = file->f_mapping->host; in xfs_file_llseek()
/kernel/linux/linux-5.10/fs/overlayfs/
Dfile.c91 if (!file->f_mapping->a_ops || in ovl_change_flags()
92 !file->f_mapping->a_ops->direct_IO) in ovl_change_flags()
314 (!real.file->f_mapping->a_ops || in ovl_read_iter()
315 !real.file->f_mapping->a_ops->direct_IO)) in ovl_read_iter()
375 (!real.file->f_mapping->a_ops || in ovl_write_iter()
376 !real.file->f_mapping->a_ops->direct_IO)) in ovl_write_iter()
/kernel/linux/linux-5.10/fs/fuse/
Dreaddir.c65 page = find_lock_page(file->f_mapping, index); in fuse_add_dirent_to_cache()
67 page = find_or_create_page(file->f_mapping, index, in fuse_add_dirent_to_cache()
68 mapping_gfp_mask(file->f_mapping)); in fuse_add_dirent_to_cache()
109 truncate_inode_pages(file->f_mapping, end); in fuse_readdir_cache_end()
517 page = find_get_page_flags(file->f_mapping, index, in fuse_readdir_cached()
/kernel/linux/linux-5.10/drivers/video/fbdev/core/
Dfb_defio.c57 page->mapping = vmf->vma->vm_file->f_mapping; in fb_deferred_io_fault()
219 file->f_mapping->a_ops = &fb_deferred_io_aops; in fb_deferred_io_open()
/kernel/linux/linux-5.10/drivers/block/
Dloop.c149 loopsize = i_size_read(file->f_mapping->host); in get_size()
173 struct address_space *mapping = file->f_mapping; in __loop_update_dio()
655 struct inode *i = file->f_mapping->host; in is_loop_device()
662 struct inode *inode = file->f_mapping->host; in loop_validate_file()
669 if (f->f_mapping->host->i_bdev == bdev) in loop_validate_file()
672 l = f->f_mapping->host->i_bdev->bd_disk->private_data; in loop_validate_file()
729 mapping_set_gfp_mask(old_file->f_mapping, lo->old_gfp_mask); in loop_change_fd()
731 lo->old_gfp_mask = mapping_gfp_mask(file->f_mapping); in loop_change_fd()
732 mapping_set_gfp_mask(file->f_mapping, in loop_change_fd()
867 struct inode *inode = file->f_mapping->host; in loop_config_discard()
[all …]
/kernel/linux/linux-5.10/fs/pstore/
Dblk.c300 file.f_mapping = bdev->bd_inode->i_mapping; in psblk_generic_blk_read()
303 file_ra_state_init(&file.f_ra, file.f_mapping); in psblk_generic_blk_read()
330 file.f_mapping = bdev->bd_inode->i_mapping; in psblk_generic_blk_write()
/kernel/linux/linux-5.10/drivers/gpu/drm/lima/
Dlima_gem.c23 struct address_space *mapping = bo->base.base.filp->f_mapping; in lima_heap_alloc()
119 mask = mapping_gfp_mask(obj->filp->f_mapping); in lima_gem_create_handle()
122 mapping_set_gfp_mask(obj->filp->f_mapping, mask); in lima_gem_create_handle()
/kernel/linux/linux-5.10/fs/romfs/
Dmmap-nommu.c24 struct inode *inode = file->f_mapping->host; in romfs_get_unmapped_area()

1234567