Home
last modified time | relevance | path

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

1234

/linux-6.6.21/fs/ext2/
Dtrace.h25 __entry->dev = file_inode(iocb->ki_filp)->i_sb->s_dev;
26 __entry->ino = file_inode(iocb->ki_filp)->i_ino;
27 __entry->isize = file_inode(iocb->ki_filp)->i_size;
69 __entry->dev = file_inode(iocb->ki_filp)->i_sb->s_dev;
70 __entry->ino = file_inode(iocb->ki_filp)->i_ino;
71 __entry->isize = file_inode(iocb->ki_filp)->i_size;
Dfile.c37 struct inode *inode = iocb->ki_filp->f_mapping->host; in ext2_dax_read_iter()
47 file_accessed(iocb->ki_filp); in ext2_dax_read_iter()
53 struct file *file = iocb->ki_filp; in ext2_dax_write_iter()
168 struct file *file = iocb->ki_filp; in ext2_dio_read_iter()
185 struct inode *inode = file_inode(iocb->ki_filp); in ext2_dio_write_end_io()
214 struct file *file = iocb->ki_filp; 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/fs/ext4/
Dfile.c57 struct inode *inode = file_inode(iocb->ki_filp); in ext4_should_use_dio()
72 struct inode *inode = file_inode(iocb->ki_filp); in ext4_dio_read_iter()
97 file_accessed(iocb->ki_filp); in ext4_dio_read_iter()
104 struct inode *inode = file_inode(iocb->ki_filp); in ext4_dax_read_iter()
125 file_accessed(iocb->ki_filp); in ext4_dax_read_iter()
132 struct inode *inode = file_inode(iocb->ki_filp); in ext4_file_read_iter()
246 struct inode *inode = file_inode(iocb->ki_filp); in ext4_generic_write_checks()
279 ret = file_modified(iocb->ki_filp); in ext4_write_checks()
289 struct inode *inode = file_inode(iocb->ki_filp); in ext4_buffered_write_iter()
378 struct inode *inode = file_inode(iocb->ki_filp); in ext4_dio_write_end_io()
[all …]
/linux-6.6.21/fs/iomap/
Dtrace.h208 __entry->dev = file_inode(iocb->ki_filp)->i_sb->s_dev;
209 __entry->ino = file_inode(iocb->ki_filp)->i_ino;
210 __entry->isize = file_inode(iocb->ki_filp)->i_size;
244 __entry->dev = file_inode(iocb->ki_filp)->i_sb->s_dev;
245 __entry->ino = file_inode(iocb->ki_filp)->i_ino;
246 __entry->isize = file_inode(iocb->ki_filp)->i_size;
Ddirect-io.c116 inode_dio_end(file_inode(iocb->ki_filp)); in iomap_dio_complete()
223 queue_work(file_inode(iocb->ki_filp)->i_sb->s_dio_done_wq, in iomap_dio_bio_end_io()
238 struct inode *inode = file_inode(dio->iocb->ki_filp); in iomap_dio_zero()
511 dio->iocb->ki_filp, current->comm); in iomap_dio_iter()
544 struct inode *inode = file_inode(iocb->ki_filp); in __iomap_dio_rw()
/linux-6.6.21/fs/xfs/
Dxfs_file.c205 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); in xfs_ilock_iocb()
223 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); in xfs_ilock_iocb_for_write()
259 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); in xfs_file_dio_read()
267 file_accessed(iocb->ki_filp); in xfs_file_dio_read()
283 struct xfs_inode *ip = XFS_I(iocb->ki_filp->f_mapping->host); in xfs_file_dax_read()
297 file_accessed(iocb->ki_filp); in xfs_file_dax_read()
306 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); in xfs_file_buffered_read()
325 struct inode *inode = file_inode(iocb->ki_filp); in xfs_file_read_iter()
387 struct file *file = iocb->ki_filp; in xfs_file_write_checks()
495 struct inode *inode = file_inode(iocb->ki_filp); in xfs_dio_write_end_io()
[all …]
/linux-6.6.21/fs/zonefs/
Dfile.c347 struct inode *inode = file_inode(iocb->ki_filp); in zonefs_file_write_dio_end_io()
414 struct file *file = iocb->ki_filp; in zonefs_write_checks()
458 struct inode *inode = file_inode(iocb->ki_filp); in zonefs_file_dio_write()
544 struct inode *inode = file_inode(iocb->ki_filp); in zonefs_file_buffered_write()
579 struct inode *inode = file_inode(iocb->ki_filp); in zonefs_file_write_iter()
606 zonefs_io_error(file_inode(iocb->ki_filp), false); in zonefs_file_read_dio_end_io()
619 struct inode *inode = file_inode(iocb->ki_filp); in zonefs_file_read_iter()
658 file_accessed(iocb->ki_filp); in zonefs_file_read_iter()
/linux-6.6.21/fs/orangefs/
Dfile.c329 down_read(&file_inode(iocb->ki_filp)->i_rwsem); in orangefs_file_read_iter()
330 ret = orangefs_revalidate_mapping(file_inode(iocb->ki_filp)); in orangefs_file_read_iter()
336 up_read(&file_inode(iocb->ki_filp)->i_rwsem); in orangefs_file_read_iter()
366 if (iocb->ki_pos > i_size_read(file_inode(iocb->ki_filp))) { in orangefs_file_write_iter()
367 ret = orangefs_revalidate_mapping(file_inode(iocb->ki_filp)); in orangefs_file_write_iter()
/linux-6.6.21/fs/cachefiles/
Dio.c37 fput(ki->iocb.ki_filp); in cachefiles_put_kiocb()
48 struct inode *inode = file_inode(ki->iocb.ki_filp); in cachefiles_read_complete()
138 ki->iocb.ki_filp = file; in cachefiles_read()
152 get_file(ki->iocb.ki_filp); in cachefiles_read()
258 struct inode *inode = file_inode(ki->iocb.ki_filp); in cachefiles_write_complete()
306 ki->iocb.ki_filp = file; in __cachefiles_write()
324 get_file(ki->iocb.ki_filp); in __cachefiles_write()
/linux-6.6.21/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()
/linux-6.6.21/fs/configfs/
Dfile.c82 struct file *file = iocb->ki_filp; in configfs_read_iter()
108 struct file *file = iocb->ki_filp; in configfs_bin_read_iter()
222 struct file *file = iocb->ki_filp; in configfs_write_iter()
239 struct file *file = iocb->ki_filp; in configfs_bin_write_iter()
/linux-6.6.21/mm/
Dpage_io.c304 if (sio->iocb.ki_filp != swap_file || in swap_writepage_fs()
392 struct address_space *mapping = sio->iocb.ki_filp->f_mapping; in swap_write_unplug()
435 if (sio->iocb.ki_filp != sis->swap_file || in swap_readpage_fs()
537 struct address_space *mapping = sio->iocb.ki_filp->f_mapping; in __swap_read_unplug()
Dfilemap.c2466 error = filemap_read_folio(iocb->ki_filp, mapping->a_ops->read_folio, in filemap_update_page()
2538 struct file *filp = iocb->ki_filp; in filemap_get_pages()
2620 struct file *filp = iocb->ki_filp; 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()
2808 struct file *file = iocb->ki_filp; in generic_file_read_iter()
3876 struct address_space *mapping = iocb->ki_filp->f_mapping; in kiocb_invalidate_post_direct_write()
3882 dio_warn_stale_pagecache(iocb->ki_filp); in kiocb_invalidate_post_direct_write()
3888 struct address_space *mapping = iocb->ki_filp->f_mapping; in generic_file_direct_write()
3943 struct file *file = iocb->ki_filp; in generic_perform_write()
[all …]
/linux-6.6.21/block/
Dfops.c49 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()
646 struct file *file = iocb->ki_filp; in blkdev_write_iter()
695 struct block_device *bdev = I_BDEV(iocb->ki_filp->f_mapping->host); in blkdev_read_iter()
718 file_accessed(iocb->ki_filp); in blkdev_read_iter()
/linux-6.6.21/drivers/gpu/drm/display/
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()
/linux-6.6.21/fs/overlayfs/
Dfile.c282 fput(aio_req->iocb.ki_filp); in ovl_aio_put()
293 struct inode *inode = file_inode(orig_iocb->ki_filp); in ovl_aio_cleanup_handler()
315 struct file *file = iocb->ki_filp; in ovl_read_iter()
364 struct file *file = iocb->ki_filp; in ovl_write_iter()
/linux-6.6.21/fs/nfs/
Dfile.c159 struct inode *inode = file_inode(iocb->ki_filp); in nfs_file_read()
166 iocb->ki_filp, in nfs_file_read()
170 result = nfs_revalidate_mapping(inode, iocb->ki_filp->f_mapping); in nfs_file_read()
639 struct file *file = iocb->ki_filp; in nfs_file_write()
Ddirect.c420 struct file *file = iocb->ki_filp; in nfs_file_direct_read()
446 dreq->ctx = get_nfs_open_context(nfs_file_open_context(iocb->ki_filp)); in nfs_file_direct_read()
953 struct file *file = iocb->ki_filp; in nfs_file_direct_write()
986 dreq->ctx = get_nfs_open_context(nfs_file_open_context(iocb->ki_filp)); in nfs_file_direct_write()
/linux-6.6.21/fs/fuse/
Dfile.c691 struct inode *inode = file_inode(io->iocb->ki_filp); in fuse_aio_complete()
783 struct file *file = ia->io->iocb->ki_filp; in fuse_send_read()
1014 struct inode *inode = iocb->ki_filp->f_mapping->host; in fuse_cache_read_iter()
1025 err = fuse_update_attributes(inode, iocb->ki_filp, STATX_SIZE); in fuse_cache_read_iter()
1057 unsigned int flags = iocb->ki_filp->f_flags; in fuse_write_flags()
1071 struct file *file = iocb->ki_filp; in fuse_send_write()
1118 struct file *file = iocb->ki_filp; in fuse_send_write_pages()
1248 struct address_space *mapping = iocb->ki_filp->f_mapping; in fuse_perform_write()
1303 struct file *file = iocb->ki_filp; in fuse_cache_write_iter()
1430 struct file *file = io->iocb->ki_filp; in fuse_direct_io()
[all …]
Ddax.c702 struct inode *inode = file_inode(iocb->ki_filp); in fuse_dax_read_iter()
721 struct inode *inode = file_inode(iocb->ki_filp); in file_extending_write()
730 struct inode *inode = file_inode(iocb->ki_filp); in fuse_dax_direct_write()
742 struct inode *inode = file_inode(iocb->ki_filp); in fuse_dax_write_iter()
756 ret = file_remove_privs(iocb->ki_filp); in fuse_dax_write_iter()
/linux-6.6.21/fs/9p/
Dvfs_file.c355 struct p9_fid *fid = iocb->ki_filp->private_data; in v9fs_file_read_iter()
366 if (iocb->ki_filp->f_flags & O_NONBLOCK) in v9fs_file_read_iter()
408 struct file *file = iocb->ki_filp; in v9fs_file_write_iter()
/linux-6.6.21/fs/
Daio.c199 struct file *ki_filp; member
1110 if (iocb->ki_filp) in iocb_destroy()
1111 fput(iocb->ki_filp); in iocb_destroy()
1455 struct inode *inode = file_inode(kiocb->ki_filp); in aio_complete_rw()
1473 req->ki_flags = req->ki_filp->f_iocb_flags | IOCB_AIO_RW; in aio_prep_rw()
1547 file = req->ki_filp; in aio_read()
1574 file = req->ki_filp; in aio_write()
1928 req->ki_filp = fget(iocb->aio_fildes); in __io_submit_one()
1929 if (unlikely(!req->ki_filp)) in __io_submit_one()
/linux-6.6.21/io_uring/
Drw.c429 return (kiocb->ki_filp->f_mode & FMODE_STREAM) ? NULL : &kiocb->ki_pos; in io_kiocb_ppos()
439 struct file *file = kiocb->ki_filp; in loop_rw_iter()
451 !(kiocb->ki_filp->f_flags & O_NONBLOCK)) in loop_rw_iter()
653 struct file *file = rw->kiocb.ki_filp; in io_iter_do_read()
898 !(kiocb->ki_filp->f_mode & FMODE_BUF_WASYNC) && in io_write()
/linux-6.6.21/fs/coda/
Dfile.c43 struct file *coda_file = iocb->ki_filp; in coda_file_read_iter()
68 struct file *coda_file = iocb->ki_filp; in coda_file_write_iter()
/linux-6.6.21/drivers/nvme/target/
Dio-cmd-file.c97 iocb->ki_filp = req->ns->file; in nvmet_file_submit_bvec()
98 iocb->ki_flags = ki_flags | iocb->ki_filp->f_iocb_flags; in nvmet_file_submit_bvec()

1234