Searched refs:ioccb (Results 1 – 2 of 2) sorted by relevance
/titanic_50/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_intr.c | 164 pmcs_process_io_completion(pmcs_hw_t *pwp, pmcs_iocomp_cb_t *ioccb, size_t amt) in pmcs_process_io_completion() argument 168 uint32_t htag = LE_32(((uint32_t *)((void *)ioccb->iomb))[1]); in pmcs_process_io_completion() 172 pmcs_work_not_found(pwp, htag, (void *)&ioccb->iomb); in pmcs_process_io_completion() 173 kmem_cache_free(pwp->iocomp_cb_cache, ioccb); in pmcs_process_io_completion() 196 (void) memcpy(pwrk->arg, ioccb->iomb, amt); in pmcs_process_io_completion() 200 kmem_cache_free(pwp->iocomp_cb_cache, ioccb); in pmcs_process_io_completion() 210 ioccb->pwrk = pwrk; in pmcs_process_io_completion() 222 pwp->iocomp_cb_tail->next = ioccb; in pmcs_process_io_completion() 223 pwp->iocomp_cb_tail = ioccb; in pmcs_process_io_completion() 225 pwp->iocomp_cb_head = ioccb; in pmcs_process_io_completion() [all …]
|
H A D | pmcs_scsa.c | 1753 pmcs_iocomp_cb_t *ioccb, *ioccb_next; in pmcs_scsa_cq_run() local 1764 ioccb = pwp->iocomp_cb_head; in pmcs_scsa_cq_run() 1769 while (ioccb) { in pmcs_scsa_cq_run() 1774 mutex_enter(&ioccb->pwrk->lock); in pmcs_scsa_cq_run() 1775 ioccb_next = ioccb->next; in pmcs_scsa_cq_run() 1776 callback = (pmcs_cb_t)ioccb->pwrk->ptr; in pmcs_scsa_cq_run() 1777 (*callback)(pwp, ioccb->pwrk, in pmcs_scsa_cq_run() 1778 (uint32_t *)((void *)ioccb->iomb)); in pmcs_scsa_cq_run() 1779 kmem_cache_free(pwp->iocomp_cb_cache, ioccb); in pmcs_scsa_cq_run() 1780 ioccb = ioccb_next; in pmcs_scsa_cq_run()
|