Lines Matching refs:next
76 aio_worker_t *__nextworker_rw; /* next worker in list of workers */
83 aio_worker_t *__nextworker_no; /* next worker in list of workers */
250 * The next open may re-use this file descriptor and the new file
694 aio_worker_t *next;
710 next = first;
712 _aio_cancel_work(next, fd, &canceled, &done);
713 } while ((next = next->work_forw) != first);
1709 * Add an AIO request onto the next work queue.
1710 * A circular list of workers is used to choose the next worker.
1724 * Try to acquire the next worker's work queue. If it is locked,
1919 aio_req_t *next;
1930 while ((next = *last) != NULL) {
1931 if (next == reqp) {
1932 *last = next->req_next;
1933 if (aiowp->work_next1 == next)
1934 aiowp->work_next1 = next->req_next;
1940 if (lastrp == next)
1941 lastrp = next->req_next;
1948 if (aiowp->work_head1 == next)
1961 if (aiowp->work_prev1 == next) {
1976 last = &next->req_next;
1977 lastrp = next;
2046 aio_req_t *next;
2051 while ((next = *prev) != NULL) {
2052 if (resultp == next->req_resultp) {
2056 prev = &next->req_link;
2072 aio_req_t *next = NULL;
2078 while ((next = *prev) != NULL) {
2079 if (resultp == next->req_resultp) {
2080 *prev = next->req_link;
2081 next->req_link = NULL;
2084 prev = &next->req_link;
2088 return (next);
2099 aio_req_t *next = NULL;
2105 while ((next = *prev) != NULL) {
2106 if (resultp == next->req_resultp)
2108 prev = &next->req_link;
2112 return (next);