Searched refs:pSRB (Results 1 – 1 of 1) sorted by relevance
208 struct trm_scsi_req_q *pSRB; in trm_srb_alloc() local211 pSRB = TAILQ_FIRST(&sc->freeSRB); in trm_srb_alloc()212 if (pSRB != NULL) in trm_srb_alloc()213 TAILQ_REMOVE(&sc->freeSRB, pSRB, link); in trm_srb_alloc()218 sc->sc_device.dv_xname, pSRB, TAILQ_FIRST(&sc->freeSRB)); in trm_srb_alloc()221 return pSRB; in trm_srb_alloc()233 trm_RewaitSRB(struct trm_softc *sc, struct trm_scsi_req_q *pSRB) in trm_RewaitSRB() argument239 if ((pSRB->SRBFlag & TRM_ON_WAITING_SRB) != 0) { in trm_RewaitSRB()240 pSRB->SRBFlag &= ~TRM_ON_WAITING_SRB; in trm_RewaitSRB()241 TAILQ_REMOVE(&sc->waitingSRB, pSRB, link); in trm_RewaitSRB()[all …]