Lines Matching refs:ring_req
185 struct vscsiif_request *ring_req; in scsifront_do_request() local
200 ring_req = RING_GET_REQUEST(&(info->ring), ring->req_prod_pvt); in scsifront_do_request()
203 ring_req->rqid = id; in scsifront_do_request()
204 ring_req->act = shadow->act; in scsifront_do_request()
205 ring_req->ref_rqid = shadow->ref_rqid; in scsifront_do_request()
206 ring_req->nr_segments = shadow->nr_segments; in scsifront_do_request()
208 ring_req->id = sc->device->id; in scsifront_do_request()
209 ring_req->lun = sc->device->lun; in scsifront_do_request()
210 ring_req->channel = sc->device->channel; in scsifront_do_request()
211 ring_req->cmd_len = sc->cmd_len; in scsifront_do_request()
215 memcpy(ring_req->cmnd, sc->cmnd, sc->cmd_len); in scsifront_do_request()
217 ring_req->sc_data_direction = (uint8_t)sc->sc_data_direction; in scsifront_do_request()
218 ring_req->timeout_per_command = scsi_cmd_to_rq(sc)->timeout / HZ; in scsifront_do_request()
221 ring_req->seg[i] = shadow->seg[i]; in scsifront_do_request()