Searched refs:aiowp (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/lib/libc/port/aio/ |
H A D | aio.c | 457 aio_worker_t *aiowp; in aiocancel() local 476 aiowp = reqp->req_worker; in aiocancel() 477 sig_mutex_lock(&aiowp->work_qlock1); in aiocancel() 478 (void) _aio_cancel_req(aiowp, reqp, &canceled, &done); in aiocancel() 479 sig_mutex_unlock(&aiowp->work_qlock1); in aiocancel() 762 _aio_cancel_work(aio_worker_t *aiowp, int fd, int *canceled, int *done) in _aio_cancel_work() argument 766 sig_mutex_lock(&aiowp->work_qlock1); in _aio_cancel_work() 770 reqp = aiowp->work_tail1; in _aio_cancel_work() 773 if (_aio_cancel_req(aiowp, reqp, canceled, done)) { in _aio_cancel_work() 779 reqp = aiowp->work_tail1; in _aio_cancel_work() [all …]
|
H A D | aio_alloc.c | 94 aio_worker_t *aiowp; in _aio_worker_alloc() local 101 if ((aiowp = worker_freelist) == NULL) { in _aio_worker_alloc() 111 for (i = 0, aiowp = worker_freelist; i < nelem; i++, aiowp++) in _aio_worker_alloc() 112 aiowp->work_forw = aiowp + 1; in _aio_worker_alloc() 113 worker_freelast = aiowp - 1; in _aio_worker_alloc() 115 aiowp = worker_freelist; in _aio_worker_alloc() 117 if ((worker_freelist = aiowp->work_forw) == NULL) in _aio_worker_alloc() 121 aiowp->work_forw = NULL; in _aio_worker_alloc() 122 (void) mutex_init(&aiowp->work_qlock1, USYNC_THREAD, NULL); in _aio_worker_alloc() 123 (void) cond_init(&aiowp->work_idle_cv, USYNC_THREAD, NULL); in _aio_worker_alloc() [all …]
|
H A D | posix_aio.c | 748 __aio_fsync_bar(aiocb_t *aiocbp, aio_lio_t *head, aio_worker_t *aiowp, in __aio_fsync_bar() argument 753 aio_worker_t *next = aiowp; in __aio_fsync_bar() 862 aio_worker_t *aiowp; in aio_cancel() local 882 aiowp = reqp->req_worker; in aio_cancel() 883 sig_mutex_lock(&aiowp->work_qlock1); in aio_cancel() 884 (void) _aio_cancel_req(aiowp, reqp, &canceled, &done); in aio_cancel() 885 sig_mutex_unlock(&aiowp->work_qlock1); in aio_cancel() 1605 __aio_fsync_bar64(aiocb64_t *aiocbp, aio_lio_t *head, aio_worker_t *aiowp, in __aio_fsync_bar64() argument 1610 aio_worker_t *next = aiowp; in __aio_fsync_bar64() 1719 aio_worker_t *aiowp; in aio_cancel64() local [all …]
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | sigaction.c | 190 aio_worker_t *aiowp = pthread_getspecific(_aio_key); in call_user_handler() local 192 if (sip != NULL && sip->si_code == SI_LWP && aiowp != NULL) in call_user_handler() 193 siglongjmp(aiowp->work_jmp_buf, 1); in call_user_handler()
|