• Home
  • Raw
  • Download

Lines Matching refs:done

242 	bool				done;  member
254 struct completion done; member
2505 struct list_head *done) in io_iopoll_complete() argument
2514 while (!list_empty(done)) { in io_iopoll_complete()
2518 req = list_first_entry(done, struct io_kiocb, inflight_entry); in io_iopoll_complete()
2553 LIST_HEAD(done); in io_do_iopoll()
2572 list_move_tail(&req->inflight_entry, &done); in io_do_iopoll()
2575 if (!list_empty(&done)) in io_do_iopoll()
2586 list_move_tail(&req->inflight_entry, &done); in io_do_iopoll()
2589 if (!list_empty(&done)) in io_do_iopoll()
2590 io_iopoll_complete(ctx, nr_events, &done); in io_do_iopoll()
3658 goto done; in io_read()
3661 goto done; in io_read()
3668 goto done; in io_read()
3725 done: in io_read()
3821 goto done; in io_write()
3826 done: in io_write()
4169 goto done; in io_tee()
4177 done: in io_tee()
4209 goto done; in io_splice()
4220 done: in io_splice()
6577 goto done; in io_async_cancel()
6590 done: in io_async_cancel()
7975 node->done = true; in io_rsrc_node_ref_zero()
7985 if (!node->done) in io_rsrc_node_ref_zero()
8011 ref_node->done = false; in io_rsrc_node_alloc()
8068 ret = wait_for_completion_interruptible(&data->done); in io_rsrc_ref_quiesce()
8085 reinit_completion(&data->done); in io_rsrc_ref_quiesce()
8144 init_completion(&data->done); in io_rsrc_data_alloc()
8530 complete(&rsrc_data->done); in __io_rsrc_put_work()
8748 unsigned int done; in __io_sqe_files_update() local
8756 for (done = 0; done < nr_args; done++) { in __io_sqe_files_update()
8759 if ((tags && copy_from_user(&tag, &tags[done], sizeof(tag))) || in __io_sqe_files_update()
8760 copy_from_user(&fd, &fds[done], sizeof(fd))) { in __io_sqe_files_update()
8771 i = array_index_nospec(up->offset + done, ctx->nr_user_files); in __io_sqe_files_update()
8808 return done ? done : err; in __io_sqe_files_update()
9249 goto done; in io_sqe_buffer_register()
9254 goto done; in io_sqe_buffer_register()
9258 goto done; in io_sqe_buffer_register()
9291 goto done; in io_sqe_buffer_register()
9297 goto done; in io_sqe_buffer_register()
9318 done: in io_sqe_buffer_register()
9416 __u32 done; in __io_sqe_buffers_update() local
9424 for (done = 0; done < nr_args; done++) { in __io_sqe_buffers_update()
9426 int offset = up->offset + done; in __io_sqe_buffers_update()
9429 err = io_copy_iov(ctx, &iov, iovs, done); in __io_sqe_buffers_update()
9432 if (tags && copy_from_user(&tag, &tags[done], sizeof(tag))) { in __io_sqe_buffers_update()
9465 return done ? done : err; in __io_sqe_buffers_update()
9539 wait_for_completion(&data->done); in io_wait_rsrc_data()