Lines Matching defs:iocb
21 * @iocb: The I/O control descriptor describing the read
24 * Perform an unbuffered I/O or direct I/O from the file in @iocb to the
29 static ssize_t netfs_unbuffered_read_iter_locked(struct kiocb *iocb, struct iov_iter *iter)
34 bool async = !is_sync_kiocb(iocb);
41 ret = kiocb_write_and_wait(iocb, orig_count);
44 file_accessed(iocb->ki_filp);
46 rreq = netfs_alloc_request(iocb->ki_filp->f_mapping, iocb->ki_filp,
47 iocb->ki_pos, orig_count,
82 rreq->iocb = iocb;
84 ret = netfs_begin_read(rreq, is_sync_kiocb(iocb));
89 iocb->ki_pos += rreq->transferred;
104 * @iocb: The I/O control descriptor describing the read
107 * Perform an unbuffered I/O or direct I/O from the file in @iocb to the
110 ssize_t netfs_unbuffered_read_iter(struct kiocb *iocb, struct iov_iter *iter)
112 struct inode *inode = file_inode(iocb->ki_filp);
120 ret = netfs_unbuffered_read_iter_locked(iocb, iter);