Lines Matching refs:kiocb
214 struct kiocb *kiocb; member
823 bool kiocb_has_eventfd = io_data->kiocb->ki_flags & IOCB_EVENTFD; in ffs_user_copy_worker()
831 io_data->kiocb->ki_complete(io_data->kiocb, ret); in ffs_user_copy_worker()
1160 static int ffs_aio_cancel(struct kiocb *kiocb) in ffs_aio_cancel() argument
1162 struct ffs_io_data *io_data = kiocb->private; in ffs_aio_cancel()
1163 struct ffs_epfile *epfile = kiocb->ki_filp->private_data; in ffs_aio_cancel()
1179 static ssize_t ffs_epfile_write_iter(struct kiocb *kiocb, struct iov_iter *from) in ffs_epfile_write_iter() argument
1184 if (!is_sync_kiocb(kiocb)) { in ffs_epfile_write_iter()
1195 p->kiocb = kiocb; in ffs_epfile_write_iter()
1199 kiocb->private = p; in ffs_epfile_write_iter()
1202 kiocb_set_cancel_fn(kiocb, ffs_aio_cancel); in ffs_epfile_write_iter()
1204 res = ffs_epfile_io(kiocb->ki_filp, p); in ffs_epfile_write_iter()
1214 static ssize_t ffs_epfile_read_iter(struct kiocb *kiocb, struct iov_iter *to) in ffs_epfile_read_iter() argument
1219 if (!is_sync_kiocb(kiocb)) { in ffs_epfile_read_iter()
1230 p->kiocb = kiocb; in ffs_epfile_read_iter()
1243 kiocb->private = p; in ffs_epfile_read_iter()
1246 kiocb_set_cancel_fn(kiocb, ffs_aio_cancel); in ffs_epfile_read_iter()
1248 res = ffs_epfile_io(kiocb->ki_filp, p); in ffs_epfile_read_iter()