Lines Matching refs:ring_rsp
117 struct vscsiif_response ring_rsp; member
300 struct vscsiif_response *ring_rsp) in scsifront_cdb_cmd_done() argument
307 id = ring_rsp->rqid; in scsifront_cdb_cmd_done()
318 set_host_byte(sc, scsifront_host_byte(ring_rsp->rslt)); in scsifront_cdb_cmd_done()
319 set_status_byte(sc, XEN_VSCSIIF_RSLT_STATUS(ring_rsp->rslt)); in scsifront_cdb_cmd_done()
320 scsi_set_resid(sc, ring_rsp->residual_len); in scsifront_cdb_cmd_done()
323 ring_rsp->sense_len); in scsifront_cdb_cmd_done()
326 memcpy(sc->sense_buffer, ring_rsp->sense_buffer, sense_len); in scsifront_cdb_cmd_done()
332 struct vscsiif_response *ring_rsp) in scsifront_sync_cmd_done() argument
334 uint16_t id = ring_rsp->rqid; in scsifront_sync_cmd_done()
343 if (ring_rsp->rslt == XEN_VSCSIIF_RSLT_RESET_SUCCESS) in scsifront_sync_cmd_done()
365 struct vscsiif_response *ring_rsp) in scsifront_do_response() argument
369 if (ring_rsp->rqid >= VSCSIIF_MAX_REQS || in scsifront_do_response()
370 !info->shadow[ring_rsp->rqid]->inflight) { in scsifront_do_response()
374 shadow = info->shadow[ring_rsp->rqid]; in scsifront_do_response()
378 scsifront_cdb_cmd_done(info, ring_rsp); in scsifront_do_response()
380 scsifront_sync_cmd_done(info, ring_rsp); in scsifront_do_response()
386 struct vscsiif_response ring_rsp; in scsifront_ring_drain() local
397 RING_COPY_RESPONSE(&info->ring, i, &ring_rsp); in scsifront_ring_drain()
398 scsifront_do_response(info, &ring_rsp); in scsifront_ring_drain()