Searched refs:ring_rsp (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/scsi/
H A Dxen-scsifront.c111 struct vscsiif_response ring_rsp; member in struct:vscsifrnt_info
225 struct vscsiif_response *ring_rsp) scsifront_cdb_cmd_done()
231 id = ring_rsp->rqid; scsifront_cdb_cmd_done()
239 sc->result = ring_rsp->rslt; scsifront_cdb_cmd_done()
240 scsi_set_resid(sc, ring_rsp->residual_len); scsifront_cdb_cmd_done()
243 ring_rsp->sense_len); scsifront_cdb_cmd_done()
246 memcpy(sc->sense_buffer, ring_rsp->sense_buffer, sense_len); scsifront_cdb_cmd_done()
252 struct vscsiif_response *ring_rsp) scsifront_sync_cmd_done()
254 uint16_t id = ring_rsp->rqid; scsifront_sync_cmd_done()
263 shadow->rslt_reset = ring_rsp->rslt; scsifront_sync_cmd_done()
284 struct vscsiif_response *ring_rsp) scsifront_do_response()
286 if (WARN(ring_rsp->rqid >= VSCSIIF_MAX_REQS || scsifront_do_response()
287 test_bit(ring_rsp->rqid, info->shadow_free_bitmap), scsifront_do_response()
288 "illegal rqid %u returned by backend!\n", ring_rsp->rqid)) scsifront_do_response()
291 if (info->shadow[ring_rsp->rqid]->act == VSCSIIF_ACT_SCSI_CDB) scsifront_do_response()
292 scsifront_cdb_cmd_done(info, ring_rsp); scsifront_do_response()
294 scsifront_sync_cmd_done(info, ring_rsp); scsifront_do_response()
299 struct vscsiif_response *ring_rsp; scsifront_ring_drain() local
306 ring_rsp = RING_GET_RESPONSE(&info->ring, i); scsifront_ring_drain()
307 scsifront_do_response(info, ring_rsp); scsifront_ring_drain()
224 scsifront_cdb_cmd_done(struct vscsifrnt_info *info, struct vscsiif_response *ring_rsp) scsifront_cdb_cmd_done() argument
251 scsifront_sync_cmd_done(struct vscsifrnt_info *info, struct vscsiif_response *ring_rsp) scsifront_sync_cmd_done() argument
283 scsifront_do_response(struct vscsifrnt_info *info, struct vscsiif_response *ring_rsp) scsifront_do_response() argument

Completed in 69 milliseconds