Lines Matching defs:iocb
591 void kiocb_set_cancel_fn(struct kiocb *iocb, kiocb_cancel_fn *cancel) in kiocb_set_cancel_fn()
1106 static inline void iocb_destroy(struct aio_kiocb *iocb) in iocb_destroy()
1119 static void aio_complete(struct aio_kiocb *iocb) in aio_complete()
1190 static inline void iocb_put(struct aio_kiocb *iocb) in iocb_put()
1437 static void aio_remove_iocb(struct aio_kiocb *iocb) in aio_remove_iocb()
1449 struct aio_kiocb *iocb = container_of(kiocb, struct aio_kiocb, rw); in aio_complete_rw() local
1466 static int aio_prep_rw(struct kiocb *req, const struct iocb *iocb) in aio_prep_rw()
1500 static ssize_t aio_setup_rw(int rw, const struct iocb *iocb, in aio_setup_rw()
1536 static int aio_read(struct kiocb *req, const struct iocb *iocb, in aio_read()
1563 static int aio_write(struct kiocb *req, const struct iocb *iocb, in aio_write()
1597 struct aio_kiocb *iocb = container_of(work, struct aio_kiocb, fsync.work); in aio_fsync_work() local
1606 static int aio_fsync(struct fsync_iocb *req, const struct iocb *iocb, in aio_fsync()
1629 struct aio_kiocb *iocb = container_of(req, struct aio_kiocb, poll); in aio_poll_put_work() local
1682 struct aio_kiocb *iocb = container_of(req, struct aio_kiocb, poll); in aio_poll_complete_work() local
1725 static int aio_poll_cancel(struct kiocb *iocb) in aio_poll_cancel()
1746 struct aio_kiocb *iocb = container_of(req, struct aio_kiocb, poll); in aio_poll_wake() local
1826 struct aio_kiocb *iocb; member
1849 static int aio_poll(struct aio_kiocb *aiocb, const struct iocb *iocb) in aio_poll()
1924 static int __io_submit_one(struct kioctx *ctx, const struct iocb *iocb, in __io_submit_one()
1982 struct iocb iocb; in io_submit_one() local
2131 SYSCALL_DEFINE3(io_cancel, aio_context_t, ctx_id, struct iocb __user *, iocb, in SYSCALL_DEFINE3() argument