/linux-6.6.21/fs/nfs/ |
D | file.c | 124 struct inode *inode = filp->f_mapping->host; in nfs_file_llseek() 151 since = filemap_sample_wb_err(file->f_mapping); in nfs_file_flush() 153 return filemap_check_wb_err(file->f_mapping, since); in nfs_file_flush() 170 result = nfs_revalidate_mapping(inode, iocb->ki_filp->f_mapping); in nfs_file_read() 191 result = nfs_revalidate_mapping(inode, in->f_mapping); in nfs_file_splice_read() 216 status = nfs_revalidate_mapping(inode, file->f_mapping); in nfs_file_mmap() 591 filp, filp->f_mapping->host->i_ino, in nfs_vm_page_mkwrite() 667 nfs_clear_invalid_mapping(file->f_mapping); in nfs_file_write() 669 since = filemap_sample_wb_err(file->f_mapping); in nfs_file_write() 682 result = filemap_fdatawrite_range(file->f_mapping, in nfs_file_write() [all …]
|
D | nfs4file.c | 126 return filemap_fdatawrite(file->f_mapping); in nfs4_file_flush() 129 since = filemap_sample_wb_err(file->f_mapping); in nfs4_file_flush() 131 return filemap_check_wb_err(file->f_mapping, since); in nfs4_file_flush() 390 file_ra_state_init(&filep->f_ra, filep->f_mapping->host->i_mapping); in __nfs42_ssc_open()
|
/linux-6.6.21/drivers/gpu/drm/i915/gt/ |
D | shmem_utils.c | 63 n_pages = file->f_mapping->host->i_size >> PAGE_SHIFT; in shmem_pin_map() 69 pages[i] = shmem_read_mapping_page_gfp(file->f_mapping, i, in shmem_pin_map() 78 mapping_set_unevictable(file->f_mapping); in shmem_pin_map() 89 mapping_clear_unevictable(file->f_mapping); in shmem_unpin_map() 105 page = shmem_read_mapping_page_gfp(file->f_mapping, pfn, in __shmem_rw() 140 page = shmem_read_mapping_page_gfp(file->f_mapping, pfn, in shmem_read_to_iosys_map()
|
/linux-6.6.21/fs/ext2/ |
D | file.c | 37 struct inode *inode = iocb->ki_filp->f_mapping->host; in ext2_dax_read_iter() 54 struct inode *inode = file->f_mapping->host; in ext2_dax_write_iter() 156 struct super_block *sb = file->f_mapping->host->i_sb; in ext2_fsync() 169 struct inode *inode = file->f_mapping->host; in ext2_dio_read_iter() 215 struct inode *inode = file->f_mapping->host; in ext2_dio_write_iter() 284 if (IS_DAX(iocb->ki_filp->f_mapping->host)) in ext2_file_read_iter() 296 if (IS_DAX(iocb->ki_filp->f_mapping->host)) in ext2_file_write_iter()
|
/linux-6.6.21/include/trace/events/ |
D | filemap.h | 99 __entry->i_ino = file->f_mapping->host->i_ino; 100 if (file->f_mapping->host->i_sb) 102 file->f_mapping->host->i_sb->s_dev; 105 file->f_mapping->host->i_rdev;
|
/linux-6.6.21/drivers/gpu/drm/i915/gem/ |
D | i915_gem_shmem.c | 209 struct address_space *mapping = obj->base.filp->f_mapping; in shmem_get_pages() 348 __shmem_writeback(obj->base.size, obj->base.filp->f_mapping); in shmem_writeback() 424 struct address_space *mapping = obj->base.filp->f_mapping; in shmem_pwrite() 605 mapping = obj->base.filp->f_mapping; in shmem_object_init() 672 aops = file->f_mapping->a_ops; in i915_gem_object_create_shmem_from_data() 679 err = aops->write_begin(file, file->f_mapping, offset, len, in i915_gem_object_create_shmem_from_data() 688 err = aops->write_end(file, file->f_mapping, offset, len, len, in i915_gem_object_create_shmem_from_data()
|
D | i915_gem_phys.c | 22 struct address_space *mapping = obj->base.filp->f_mapping; in i915_gem_object_get_pages_phys() 109 struct address_space *mapping = obj->base.filp->f_mapping; in i915_gem_object_put_pages_phys()
|
/linux-6.6.21/block/ |
D | fops.c | 24 return file->f_mapping->host; in bdev_file_inode() 49 struct block_device *bdev = I_BDEV(iocb->ki_filp->f_mapping->host); in __blkdev_direct_IO_simple() 165 struct block_device *bdev = I_BDEV(iocb->ki_filp->f_mapping->host); in __blkdev_direct_IO() 305 struct block_device *bdev = I_BDEV(iocb->ki_filp->f_mapping->host); in __blkdev_direct_IO_async() 526 struct block_device *bdev = I_BDEV(filp->f_mapping->host); in blkdev_fsync() 597 filp->f_mapping = bdev->bd_inode->i_mapping; in blkdev_open() 598 filp->f_wb_err = filemap_sample_wb_err(filp->f_mapping); in blkdev_open() 604 blkdev_put(I_BDEV(filp->f_mapping->host), filp->private_data); in blkdev_release() 647 struct block_device *bdev = I_BDEV(file->f_mapping->host); in blkdev_write_iter() 695 struct block_device *bdev = I_BDEV(iocb->ki_filp->f_mapping->host); in blkdev_read_iter()
|
/linux-6.6.21/fs/ocfs2/ |
D | locks.c | 100 struct inode *inode = file->f_mapping->host; in ocfs2_flock() 118 struct inode *inode = file->f_mapping->host; in ocfs2_lock()
|
/linux-6.6.21/fs/ |
D | remap_range.c | 35 struct inode *inode_in = file_in->f_mapping->host; in generic_remap_checks() 36 struct inode *inode_out = file_out->f_mapping->host; in generic_remap_checks() 156 return read_mapping_folio(file->f_mapping, pos >> PAGE_SHIFT, file); in vfs_dedupe_get_folio() 223 src_folio->mapping != src->f_mapping || in vfs_dedupe_file_range_compare() 224 dst_folio->mapping != dest->f_mapping) { in vfs_dedupe_file_range_compare()
|
D | file_table.c | 299 file->f_mapping = path->dentry->d_inode->i_mapping; in alloc_file() 300 file->f_wb_err = filemap_sample_wb_err(file->f_mapping); in alloc_file() 351 f->f_mapping = base->f_mapping; in alloc_file_clone()
|
D | sync.c | 182 struct inode *inode = file->f_mapping->host; in vfs_fsync_range() 277 mapping = file->f_mapping; in sync_file_range()
|
/linux-6.6.21/mm/ |
D | filemap.c | 597 struct address_space *mapping = file->f_mapping; in file_fdatawait_range() 732 struct address_space *mapping = file->f_mapping; in file_check_and_advance_wb_err() 775 struct address_space *mapping = file->f_mapping; in file_write_and_wait_range() 2539 struct address_space *mapping = filp->f_mapping; in filemap_get_pages() 2622 struct address_space *mapping = filp->f_mapping; in filemap_read() 2737 struct address_space *mapping = iocb->ki_filp->f_mapping; in kiocb_write_and_wait() 2752 struct address_space *mapping = iocb->ki_filp->f_mapping; in kiocb_invalidate_pages() 2809 struct address_space *mapping = file->f_mapping; in generic_file_read_iter() 2908 if (unlikely(*ppos >= in->f_mapping->host->i_sb->s_maxbytes)) in filemap_splice_read() 2924 if (*ppos >= i_size_read(in->f_mapping->host)) in filemap_splice_read() [all …]
|
D | memfd.c | 214 error = mapping_deny_writable(file->f_mapping); in memfd_add_seals() 218 error = memfd_wait_for_pins(file->f_mapping); in memfd_add_seals() 220 mapping_allow_writable(file->f_mapping); in memfd_add_seals()
|
D | mmap.c | 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() [all …]
|
/linux-6.6.21/fs/orangefs/ |
D | file.c | 380 ret = orangefs_inode_getattr(file->f_mapping->host, in orangefs_fault() 439 if (mapping_nrpages(file->f_mapping)) { in orangefs_file_release() 508 ret = orangefs_inode_getattr(file->f_mapping->host, in orangefs_file_llseek() 564 r = filemap_write_and_wait_range(file->f_mapping, 0, LLONG_MAX); in orangefs_flush()
|
/linux-6.6.21/fs/gfs2/ |
D | file.c | 60 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); in gfs2_llseek() 107 struct inode *dir = file->f_mapping->host; in gfs2_readdir() 591 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); in gfs2_mmap() 743 struct address_space *mapping = file->f_mapping; in gfs2_fsync() 813 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); in gfs2_file_direct_read() 876 struct inode *inode = file->f_mapping->host; in gfs2_file_direct_write() 980 ip = GFS2_I(iocb->ki_filp->f_mapping->host); in gfs2_file_read_iter() 1128 struct address_space *mapping = file->f_mapping; in gfs2_file_write_iter() 1347 if ((file->f_flags & O_DSYNC) || IS_SYNC(file->f_mapping->host)) in __gfs2_fallocate() 1433 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); in gfs2_lock() [all …]
|
/linux-6.6.21/include/linux/ |
D | shmem_fs.h | 157 if (!file || !file->f_mapping) in shmem_file() 159 return shmem_mapping(file->f_mapping); in shmem_file()
|
/linux-6.6.21/fs/fuse/ |
D | readdir.c | 65 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() 111 truncate_inode_pages(file->f_mapping, end); in fuse_readdir_cache_end() 527 page = find_get_page_flags(file->f_mapping, index, in fuse_readdir_cached()
|
/linux-6.6.21/fs/xfs/ |
D | xfs_file.c | 83 struct xfs_inode *ip = XFS_I(file->f_mapping->host); in xfs_dir_fsync() 144 struct xfs_inode *ip = XFS_I(file->f_mapping->host); in xfs_file_fsync() 283 struct xfs_inode *ip = XFS_I(iocb->ki_filp->f_mapping->host); in xfs_file_dax_read() 388 struct inode *inode = file->f_mapping->host; in xfs_file_write_checks() 728 struct inode *inode = iocb->ki_filp->f_mapping->host; in xfs_file_dax_write() 769 struct inode *inode = iocb->ki_filp->f_mapping->host; in xfs_file_buffered_write() 833 struct inode *inode = iocb->ki_filp->f_mapping->host; in xfs_file_write_iter() 1302 struct inode *inode = file->f_mapping->host; in xfs_file_llseek()
|
/linux-6.6.21/drivers/block/ |
D | loop.c | 147 loopsize = i_size_read(file->f_mapping->host); in get_size() 188 struct inode *inode = file->f_mapping->host; in __loop_update_dio() 525 struct inode *i = file->f_mapping->host; in is_loop_device() 532 struct inode *inode = file->f_mapping->host; in loop_validate_file() 540 if (f->f_mapping->host->i_rdev == bdev->bd_dev) in loop_validate_file() 543 l = I_BDEV(f->f_mapping->host)->bd_disk->private_data; in loop_validate_file() 606 mapping_set_gfp_mask(old_file->f_mapping, lo->old_gfp_mask); in loop_change_fd() 608 lo->old_gfp_mask = mapping_gfp_mask(file->f_mapping); in loop_change_fd() 609 mapping_set_gfp_mask(file->f_mapping, in loop_change_fd() 758 struct inode *inode = file->f_mapping->host; in loop_config_discard() [all …]
|
/linux-6.6.21/drivers/target/ |
D | target_core_file.c | 92 struct inode *inode = file->f_mapping->host; in fd_configure_unmap() 153 inode = file->f_mapping->host; in fd_configure_device() 163 dev_size = (i_size_read(file->f_mapping->host) - in fd_configure_device() 540 struct inode *inode = file->f_mapping->host; in fd_execute_unmap() 812 struct inode *i = f->f_mapping->host; in fd_get_blocks() 841 inode = file->f_mapping->host; in fd_init_prot()
|
/linux-6.6.21/fs/ext4/ |
D | file.c | 616 err = filemap_write_and_wait_range(iocb->ki_filp->f_mapping, in ext4_dio_write_iter() 619 invalidate_mapping_pages(iocb->ki_filp->f_mapping, in ext4_dio_write_iter() 724 struct address_space *mapping = vmf->vma->vm_file->f_mapping; in ext4_dax_huge_fault() 784 struct inode *inode = file->f_mapping->host; in ext4_file_mmap() 900 struct inode *inode = file->f_mapping->host; in ext4_llseek()
|
/linux-6.6.21/drivers/gpu/drm/lima/ |
D | lima_gem.c | 24 struct address_space *mapping = bo->base.base.filp->f_mapping; in lima_heap_alloc() 120 mask = mapping_gfp_mask(obj->filp->f_mapping); in lima_gem_create_handle() 123 mapping_set_gfp_mask(obj->filp->f_mapping, mask); in lima_gem_create_handle()
|
/linux-6.6.21/fs/romfs/ |
D | mmap-nommu.c | 24 struct inode *inode = file->f_mapping->host; in romfs_get_unmapped_area()
|