Lines Matching defs:done
35 * from data shared between the kernel and application. This is done both
242 bool done;
254 struct completion done;
801 /* request has already done partial IO */
1978 * handlers and io_issue_sqe() are done with it, e.g. inline completion path.
2250 /* task_work already pending, we're done */
2502 struct list_head *done)
2511 while (!list_empty(done)) {
2515 req = list_first_entry(done, struct io_kiocb, inflight_entry);
2550 LIST_HEAD(done);
2569 list_move_tail(&req->inflight_entry, &done);
2572 if (!list_empty(&done))
2583 list_move_tail(&req->inflight_entry, &done);
2586 if (!list_empty(&done))
2587 io_iopoll_complete(ctx, nr_events, &done);
2741 * Trigger the notifications after having done some IO, and finish the write
2779 /* add previously done IO, if any */
2846 * find it from a io_do_iopoll() thread before the issuer is done
2913 * any file. For now, just ensure that anything potentially problematic is done
3653 goto done;
3656 goto done;
3663 goto done;
3720 done:
3816 goto done;
3821 done:
4021 goto done;
4029 done:
4061 goto done;
4072 done:
5475 * either spurious wakeup or multishot CQE is served. 0 when it's done with
5739 * Take the ownership to delay any tw execution up until we're done
6042 /* complete update request, we're done with it */
6430 goto done;
6443 done:
7309 * Batched submission is done, ensure local IO is flushed out.
7339 * Ensure any loads from the SQEs are done at this point,
7351 * used, it's important that those reads are done through READ_ONCE() to
7799 node->done = true;
7809 if (!node->done)
7835 ref_node->done = false;
7892 ret = wait_for_completion_interruptible(&data->done);
7907 /* wait for all works potentially completing data->done */
7909 reinit_completion(&data->done);
7968 init_completion(&data->done);
8354 complete(&rsrc_data->done);
8572 unsigned int done;
8580 for (done = 0; done < nr_args; done++) {
8583 if ((tags && copy_from_user(&tag, &tags[done], sizeof(tag))) ||
8584 copy_from_user(&fd, &fds[done], sizeof(fd))) {
8595 i = array_index_nospec(up->offset + done, ctx->nr_user_files);
8632 return done ? done : err;
9073 goto done;
9078 goto done;
9082 goto done;
9115 goto done;
9121 goto done;
9142 done:
9240 __u32 done;
9248 for (done = 0; done < nr_args; done++) {
9250 int offset = up->offset + done;
9253 err = io_copy_iov(ctx, &iov, iovs, done);
9256 if (tags && copy_from_user(&tag, &tags[done], sizeof(tag))) {
9289 return done ? done : err;
9363 wait_for_completion(&data->done);
9865 * Find any io_uring ctx that this task has registered or done IO on, and cancel