Lines Matching refs:kiocb
216 struct kiocb *kiocb; member
826 bool kiocb_has_eventfd = io_data->kiocb->ki_flags & IOCB_EVENTFD; in ffs_user_copy_worker()
834 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()
1181 static ssize_t ffs_epfile_write_iter(struct kiocb *kiocb, struct iov_iter *from) in ffs_epfile_write_iter() argument
1188 if (!is_sync_kiocb(kiocb)) { in ffs_epfile_write_iter()
1199 p->kiocb = kiocb; in ffs_epfile_write_iter()
1203 kiocb->private = p; in ffs_epfile_write_iter()
1206 kiocb_set_cancel_fn(kiocb, ffs_aio_cancel); in ffs_epfile_write_iter()
1208 res = ffs_epfile_io(kiocb->ki_filp, p); in ffs_epfile_write_iter()
1218 static ssize_t ffs_epfile_read_iter(struct kiocb *kiocb, struct iov_iter *to) in ffs_epfile_read_iter() argument
1225 if (!is_sync_kiocb(kiocb)) { in ffs_epfile_read_iter()
1236 p->kiocb = kiocb; in ffs_epfile_read_iter()
1249 kiocb->private = p; in ffs_epfile_read_iter()
1252 kiocb_set_cancel_fn(kiocb, ffs_aio_cancel); in ffs_epfile_read_iter()
1254 res = ffs_epfile_io(kiocb->ki_filp, p); in ffs_epfile_read_iter()