Lines Matching defs:done

86 aio_req_t *_aio_done_tail;		/* list of done requests */
101 aio_req_t *_aio_doneq; /* double linked done queue list */
108 int _aio_req_done_cnt = 0; /* req. done but not in "done queue" */
461 int done = 0;
480 (void) _aio_cancel_req(aiowp, reqp, &canceled, &done);
696 int done = 0;
712 _aio_cancel_work(next, fd, &canceled, &done);
716 * finally, check if there are requests on the done queue that
749 if (canceled && done == 0)
751 else if (done && canceled == 0)
753 else if ((canceled + done == 0) && KAIO_SUPPORTED(fd))
765 _aio_cancel_work(aio_worker_t *aiowp, int fd, int *canceled, int *done)
776 if (_aio_cancel_req(aiowp, reqp, canceled, done)) {
794 (void) _aio_cancel_req(aiowp, reqp, canceled, done);
803 _aio_cancel_req(aio_worker_t *aiowp, aio_req_t *reqp, int *canceled, int *done)
815 * If not on the done queue yet, just mark it CANCELED,
819 * is not yet on done queue but has been marked done.
829 (*done)++;
968 * The cancellation of a request is being done asynchronously using
971 * a) request is queued but not "in progress" or "done" (AIO_REQ_QUEUED):
982 * is just done), then it must disable a possible cancellation
985 * c) request is already done (AIO_REQ_DONE || AIO_REQ_DONEQ):
1055 * to be done as part of the main loop to ensure that
1230 * added to done list. Just free it.
1497 * We already put the request on the done queue,
1587 * done queue. The application is only sent a SIGIO signal if
1609 * Request got cancelled after it was marked done. This can
1611 * and drops all locks. Don't add the request to the done
1649 * The done queue consists of AIO requests that are in either the
1651 * are discarded. If the done queue is empty then NULL is returned.
1652 * Otherwise the address of a done aio_result_t is returned.
1870 * to eventually be placed on the done queue.
2008 /* request in done queue */