Home
last modified time | relevance | path

Searched refs:iocb (Results 1 – 25 of 140) sorted by relevance

123456

/linux-6.6.21/fs/ext2/
Dfile.c35 static ssize_t ext2_dax_read_iter(struct kiocb *iocb, struct iov_iter *to) in ext2_dax_read_iter() argument
37 struct inode *inode = iocb->ki_filp->f_mapping->host; in ext2_dax_read_iter()
44 ret = dax_iomap_rw(iocb, to, &ext2_iomap_ops); in ext2_dax_read_iter()
47 file_accessed(iocb->ki_filp); in ext2_dax_read_iter()
51 static ssize_t ext2_dax_write_iter(struct kiocb *iocb, struct iov_iter *from) in ext2_dax_write_iter() argument
53 struct file *file = iocb->ki_filp; in ext2_dax_write_iter()
58 ret = generic_write_checks(iocb, from); in ext2_dax_write_iter()
68 ret = dax_iomap_rw(iocb, from, &ext2_iomap_ops); in ext2_dax_write_iter()
69 if (ret > 0 && iocb->ki_pos > i_size_read(inode)) { in ext2_dax_write_iter()
70 i_size_write(inode, iocb->ki_pos); in ext2_dax_write_iter()
[all …]
Dtrace.h12 TP_PROTO(struct kiocb *iocb, struct iov_iter *iter, ssize_t ret),
13 TP_ARGS(iocb, iter, ret),
25 __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;
28 __entry->pos = iocb->ki_pos;
30 __entry->ki_flags = iocb->ki_flags;
31 __entry->aio = !is_sync_kiocb(iocb);
47 TP_PROTO(struct kiocb *iocb, struct iov_iter *iter, ssize_t ret), \
48 TP_ARGS(iocb, iter, ret))
[all …]
/linux-6.6.21/fs/ext4/
Dfile.c55 static bool ext4_should_use_dio(struct kiocb *iocb, struct iov_iter *iter) in ext4_should_use_dio() argument
57 struct inode *inode = file_inode(iocb->ki_filp); in ext4_should_use_dio()
66 return IS_ALIGNED(iocb->ki_pos | iov_iter_alignment(iter), dio_align); in ext4_should_use_dio()
69 static ssize_t ext4_dio_read_iter(struct kiocb *iocb, struct iov_iter *to) in ext4_dio_read_iter() argument
72 struct inode *inode = file_inode(iocb->ki_filp); in ext4_dio_read_iter()
74 if (iocb->ki_flags & IOCB_NOWAIT) { in ext4_dio_read_iter()
81 if (!ext4_should_use_dio(iocb, to)) { in ext4_dio_read_iter()
90 iocb->ki_flags &= ~IOCB_DIRECT; in ext4_dio_read_iter()
91 return generic_file_read_iter(iocb, to); in ext4_dio_read_iter()
94 ret = iomap_dio_rw(iocb, to, &ext4_iomap_ops, NULL, 0, NULL, 0); in ext4_dio_read_iter()
[all …]
/linux-6.6.21/block/
Dfops.c27 static blk_opf_t dio_bio_write_op(struct kiocb *iocb) in dio_bio_write_op() argument
32 if (iocb_is_dsync(iocb)) in dio_bio_write_op()
46 static ssize_t __blkdev_direct_IO_simple(struct kiocb *iocb, in __blkdev_direct_IO_simple() argument
49 struct block_device *bdev = I_BDEV(iocb->ki_filp->f_mapping->host); in __blkdev_direct_IO_simple()
51 loff_t pos = iocb->ki_pos; in __blkdev_direct_IO_simple()
73 bio_init(&bio, bdev, vecs, nr_pages, dio_bio_write_op(iocb)); in __blkdev_direct_IO_simple()
76 bio.bi_ioprio = iocb->ki_ioprio; in __blkdev_direct_IO_simple()
86 if (iocb->ki_flags & IOCB_NOWAIT) in __blkdev_direct_IO_simple()
111 struct kiocb *iocb; member
132 struct kiocb *iocb = dio->iocb; in blkdev_bio_end_io() local
[all …]
/linux-6.6.21/fs/xfs/
Dxfs_file.c202 struct kiocb *iocb, in xfs_ilock_iocb() argument
205 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); in xfs_ilock_iocb()
207 if (iocb->ki_flags & IOCB_NOWAIT) { in xfs_ilock_iocb()
219 struct kiocb *iocb, in xfs_ilock_iocb_for_write() argument
223 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); in xfs_ilock_iocb_for_write()
225 ret = xfs_ilock_iocb(iocb, *lock_mode); in xfs_ilock_iocb_for_write()
236 return xfs_ilock_iocb(iocb, *lock_mode); in xfs_ilock_iocb_for_write()
256 struct kiocb *iocb, in xfs_file_dio_read() argument
259 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); in xfs_file_dio_read()
262 trace_xfs_file_direct_read(iocb, to); in xfs_file_dio_read()
[all …]
/linux-6.6.21/fs/iomap/
Ddirect-io.c31 struct kiocb *iocb; member
67 struct kiocb *iocb = dio->iocb; in iomap_dio_submit_bio() local
72 if ((iocb->ki_flags & IOCB_HIPRI) && !is_sync_kiocb(iocb)) { in iomap_dio_submit_bio()
73 bio_set_polled(bio, iocb); in iomap_dio_submit_bio()
74 WRITE_ONCE(iocb->private, bio); in iomap_dio_submit_bio()
86 struct kiocb *iocb = dio->iocb; in iomap_dio_complete() local
87 loff_t offset = iocb->ki_pos; in iomap_dio_complete()
91 ret = dops->end_io(iocb, dio->size, ret, dio->flags); in iomap_dio_complete()
114 kiocb_invalidate_post_direct_write(iocb, dio->size); in iomap_dio_complete()
116 inode_dio_end(file_inode(iocb->ki_filp)); in iomap_dio_complete()
[all …]
Dtrace.h193 TP_PROTO(struct kiocb *iocb, struct iov_iter *iter,
195 TP_ARGS(iocb, iter, dio_flags, done_before),
208 __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;
211 __entry->pos = iocb->ki_pos;
214 __entry->ki_flags = iocb->ki_flags;
216 __entry->aio = !is_sync_kiocb(iocb);
231 TP_PROTO(struct kiocb *iocb, int error, ssize_t ret),
232 TP_ARGS(iocb, error, ret),
[all …]
/linux-6.6.21/fs/
Daio.c591 void kiocb_set_cancel_fn(struct kiocb *iocb, kiocb_cancel_fn *cancel) in kiocb_set_cancel_fn() argument
593 struct aio_kiocb *req = container_of(iocb, struct aio_kiocb, rw); in kiocb_set_cancel_fn()
601 if (!(iocb->ki_flags & IOCB_AIO_RW)) in kiocb_set_cancel_fn()
1106 static inline void iocb_destroy(struct aio_kiocb *iocb) in iocb_destroy() argument
1108 if (iocb->ki_eventfd) in iocb_destroy()
1109 eventfd_ctx_put(iocb->ki_eventfd); in iocb_destroy()
1110 if (iocb->ki_filp) in iocb_destroy()
1111 fput(iocb->ki_filp); in iocb_destroy()
1112 percpu_ref_put(&iocb->ki_ctx->reqs); in iocb_destroy()
1113 kmem_cache_free(kiocb_cachep, iocb); in iocb_destroy()
[all …]
/linux-6.6.21/fs/zonefs/
Dfile.c344 static int zonefs_file_write_dio_end_io(struct kiocb *iocb, ssize_t size, in zonefs_file_write_dio_end_io() argument
347 struct inode *inode = file_inode(iocb->ki_filp); in zonefs_file_write_dio_end_io()
355 if (!is_sync_kiocb(iocb)) in zonefs_file_write_dio_end_io()
369 if (i_size_read(inode) < iocb->ki_pos + size) { in zonefs_file_write_dio_end_io()
370 zonefs_update_stats(inode, iocb->ki_pos + size); in zonefs_file_write_dio_end_io()
371 zonefs_i_size_write(inode, iocb->ki_pos + size); in zonefs_file_write_dio_end_io()
412 static ssize_t zonefs_write_checks(struct kiocb *iocb, struct iov_iter *from) in zonefs_write_checks() argument
414 struct file *file = iocb->ki_filp; in zonefs_write_checks()
426 if ((iocb->ki_flags & IOCB_NOWAIT) && !(iocb->ki_flags & IOCB_DIRECT)) in zonefs_write_checks()
429 if (iocb->ki_flags & IOCB_APPEND) { in zonefs_write_checks()
[all …]
/linux-6.6.21/fs/ocfs2/
Daops.h51 #define ocfs2_iocb_is_rw_locked(iocb) \ argument
52 test_bit(0, (unsigned long *)&iocb->private)
53 static inline void ocfs2_iocb_set_rw_locked(struct kiocb *iocb, int level) in ocfs2_iocb_set_rw_locked() argument
55 set_bit(0, (unsigned long *)&iocb->private); in ocfs2_iocb_set_rw_locked()
57 set_bit(1, (unsigned long *)&iocb->private); in ocfs2_iocb_set_rw_locked()
59 clear_bit(1, (unsigned long *)&iocb->private); in ocfs2_iocb_set_rw_locked()
73 #define ocfs2_iocb_clear_rw_locked(iocb) \ argument
74 clear_bit(OCFS2_IOCB_RW_LOCK, (unsigned long *)&iocb->private)
75 #define ocfs2_iocb_rw_locked_level(iocb) \ argument
76 test_bit(OCFS2_IOCB_RW_LOCK_LEVEL, (unsigned long *)&iocb->private)
/linux-6.6.21/fs/overlayfs/
Dfile.c19 struct kiocb iocb; member
282 fput(aio_req->iocb.ki_filp); in ovl_aio_put()
289 struct kiocb *iocb = &aio_req->iocb; in ovl_aio_cleanup_handler() local
292 if (iocb->ki_flags & IOCB_WRITE) { in ovl_aio_cleanup_handler()
295 kiocb_end_write(iocb); in ovl_aio_cleanup_handler()
299 orig_iocb->ki_pos = iocb->ki_pos; in ovl_aio_cleanup_handler()
303 static void ovl_aio_rw_complete(struct kiocb *iocb, long res) in ovl_aio_rw_complete() argument
305 struct ovl_aio_req *aio_req = container_of(iocb, in ovl_aio_rw_complete()
306 struct ovl_aio_req, iocb); in ovl_aio_rw_complete()
313 static ssize_t ovl_read_iter(struct kiocb *iocb, struct iov_iter *iter) in ovl_read_iter() argument
[all …]
/linux-6.6.21/fs/cachefiles/
Dio.c18 struct kiocb iocb; member
37 fput(ki->iocb.ki_filp); in cachefiles_put_kiocb()
45 static void cachefiles_read_complete(struct kiocb *iocb, long ret) in cachefiles_read_complete() argument
47 struct cachefiles_kiocb *ki = container_of(iocb, struct cachefiles_kiocb, iocb); in cachefiles_read_complete()
48 struct inode *inode = file_inode(ki->iocb.ki_filp); in cachefiles_read_complete()
138 ki->iocb.ki_filp = file; in cachefiles_read()
139 ki->iocb.ki_pos = start_pos + skipped; in cachefiles_read()
140 ki->iocb.ki_flags = IOCB_DIRECT; in cachefiles_read()
141 ki->iocb.ki_ioprio = get_current_ioprio(); in cachefiles_read()
150 ki->iocb.ki_complete = cachefiles_read_complete; in cachefiles_read()
[all …]
/linux-6.6.21/fs/configfs/
Dfile.c80 static ssize_t configfs_read_iter(struct kiocb *iocb, struct iov_iter *to) in configfs_read_iter() argument
82 struct file *file = iocb->ki_filp; in configfs_read_iter()
93 __func__, iov_iter_count(to), iocb->ki_pos, buffer->page); in configfs_read_iter()
94 if (iocb->ki_pos >= buffer->count) in configfs_read_iter()
96 retval = copy_to_iter(buffer->page + iocb->ki_pos, in configfs_read_iter()
97 buffer->count - iocb->ki_pos, to); in configfs_read_iter()
98 iocb->ki_pos += retval; in configfs_read_iter()
106 static ssize_t configfs_bin_read_iter(struct kiocb *iocb, struct iov_iter *to) in configfs_bin_read_iter() argument
108 struct file *file = iocb->ki_filp; in configfs_bin_read_iter()
168 if (iocb->ki_pos >= buffer->bin_buffer_size) in configfs_bin_read_iter()
[all …]
/linux-6.6.21/mm/
Dpage_io.c237 struct kiocb iocb; member
257 static void sio_write_complete(struct kiocb *iocb, long ret) in sio_write_complete() argument
259 struct swap_iocb *sio = container_of(iocb, struct swap_iocb, iocb); in sio_write_complete()
304 if (sio->iocb.ki_filp != swap_file || in swap_writepage_fs()
305 sio->iocb.ki_pos + sio->len != pos) { in swap_writepage_fs()
312 init_sync_kiocb(&sio->iocb, swap_file); in swap_writepage_fs()
313 sio->iocb.ki_complete = sio_write_complete; in swap_writepage_fs()
314 sio->iocb.ki_pos = pos; in swap_writepage_fs()
392 struct address_space *mapping = sio->iocb.ki_filp->f_mapping; in swap_write_unplug()
396 ret = mapping->a_ops->swap_rw(&sio->iocb, &from); in swap_write_unplug()
[all …]
Dfilemap.c2422 static int filemap_update_page(struct kiocb *iocb, in filemap_update_page() argument
2428 if (iocb->ki_flags & IOCB_NOWAIT) { in filemap_update_page()
2437 if (iocb->ki_flags & (IOCB_NOWAIT | IOCB_NOIO)) in filemap_update_page()
2439 if (!(iocb->ki_flags & IOCB_WAITQ)) { in filemap_update_page()
2448 error = __folio_lock_async(folio, iocb->ki_waitq); in filemap_update_page()
2458 if (filemap_range_uptodate(mapping, iocb->ki_pos, count, folio, in filemap_update_page()
2463 if (iocb->ki_flags & (IOCB_NOIO | IOCB_NOWAIT | IOCB_WAITQ)) in filemap_update_page()
2466 error = filemap_read_folio(iocb->ki_filp, mapping->a_ops->read_folio, in filemap_update_page()
2523 static int filemap_readahead(struct kiocb *iocb, struct file *file, in filemap_readahead() argument
2529 if (iocb->ki_flags & IOCB_NOIO) in filemap_readahead()
[all …]
/linux-6.6.21/tools/usb/ffs-aio-example/multibuff/device_app/
Daio_multibuff.c144 struct iocb **iocb; member
212 iobuf->iocb = malloc(n*sizeof(*iobuf->iocb)); in init_bufs()
218 iobuf->iocb[i] = malloc(sizeof(**iobuf->iocb)); in init_bufs()
228 free(iobuf->iocb[i]); in delete_bufs()
231 free(iobuf->iocb); in delete_bufs()
332 io_prep_pwrite(iobuf[i].iocb[j], ep1, in main()
336 iobuf[i].iocb[j]->u.c.flags |= IOCB_FLAG_RESFD; in main()
337 iobuf[i].iocb[j]->u.c.resfd = evfd; in main()
340 ret = io_submit(ctx, iobuf[i].cnt, iobuf[i].iocb); in main()
/linux-6.6.21/drivers/gpu/drm/display/
Ddrm_dp_aux_dev.c146 static ssize_t auxdev_read_iter(struct kiocb *iocb, struct iov_iter *to) in auxdev_read_iter() argument
148 struct drm_dp_aux_dev *aux_dev = iocb->ki_filp->private_data; in auxdev_read_iter()
149 loff_t pos = iocb->ki_pos; in auxdev_read_iter()
179 if (pos != iocb->ki_pos) in auxdev_read_iter()
180 res = pos - iocb->ki_pos; in auxdev_read_iter()
181 iocb->ki_pos = pos; in auxdev_read_iter()
189 static ssize_t auxdev_write_iter(struct kiocb *iocb, struct iov_iter *from) in auxdev_write_iter() argument
191 struct drm_dp_aux_dev *aux_dev = iocb->ki_filp->private_data; in auxdev_write_iter()
192 loff_t pos = iocb->ki_pos; in auxdev_write_iter()
222 if (pos != iocb->ki_pos) in auxdev_write_iter()
[all …]
/linux-6.6.21/fs/9p/
Dvfs_file.c353 v9fs_file_read_iter(struct kiocb *iocb, struct iov_iter *to) in v9fs_file_read_iter() argument
355 struct p9_fid *fid = iocb->ki_filp->private_data; in v9fs_file_read_iter()
359 fid->fid, iov_iter_count(to), iocb->ki_pos); in v9fs_file_read_iter()
363 return generic_file_read_iter(iocb, to); in v9fs_file_read_iter()
366 if (iocb->ki_filp->f_flags & O_NONBLOCK) in v9fs_file_read_iter()
367 ret = p9_client_read_once(fid, iocb->ki_pos, to, &err); in v9fs_file_read_iter()
369 ret = p9_client_read(fid, iocb->ki_pos, to, &err); in v9fs_file_read_iter()
373 iocb->ki_pos += ret; in v9fs_file_read_iter()
406 v9fs_file_write_iter(struct kiocb *iocb, struct iov_iter *from) in v9fs_file_write_iter() argument
408 struct file *file = iocb->ki_filp; in v9fs_file_write_iter()
[all …]
/linux-6.6.21/fs/nfs/
Dfile.c157 nfs_file_read(struct kiocb *iocb, struct iov_iter *to) in nfs_file_read() argument
159 struct inode *inode = file_inode(iocb->ki_filp); in nfs_file_read()
162 if (iocb->ki_flags & IOCB_DIRECT) in nfs_file_read()
163 return nfs_file_direct_read(iocb, to, false); in nfs_file_read()
166 iocb->ki_filp, in nfs_file_read()
167 iov_iter_count(to), (unsigned long) iocb->ki_pos); in nfs_file_read()
170 result = nfs_revalidate_mapping(inode, iocb->ki_filp->f_mapping); in nfs_file_read()
172 result = generic_file_read_iter(iocb, to); in nfs_file_read()
637 ssize_t nfs_file_write(struct kiocb *iocb, struct iov_iter *from) in nfs_file_write() argument
639 struct file *file = iocb->ki_filp; in nfs_file_write()
[all …]
Ddirect.c140 int nfs_swap_rw(struct kiocb *iocb, struct iov_iter *iter) in nfs_swap_rw() argument
147 ret = nfs_file_direct_read(iocb, iter, true); in nfs_swap_rw()
149 ret = nfs_file_direct_write(iocb, iter, true); in nfs_swap_rw()
223 if (dreq->iocb) in nfs_direct_wait()
249 if (dreq->iocb) { in nfs_direct_complete()
255 dreq->iocb->ki_complete(dreq->iocb, res); in nfs_direct_complete()
417 ssize_t nfs_file_direct_read(struct kiocb *iocb, struct iov_iter *iter, in nfs_file_direct_read() argument
420 struct file *file = iocb->ki_filp; in nfs_file_direct_read()
430 file, count, (long long) iocb->ki_pos); in nfs_file_direct_read()
445 dreq->io_start = iocb->ki_pos; in nfs_file_direct_read()
[all …]
/linux-6.6.21/fs/gfs2/
Dfile.c778 struct kiocb *iocb, in should_fault_in_pages() argument
795 offs = offset_in_page(iocb->ki_pos); in should_fault_in_pages()
809 static ssize_t gfs2_file_direct_read(struct kiocb *iocb, struct iov_iter *to, in gfs2_file_direct_read() argument
812 struct file *file = iocb->ki_filp; in gfs2_file_direct_read()
845 ret = iomap_dio_rw(iocb, to, &gfs2_iomap_ops, NULL, in gfs2_file_direct_read()
855 if (should_fault_in_pages(to, iocb, &prev_count, &window_size)) { in gfs2_file_direct_read()
872 static ssize_t gfs2_file_direct_write(struct kiocb *iocb, struct iov_iter *from, in gfs2_file_direct_write() argument
875 struct file *file = iocb->ki_filp; in gfs2_file_direct_write()
907 if (iocb->ki_pos + iov_iter_count(from) > i_size_read(&ip->i_inode)) in gfs2_file_direct_write()
911 ret = iomap_dio_rw(iocb, from, &gfs2_iomap_ops, NULL, in gfs2_file_direct_write()
[all …]
/linux-6.6.21/drivers/nvme/target/
Dio-cmd-file.c79 struct kiocb *iocb = &req->f.iocb; in nvmet_file_submit_bvec() local
80 ssize_t (*call_iter)(struct kiocb *iocb, struct iov_iter *iter); in nvmet_file_submit_bvec()
96 iocb->ki_pos = pos; in nvmet_file_submit_bvec()
97 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()
100 return call_iter(iocb, &iter); in nvmet_file_submit_bvec()
103 static void nvmet_file_io_done(struct kiocb *iocb, long ret) in nvmet_file_io_done() argument
105 struct nvmet_req *req = container_of(iocb, struct nvmet_req, f.iocb); in nvmet_file_io_done()
140 memset(&req->f.iocb, 0, sizeof(struct kiocb)); in nvmet_file_execute_io()
178 req->f.iocb.ki_complete = nvmet_file_io_done; in nvmet_file_execute_io()
[all …]
/linux-6.6.21/fs/fuse/
Dfile.c691 struct inode *inode = file_inode(io->iocb->ki_filp); in fuse_aio_complete()
700 io->iocb->ki_complete(io->iocb, res); in fuse_aio_complete()
783 struct file *file = ia->io->iocb->ki_filp; in fuse_send_read()
1012 static ssize_t fuse_cache_read_iter(struct kiocb *iocb, struct iov_iter *to) in fuse_cache_read_iter() argument
1014 struct inode *inode = iocb->ki_filp->f_mapping->host; in fuse_cache_read_iter()
1023 (iocb->ki_pos + iov_iter_count(to) > i_size_read(inode))) { in fuse_cache_read_iter()
1025 err = fuse_update_attributes(inode, iocb->ki_filp, STATX_SIZE); in fuse_cache_read_iter()
1030 return generic_file_read_iter(iocb, to); in fuse_cache_read_iter()
1055 static unsigned int fuse_write_flags(struct kiocb *iocb) in fuse_write_flags() argument
1057 unsigned int flags = iocb->ki_filp->f_flags; in fuse_write_flags()
[all …]
/linux-6.6.21/drivers/scsi/qla2xxx/
Dqla_target.c106 int fn, void *iocb, int flags);
532 memcpy(e->u.nack.iocb, ntfy, sizeof(struct imm_ntfy_from_isp)); in qla24xx_post_nack_work()
679 (struct imm_ntfy_from_isp *)e->u.nack.iocb, e->u.nack.type); in qla24xx_do_nack_work()
778 struct imm_ntfy_from_isp *iocb) in qlt_plogi_ack_find_add() argument
789 pla->iocb.u.isp24.port_name); in qlt_plogi_ack_find_add()
790 qlt_send_term_imm_notif(vha, &pla->iocb, 1); in qlt_plogi_ack_find_add()
791 memcpy(&pla->iocb, iocb, sizeof(pla->iocb)); in qlt_plogi_ack_find_add()
804 memcpy(&pla->iocb, iocb, sizeof(pla->iocb)); in qlt_plogi_ack_find_add()
814 struct imm_ntfy_from_isp *iocb = &pla->iocb; in qlt_plogi_ack_unref() local
827 " exch %#x ox_id %#x\n", iocb->u.isp24.port_name, in qlt_plogi_ack_unref()
[all …]
/linux-6.6.21/fs/orangefs/
Dfile.c323 static ssize_t orangefs_file_read_iter(struct kiocb *iocb, in orangefs_file_read_iter() argument
329 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()
334 ret = generic_file_read_iter(iocb, iter); in orangefs_file_read_iter()
336 up_read(&file_inode(iocb->ki_filp)->i_rwsem); in orangefs_file_read_iter()
360 static ssize_t orangefs_file_write_iter(struct kiocb *iocb, in orangefs_file_write_iter() argument
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()
372 ret = generic_file_write_iter(iocb, iter); in orangefs_file_write_iter()

123456