Home
last modified time | relevance | path

Searched refs:aiowp (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/lib/libc/port/aio/
H A Daio.c459 aio_worker_t *aiowp; in aiocancel() local
478 aiowp = reqp->req_worker; in aiocancel()
479 sig_mutex_lock(&aiowp->work_qlock1); in aiocancel()
480 (void) _aio_cancel_req(aiowp, reqp, &canceled, &done); in aiocancel()
481 sig_mutex_unlock(&aiowp->work_qlock1); in aiocancel()
765 _aio_cancel_work(aio_worker_t *aiowp, int fd, int *canceled, int *done) in _aio_cancel_work() argument
769 sig_mutex_lock(&aiowp->work_qlock1); in _aio_cancel_work()
773 reqp = aiowp->work_tail1; in _aio_cancel_work()
776 if (_aio_cancel_req(aiowp, reqp, canceled, done)) { in _aio_cancel_work()
782 reqp = aiowp->work_tail1; in _aio_cancel_work()
[all …]
H A Daio_alloc.c96 aio_worker_t *aiowp; in _aio_worker_alloc() local
103 if ((aiowp = worker_freelist) == NULL) { in _aio_worker_alloc()
113 for (i = 0, aiowp = worker_freelist; i < nelem; i++, aiowp++) in _aio_worker_alloc()
114 aiowp->work_forw = aiowp + 1; in _aio_worker_alloc()
115 worker_freelast = aiowp - 1; in _aio_worker_alloc()
117 aiowp = worker_freelist; in _aio_worker_alloc()
119 if ((worker_freelist = aiowp->work_forw) == NULL) in _aio_worker_alloc()
123 aiowp->work_forw = NULL; in _aio_worker_alloc()
124 (void) mutex_init(&aiowp->work_qlock1, USYNC_THREAD, NULL); in _aio_worker_alloc()
125 (void) cond_init(&aiowp->work_idle_cv, USYNC_THREAD, NULL); in _aio_worker_alloc()
[all …]
H A Dposix_aio.c749 __aio_fsync_bar(aiocb_t *aiocbp, aio_lio_t *head, aio_worker_t *aiowp, in __aio_fsync_bar() argument
754 aio_worker_t *next = aiowp; in __aio_fsync_bar()
863 aio_worker_t *aiowp; in aio_cancel() local
883 aiowp = reqp->req_worker; in aio_cancel()
884 sig_mutex_lock(&aiowp->work_qlock1); in aio_cancel()
885 (void) _aio_cancel_req(aiowp, reqp, &canceled, &done); in aio_cancel()
886 sig_mutex_unlock(&aiowp->work_qlock1); in aio_cancel()
1607 __aio_fsync_bar64(aiocb64_t *aiocbp, aio_lio_t *head, aio_worker_t *aiowp, in __aio_fsync_bar64() argument
1612 aio_worker_t *next = aiowp; in __aio_fsync_bar64()
1721 aio_worker_t *aiowp; in aio_cancel64() local
[all …]
/titanic_41/usr/src/lib/libc/port/threads/
H A Dsigaction.c186 aio_worker_t *aiowp = pthread_getspecific(_aio_key); in call_user_handler() local
188 if (sip != NULL && sip->si_code == SI_LWP && aiowp != NULL) in call_user_handler()
189 siglongjmp(aiowp->work_jmp_buf, 1); in call_user_handler()