Home
last modified time | relevance | path

Searched refs:ki_filp (Results 1 – 25 of 85) sorted by relevance

1234

/kernel/linux/linux-5.10/fs/ext4/
Dfile.c55 struct inode *inode = file_inode(iocb->ki_filp); in ext4_dio_read_iter()
81 file_accessed(iocb->ki_filp); in ext4_dio_read_iter()
88 struct inode *inode = file_inode(iocb->ki_filp); in ext4_dax_read_iter()
109 file_accessed(iocb->ki_filp); in ext4_dax_read_iter()
116 struct inode *inode = file_inode(iocb->ki_filp); in ext4_file_read_iter()
215 struct inode *inode = file_inode(iocb->ki_filp); in ext4_generic_write_checks()
248 ret = file_modified(iocb->ki_filp); in ext4_write_checks()
258 struct inode *inode = file_inode(iocb->ki_filp); in ext4_buffered_write_iter()
270 ret = generic_perform_write(iocb->ki_filp, from, iocb->ki_pos); in ext4_buffered_write_iter()
376 struct inode *inode = file_inode(iocb->ki_filp); in ext4_dio_write_end_io()
[all …]
/kernel/linux/linux-5.10/fs/ext2/
Dfile.c35 struct inode *inode = iocb->ki_filp->f_mapping->host; in ext2_dax_read_iter()
45 file_accessed(iocb->ki_filp); in ext2_dax_read_iter()
51 struct file *file = iocb->ki_filp; in ext2_dax_write_iter()
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/fs/sharefs/
Dfile.c152 struct file *file = iocb->ki_filp; in sharefs_read_iter()
163 iocb->ki_filp = lower_file; in sharefs_read_iter()
165 iocb->ki_filp = file; in sharefs_read_iter()
183 struct file *file = iocb->ki_filp; in sharefs_write_iter()
193 iocb->ki_filp = lower_file; in sharefs_write_iter()
195 iocb->ki_filp = file; in sharefs_write_iter()
/kernel/linux/linux-5.10/fs/iomap/
Ddirect-io.c73 file_inode(dio->iocb->ki_filp), in iomap_dio_submit_bio()
83 struct inode *inode = file_inode(iocb->ki_filp); in iomap_dio_complete()
118 dio_warn_stale_pagecache(iocb->ki_filp); in iomap_dio_complete()
121 inode_dio_end(file_inode(iocb->ki_filp)); in iomap_dio_complete()
167 struct inode *inode = file_inode(dio->iocb->ki_filp); in iomap_dio_bio_end_io()
400 dio->iocb->ki_filp, current->comm); in iomap_dio_actor()
425 struct address_space *mapping = iocb->ki_filp->f_mapping; in __iomap_dio_rw()
426 struct inode *inode = file_inode(iocb->ki_filp); in __iomap_dio_rw()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_file.c224 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); in xfs_file_dio_aio_read()
233 file_accessed(iocb->ki_filp); in xfs_file_dio_aio_read()
253 struct xfs_inode *ip = XFS_I(iocb->ki_filp->f_mapping->host); in xfs_file_dax_read()
272 file_accessed(iocb->ki_filp); in xfs_file_dax_read()
281 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); in xfs_file_buffered_aio_read()
303 struct inode *inode = file_inode(iocb->ki_filp); in xfs_file_read_iter()
337 struct file *file = iocb->ki_filp; in xfs_file_aio_write_checks()
427 struct inode *inode = file_inode(iocb->ki_filp); in xfs_dio_write_end_io()
531 struct file *file = iocb->ki_filp; in xfs_file_dio_aio_write()
623 struct inode *inode = iocb->ki_filp->f_mapping->host; in xfs_file_dax_write()
[all …]
/kernel/linux/linux-5.10/fs/orangefs/
Dfile.c351 down_read(&file_inode(iocb->ki_filp)->i_rwsem); in orangefs_file_read_iter()
352 ret = orangefs_revalidate_mapping(file_inode(iocb->ki_filp)); in orangefs_file_read_iter()
358 up_read(&file_inode(iocb->ki_filp)->i_rwsem); in orangefs_file_read_iter()
368 if (iocb->ki_pos > i_size_read(file_inode(iocb->ki_filp))) { in orangefs_file_write_iter()
369 ret = orangefs_revalidate_mapping(file_inode(iocb->ki_filp)); in orangefs_file_write_iter()
/kernel/linux/linux-5.10/net/qrtr/
Dtun.c61 struct file *filp = iocb->ki_filp; in qrtr_tun_read_iter()
87 struct file *filp = iocb->ki_filp; in qrtr_tun_write_iter()
/kernel/linux/linux-5.10/fs/overlayfs/
Dfile.c275 struct inode *inode = file_inode(orig_iocb->ki_filp); in ovl_aio_cleanup_handler()
278 __sb_writers_acquired(file_inode(iocb->ki_filp)->i_sb, in ovl_aio_cleanup_handler()
280 file_end_write(iocb->ki_filp); in ovl_aio_cleanup_handler()
300 struct file *file = iocb->ki_filp; in ovl_read_iter()
352 struct file *file = iocb->ki_filp; in ovl_write_iter()
/kernel/linux/linux-5.10/fs/
Daio.c200 struct file *ki_filp; member
1080 if (iocb->ki_filp) in iocb_destroy()
1081 fput(iocb->ki_filp); in iocb_destroy()
1430 struct inode *inode = file_inode(kiocb->ki_filp); in aio_complete_rw()
1438 file_end_write(kiocb->ki_filp); in aio_complete_rw()
1453 req->ki_flags = iocb_flags(req->ki_filp); in aio_prep_rw()
1456 req->ki_hint = ki_hint_validate(file_write_hint(req->ki_filp)); in aio_prep_rw()
1528 file = req->ki_filp; in aio_read()
1556 file = req->ki_filp; in aio_write()
1919 req->ki_filp = fget(iocb->aio_fildes); in __io_submit_one()
[all …]
Dblock_dev.c240 struct file *file = iocb->ki_filp; in __blkdev_direct_IO_simple()
329 struct block_device *bdev = I_BDEV(kiocb->ki_filp->f_mapping->host); in blkdev_iopoll()
377 struct file *file = iocb->ki_filp; in __blkdev_direct_IO()
1905 struct file *file = iocb->ki_filp; in blkdev_write_iter()
1945 struct file *file = iocb->ki_filp; in blkdev_read_iter()
/kernel/linux/linux-5.10/fs/nfs/
Ddirect.c166 struct inode *inode = iocb->ki_filp->f_mapping->host; in nfs_direct_IO()
446 struct file *file = iocb->ki_filp; in nfs_file_direct_read()
472 dreq->ctx = get_nfs_open_context(nfs_file_open_context(iocb->ki_filp)); in nfs_file_direct_read()
904 struct file *file = iocb->ki_filp; in nfs_file_direct_write()
937 dreq->ctx = get_nfs_open_context(nfs_file_open_context(iocb->ki_filp)); in nfs_file_direct_write()
Dfile.c160 struct inode *inode = file_inode(iocb->ki_filp); in nfs_file_read()
167 iocb->ki_filp, in nfs_file_read()
171 result = nfs_revalidate_mapping(inode, iocb->ki_filp->f_mapping); in nfs_file_read()
605 struct file *file = iocb->ki_filp; in nfs_file_write()
/kernel/linux/linux-5.10/fs/zonefs/
Dsuper.c705 struct inode *inode = file_inode(iocb->ki_filp); in zonefs_file_write_dio_end_io()
738 struct inode *inode = file_inode(iocb->ki_filp); in zonefs_file_dio_append()
842 struct file *file = iocb->ki_filp; in zonefs_write_checks()
885 struct inode *inode = file_inode(iocb->ki_filp); in zonefs_file_dio_write()
954 struct inode *inode = file_inode(iocb->ki_filp); in zonefs_file_buffered_write()
992 struct inode *inode = file_inode(iocb->ki_filp); in zonefs_file_write_iter()
1017 zonefs_io_error(file_inode(iocb->ki_filp), false); in zonefs_file_read_dio_end_io()
1030 struct inode *inode = file_inode(iocb->ki_filp); in zonefs_file_read_iter()
1068 file_accessed(iocb->ki_filp); in zonefs_file_read_iter()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_dp_aux_dev.c148 struct drm_dp_aux_dev *aux_dev = iocb->ki_filp->private_data; in auxdev_read_iter()
191 struct drm_dp_aux_dev *aux_dev = iocb->ki_filp->private_data; in auxdev_write_iter()
/kernel/linux/linux-5.10/fs/coda/
Dfile.c40 struct file *coda_file = iocb->ki_filp; in coda_file_read_iter()
65 struct file *coda_file = iocb->ki_filp; in coda_file_write_iter()
/kernel/linux/linux-5.10/fs/9p/
Dvfs_file.c385 struct p9_fid *fid = iocb->ki_filp->private_data; in v9fs_file_read_iter()
391 if (iocb->ki_filp->f_flags & O_NONBLOCK) in v9fs_file_read_iter()
413 struct file *file = iocb->ki_filp; in v9fs_file_write_iter()
Dvfs_addr.c237 struct file *file = iocb->ki_filp; in v9fs_direct_IO()
/kernel/linux/linux-5.10/fs/fuse/
Ddax.c703 struct inode *inode = file_inode(iocb->ki_filp); in fuse_dax_read_iter()
722 struct inode *inode = file_inode(iocb->ki_filp); in file_extending_write()
731 struct inode *inode = file_inode(iocb->ki_filp); in fuse_dax_direct_write()
746 struct inode *inode = file_inode(iocb->ki_filp); in fuse_dax_write_iter()
760 ret = file_remove_privs(iocb->ki_filp); in fuse_dax_write_iter()
Dfile.c670 struct inode *inode = file_inode(io->iocb->ki_filp); in fuse_aio_complete()
762 struct file *file = ia->io->iocb->ki_filp; in fuse_send_read()
993 struct inode *inode = iocb->ki_filp->f_mapping->host; in fuse_cache_read_iter()
1004 err = fuse_update_attributes(inode, iocb->ki_filp); in fuse_cache_read_iter()
1036 unsigned int flags = iocb->ki_filp->f_flags; in fuse_write_flags()
1050 struct file *file = iocb->ki_filp; in fuse_send_write()
1095 struct file *file = iocb->ki_filp; in fuse_send_write_pages()
1280 struct file *file = iocb->ki_filp; in fuse_cache_write_iter()
1437 struct file *file = io->iocb->ki_filp; in fuse_direct_io()
1525 struct inode *inode = file_inode(io->iocb->ki_filp); in __fuse_direct_read()
[all …]
/kernel/linux/linux-5.10/fs/hmdfs/
Dfile_local.c96 return hmdfs_do_read_iter(iocb->ki_filp, iter, &iocb->ki_pos); in hmdfs_local_read_iter()
144 return hmdfs_do_write_iter(iocb->ki_filp, iter, &iocb->ki_pos); in hmdfs_local_write_iter()
/kernel/linux/linux-5.10/arch/s390/hypfs/
Dinode.c146 struct file *file = iocb->ki_filp; in hypfs_read_iter()
167 struct super_block *sb = file_inode(iocb->ki_filp)->i_sb; in hypfs_write_iter()
/kernel/linux/linux-5.10/fs/kernfs/
Dfile.c186 struct kernfs_open_file *of = kernfs_of(iocb->ki_filp); in kernfs_file_read_iter()
240 if (kernfs_of(iocb->ki_filp)->kn->flags & KERNFS_HAS_SEQ_SHOW) in kernfs_fop_read_iter()
257 struct kernfs_open_file *of = kernfs_of(iocb->ki_filp); in kernfs_fop_write_iter()
/kernel/linux/linux-5.10/drivers/rpmsg/
Drpmsg_char.c168 struct file *filp = iocb->ki_filp; in rpmsg_eptdev_read_iter()
216 struct file *filp = iocb->ki_filp; in rpmsg_eptdev_write_iter()
/kernel/linux/linux-5.10/fs/gfs2/
Dfile.c788 struct file *file = iocb->ki_filp; in gfs2_file_direct_read()
813 struct file *file = iocb->ki_filp; in gfs2_file_direct_write()
876 ip = GFS2_I(iocb->ki_filp->f_mapping->host); in gfs2_file_read_iter()
904 struct file *file = iocb->ki_filp; in gfs2_file_write_iter()
/kernel/linux/linux-5.10/fs/udf/
Dfile.c138 struct file *file = iocb->ki_filp; in udf_file_write_iter()

1234