Home
last modified time | relevance | path

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

12

/fs/ext4/
Dfile.c40 struct inode *inode = file_inode(iocb->ki_filp); in ext4_dax_read_iter()
60 file_accessed(iocb->ki_filp); in ext4_dax_read_iter()
67 if (unlikely(ext4_forced_shutdown(EXT4_SB(file_inode(iocb->ki_filp)->i_sb)))) in ext4_file_read_iter()
74 if (IS_DAX(file_inode(iocb->ki_filp))) in ext4_file_read_iter()
162 struct inode *inode = file_inode(iocb->ki_filp); in ext4_write_checks()
190 struct inode *inode = file_inode(iocb->ki_filp); in ext4_dax_write_iter()
201 ret = file_remove_privs(iocb->ki_filp); in ext4_dax_write_iter()
204 ret = file_update_time(iocb->ki_filp); in ext4_dax_write_iter()
220 struct inode *inode = file_inode(iocb->ki_filp); in ext4_file_write_iter()
/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()
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()
/fs/orangefs/
Dfile.c323 if (!iocb->ki_filp->private_data) { in orangefs_file_read_iter()
324 iocb->ki_filp->private_data = kmalloc(sizeof *ro, GFP_KERNEL); in orangefs_file_read_iter()
325 if (!iocb->ki_filp->private_data) in orangefs_file_read_iter()
327 ro = iocb->ki_filp->private_data; in orangefs_file_read_iter()
331 down_read(&file_inode(iocb->ki_filp)->i_rwsem); in orangefs_file_read_iter()
332 ret = orangefs_revalidate_mapping(file_inode(iocb->ki_filp)); in orangefs_file_read_iter()
338 up_read(&file_inode(iocb->ki_filp)->i_rwsem); in orangefs_file_read_iter()
348 if (iocb->ki_pos > i_size_read(file_inode(iocb->ki_filp))) { in orangefs_file_write_iter()
349 ret = orangefs_revalidate_mapping(file_inode(iocb->ki_filp)); in orangefs_file_write_iter()
/fs/iomap/
Ddirect-io.c78 struct inode *inode = file_inode(iocb->ki_filp); in iomap_dio_complete()
113 dio_warn_stale_pagecache(iocb->ki_filp); in iomap_dio_complete()
123 inode_dio_end(file_inode(iocb->ki_filp)); in iomap_dio_complete()
161 struct inode *inode = file_inode(dio->iocb->ki_filp); in iomap_dio_bio_end_io()
182 struct inode *inode = file_inode(dio->iocb->ki_filp); in iomap_dio_zero()
405 struct address_space *mapping = iocb->ki_filp->f_mapping; in iomap_dio_rw()
406 struct inode *inode = file_inode(iocb->ki_filp); in iomap_dio_rw()
482 dio_warn_stale_pagecache(iocb->ki_filp); in iomap_dio_rw()
/fs/xfs/
Dxfs_file.c179 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); in xfs_file_dio_aio_read()
188 file_accessed(iocb->ki_filp); in xfs_file_dio_aio_read()
202 struct xfs_inode *ip = XFS_I(iocb->ki_filp->f_mapping->host); in xfs_file_dax_read()
221 file_accessed(iocb->ki_filp); in xfs_file_dax_read()
230 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); in xfs_file_buffered_aio_read()
252 struct inode *inode = file_inode(iocb->ki_filp); in xfs_file_read_iter()
286 struct file *file = iocb->ki_filp; in xfs_file_aio_write_checks()
376 struct inode *inode = file_inode(iocb->ki_filp); in xfs_dio_write_end_io()
480 struct file *file = iocb->ki_filp; in xfs_file_dio_aio_write()
575 struct inode *inode = iocb->ki_filp->f_mapping->host; in xfs_file_dax_write()
[all …]
/fs/sdcardfs/
Dfile.c381 struct file *file = iocb->ki_filp, *lower_file; in sdcardfs_read_iter()
390 iocb->ki_filp = lower_file; in sdcardfs_read_iter()
392 iocb->ki_filp = file; in sdcardfs_read_iter()
408 struct file *file = iocb->ki_filp, *lower_file; in sdcardfs_write_iter()
418 iocb->ki_filp = lower_file; in sdcardfs_write_iter()
420 iocb->ki_filp = file; in sdcardfs_write_iter()
/fs/
Daio.c199 struct file *ki_filp; member
1079 if (iocb->ki_filp) in iocb_destroy()
1080 fput(iocb->ki_filp); in iocb_destroy()
1429 struct inode *inode = file_inode(kiocb->ki_filp); in aio_complete_rw()
1437 file_end_write(kiocb->ki_filp); in aio_complete_rw()
1452 req->ki_flags = iocb_flags(req->ki_filp); in aio_prep_rw()
1455 req->ki_hint = ki_hint_validate(file_write_hint(req->ki_filp)); in aio_prep_rw()
1531 file = req->ki_filp; in aio_read()
1559 file = req->ki_filp; in aio_write()
1782 req->ki_filp = fget(iocb->aio_fildes); in __io_submit_one()
[all …]
Dio_uring.c825 ret = kiocb->ki_filp->f_op->iopoll(kiocb, spin); in io_do_iopoll()
1007 if (list_req->rw.ki_filp != req->rw.ki_filp) in io_iopoll_req_issued()
1103 kiocb->ki_flags = iocb_flags(kiocb->ki_filp); in io_prep_rw()
1104 kiocb->ki_hint = ki_hint_validate(file_write_hint(kiocb->ki_filp)); in io_prep_rw()
1130 !kiocb->ki_filp->f_op->iopoll) in io_prep_rw()
1278 if (al->file == kiocb->ki_filp) { in io_should_merge()
1308 struct file *filp = kiocb->ki_filp; in io_async_list_note()
1406 file = kiocb->ki_filp; in io_read()
1472 file = kiocb->ki_filp; in io_write()
1585 ret = vfs_fsync_range(req->rw.ki_filp, sqe_off, in io_fsync()
[all …]
Dblock_dev.c205 struct file *file = iocb->ki_filp; in __blkdev_direct_IO_simple()
292 struct block_device *bdev = I_BDEV(kiocb->ki_filp->f_mapping->host); in blkdev_iopoll()
340 struct file *file = iocb->ki_filp; in __blkdev_direct_IO()
1969 struct file *file = iocb->ki_filp; in blkdev_write_iter()
2003 struct file *file = iocb->ki_filp; in blkdev_read_iter()
Dpipe.c275 struct file *filp = iocb->ki_filp; in pipe_read()
381 struct file *filp = iocb->ki_filp; in pipe_write()
Ddirect-io.c316 dio_warn_stale_pagecache(dio->iocb->ki_filp); in dio_complete()
1219 iocb->ki_filp->f_mapping; in do_blockdev_direct_IO()
/fs/nfs/
Dfile.c157 struct inode *inode = file_inode(iocb->ki_filp); in nfs_file_read()
164 iocb->ki_filp, in nfs_file_read()
168 result = nfs_revalidate_mapping(inode, iocb->ki_filp->f_mapping); in nfs_file_read()
595 struct file *file = iocb->ki_filp; in nfs_file_write()
Ddirect.c266 struct inode *inode = iocb->ki_filp->f_mapping->host; in nfs_direct_IO()
544 struct file *file = iocb->ki_filp; in nfs_file_direct_read()
570 dreq->ctx = get_nfs_open_context(nfs_file_open_context(iocb->ki_filp)); in nfs_file_direct_read()
959 struct file *file = iocb->ki_filp; in nfs_file_direct_write()
988 dreq->ctx = get_nfs_open_context(nfs_file_open_context(iocb->ki_filp)); in nfs_file_direct_write()
/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()
/fs/fuse/
Dfile.c634 struct inode *inode = file_inode(io->iocb->ki_filp); in fuse_aio_complete()
725 struct file *file = ia->io->iocb->ki_filp; in fuse_send_read()
988 struct inode *inode = iocb->ki_filp->f_mapping->host; in fuse_cache_read_iter()
999 err = fuse_update_attributes(inode, iocb->ki_filp); in fuse_cache_read_iter()
1031 unsigned int flags = iocb->ki_filp->f_flags; in fuse_write_flags()
1045 struct file *file = iocb->ki_filp; in fuse_send_write()
1090 struct file *file = iocb->ki_filp; in fuse_send_write_pages()
1258 struct file *file = iocb->ki_filp; in fuse_cache_write_iter()
1414 struct file *file = io->iocb->ki_filp; in fuse_direct_io()
1499 struct inode *inode = file_inode(io->iocb->ki_filp); in __fuse_direct_read()
[all …]
/fs/9p/
Dvfs_file.c385 struct p9_fid *fid = iocb->ki_filp->private_data; in v9fs_file_read_iter()
410 struct file *file = iocb->ki_filp; in v9fs_file_write_iter()
Dvfs_addr.c237 struct file *file = iocb->ki_filp; in v9fs_direct_IO()
/fs/cifs/
Dcifsfs.c883 struct inode *inode = file_inode(iocb->ki_filp); in cifs_loose_read_iter()
885 if (iocb->ki_filp->f_flags & O_DIRECT) in cifs_loose_read_iter()
897 struct inode *inode = file_inode(iocb->ki_filp); in cifs_file_write_iter()
902 if (iocb->ki_filp->f_flags & O_DIRECT) { in cifs_file_write_iter()
Dfile.c3064 struct file *file = iocb->ki_filp; in __cifs_writev()
3178 struct file *file = iocb->ki_filp; in cifs_writev()
3214 struct inode *inode = file_inode(iocb->ki_filp); in cifs_strict_writev()
3218 iocb->ki_filp->private_data; in cifs_strict_writev()
3789 struct file *file = iocb->ki_filp; in __cifs_readv()
3901 struct inode *inode = file_inode(iocb->ki_filp); in cifs_strict_readv()
3905 iocb->ki_filp->private_data; in cifs_strict_readv()
/fs/overlayfs/
Dfile.c230 struct file *file = iocb->ki_filp; in ovl_read_iter()
256 struct file *file = iocb->ki_filp; in ovl_write_iter()
/fs/udf/
Dfile.c139 struct file *file = iocb->ki_filp; in udf_file_write_iter()
/fs/ceph/
Dfile.c585 struct file *file = iocb->ki_filp; in ceph_sync_read()
930 struct file *file = iocb->ki_filp; in ceph_direct_read_write()
1132 struct file *file = iocb->ki_filp; in ceph_sync_write()
1257 struct file *filp = iocb->ki_filp; in ceph_read_iter()
1413 struct file *file = iocb->ki_filp; in ceph_write_iter()
/fs/gfs2/
Dfile.c748 struct file *file = iocb->ki_filp; in gfs2_file_direct_read()
772 struct file *file = iocb->ki_filp; in gfs2_file_direct_write()
833 struct file *file = iocb->ki_filp; in gfs2_file_write_iter()
/fs/ecryptfs/
Dfile.c37 struct file *file = iocb->ki_filp; in ecryptfs_read_update_atime()
/fs/jfs/
Dinode.c336 struct file *file = iocb->ki_filp; in jfs_direct_IO()

12