Searched refs:aiop (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/uts/common/os/ |
H A D | aio_subr.c | 190 aio_t *aiop; in aio_done() local 219 aiop = p->p_aio; in aio_done() 220 ASSERT(aiop != NULL); in aio_done() 222 mutex_enter(&aiop->aio_portq_mutex); in aio_done() 223 mutex_enter(&aiop->aio_mutex); in aio_done() 224 ASSERT(aiop->aio_pending > 0); in aio_done() 226 aiop->aio_pending--; in aio_done() 236 portevpend = --aiop->aio_portpendcnt; in aio_done() 237 aio_deq(&aiop->aio_portpending, reqp); in aio_done() 238 aio_enq(&aiop->aio_portq, reqp, 0); in aio_done() [all …]
|
H A D | aio.c | 101 aio_req_t *reqlist, aio_t *aiop, model_t model); 102 static int aio_reqlist_concat(aio_t *aiop, aio_req_t **reqlist, int max); 403 aio_t *aiop; in aionotify() local 405 aiop = curproc->p_aio; in aionotify() 406 if (aiop == NULL) in aionotify() 409 mutex_enter(&aiop->aio_mutex); in aionotify() 410 aiop->aio_notifycnt++; in aionotify() 411 cv_broadcast(&aiop->aio_waitcv); in aionotify() 412 mutex_exit(&aiop->aio_mutex); in aionotify() 527 aio_t *aiop; in aiowait() local [all …]
|
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xdf.c | 2924 xdf_aread(dev_t dev, struct aio_req *aiop, cred_t *credp) in xdf_aread() argument 2928 struct uio *uiop = aiop->aio_uio; in xdf_aread() 2950 return (aphysio(xdf_strategy, anocancel, dev, B_READ, xdfmin, aiop)); in xdf_aread() 2955 xdf_awrite(dev_t dev, struct aio_req *aiop, cred_t *credp) in xdf_awrite() argument 2959 struct uio *uiop = aiop->aio_uio; in xdf_awrite() 2981 return (aphysio(xdf_strategy, anocancel, dev, B_WRITE, xdfmin, aiop)); in xdf_awrite()
|