ring_req          527 drivers/block/xen-blkfront.c 					    struct blkif_request **ring_req)
ring_req          531 drivers/block/xen-blkfront.c 	*ring_req = RING_GET_REQUEST(&rinfo->ring, rinfo->ring.req_prod_pvt);
ring_req          539 drivers/block/xen-blkfront.c 	(*ring_req)->u.rw.id = id;
ring_req          547 drivers/block/xen-blkfront.c 	struct blkif_request *ring_req;
ring_req          551 drivers/block/xen-blkfront.c 	id = blkif_ring_get_request(rinfo, req, &ring_req);
ring_req          553 drivers/block/xen-blkfront.c 	ring_req->operation = BLKIF_OP_DISCARD;
ring_req          554 drivers/block/xen-blkfront.c 	ring_req->u.discard.nr_sectors = blk_rq_sectors(req);
ring_req          555 drivers/block/xen-blkfront.c 	ring_req->u.discard.id = id;
ring_req          556 drivers/block/xen-blkfront.c 	ring_req->u.discard.sector_number = (blkif_sector_t)blk_rq_pos(req);
ring_req          558 drivers/block/xen-blkfront.c 		ring_req->u.discard.flag = BLKIF_DISCARD_SECURE;
ring_req          560 drivers/block/xen-blkfront.c 		ring_req->u.discard.flag = 0;
ring_req          563 drivers/block/xen-blkfront.c 	rinfo->shadow[id].req = *ring_req;
ring_req          572 drivers/block/xen-blkfront.c 	struct blkif_request *ring_req;
ring_req          593 drivers/block/xen-blkfront.c 	struct blkif_request *ring_req = setup->ring_req;
ring_req          610 drivers/block/xen-blkfront.c 		ring_req = setup->extra_ring_req;
ring_req          613 drivers/block/xen-blkfront.c 	if ((ring_req->operation == BLKIF_OP_INDIRECT) &&
ring_req          622 drivers/block/xen-blkfront.c 		ring_req->u.indirect.indirect_grefs[n] = gnt_list_entry->gref;
ring_req          656 drivers/block/xen-blkfront.c 	if (ring_req->operation != BLKIF_OP_INDIRECT) {
ring_req          657 drivers/block/xen-blkfront.c 		ring_req->u.rw.seg[grant_idx] =
ring_req          695 drivers/block/xen-blkfront.c 	struct blkif_request *ring_req, *extra_ring_req = NULL;
ring_req          740 drivers/block/xen-blkfront.c 	id = blkif_ring_get_request(rinfo, req, &ring_req);
ring_req          760 drivers/block/xen-blkfront.c 		ring_req->operation = BLKIF_OP_INDIRECT;
ring_req          761 drivers/block/xen-blkfront.c 		ring_req->u.indirect.indirect_op = rq_data_dir(req) ?
ring_req          763 drivers/block/xen-blkfront.c 		ring_req->u.indirect.sector_number = (blkif_sector_t)blk_rq_pos(req);
ring_req          764 drivers/block/xen-blkfront.c 		ring_req->u.indirect.handle = info->handle;
ring_req          765 drivers/block/xen-blkfront.c 		ring_req->u.indirect.nr_segments = num_grant;
ring_req          767 drivers/block/xen-blkfront.c 		ring_req->u.rw.sector_number = (blkif_sector_t)blk_rq_pos(req);
ring_req          768 drivers/block/xen-blkfront.c 		ring_req->u.rw.handle = info->handle;
ring_req          769 drivers/block/xen-blkfront.c 		ring_req->operation = rq_data_dir(req) ?
ring_req          780 drivers/block/xen-blkfront.c 				ring_req->operation =
ring_req          783 drivers/block/xen-blkfront.c 				ring_req->operation =
ring_req          786 drivers/block/xen-blkfront.c 				ring_req->operation = 0;
ring_req          788 drivers/block/xen-blkfront.c 		ring_req->u.rw.nr_segments = num_grant;
ring_req          798 drivers/block/xen-blkfront.c 			blkif_setup_extra_req(ring_req, extra_ring_req);
ring_req          806 drivers/block/xen-blkfront.c 	setup.ring_req = ring_req;
ring_req          834 drivers/block/xen-blkfront.c 	rinfo->shadow[id].req = *ring_req;
ring_req          182 drivers/scsi/xen-scsifront.c 	struct vscsiif_request *ring_req;
ring_req          197 drivers/scsi/xen-scsifront.c 	ring_req = RING_GET_REQUEST(&(info->ring), ring->req_prod_pvt);
ring_req          200 drivers/scsi/xen-scsifront.c 	ring_req->rqid        = id;
ring_req          201 drivers/scsi/xen-scsifront.c 	ring_req->act         = shadow->act;
ring_req          202 drivers/scsi/xen-scsifront.c 	ring_req->ref_rqid    = shadow->ref_rqid;
ring_req          203 drivers/scsi/xen-scsifront.c 	ring_req->nr_segments = shadow->nr_segments;
ring_req          205 drivers/scsi/xen-scsifront.c 	ring_req->id      = sc->device->id;
ring_req          206 drivers/scsi/xen-scsifront.c 	ring_req->lun     = sc->device->lun;
ring_req          207 drivers/scsi/xen-scsifront.c 	ring_req->channel = sc->device->channel;
ring_req          208 drivers/scsi/xen-scsifront.c 	ring_req->cmd_len = sc->cmd_len;
ring_req          212 drivers/scsi/xen-scsifront.c 	memcpy(ring_req->cmnd, sc->cmnd, sc->cmd_len);
ring_req          214 drivers/scsi/xen-scsifront.c 	ring_req->sc_data_direction   = (uint8_t)sc->sc_data_direction;
ring_req          215 drivers/scsi/xen-scsifront.c 	ring_req->timeout_per_command = sc->request->timeout / HZ;
ring_req          218 drivers/scsi/xen-scsifront.c 		ring_req->seg[i] = shadow->seg[i];
ring_req          472 drivers/xen/xen-scsiback.c static int scsiback_gnttab_data_map(struct vscsiif_request *ring_req,
ring_req          480 drivers/xen/xen-scsiback.c 	unsigned int nr_segments = (unsigned int)ring_req->nr_segments;
ring_req          495 drivers/xen/xen-scsiback.c 			ring_req->nr_segments);
ring_req          499 drivers/xen/xen-scsiback.c 	if (ring_req->nr_segments & VSCSIIF_SG_GRANT) {
ring_req          500 drivers/xen/xen-scsiback.c 		err = scsiback_gnttab_data_map_list(pending_req, ring_req->seg,
ring_req          508 drivers/xen/xen-scsiback.c 			n_segs = ring_req->seg[i].length /
ring_req          510 drivers/xen/xen-scsiback.c 			if ((unsigned)ring_req->seg[i].offset +
ring_req          511 drivers/xen/xen-scsiback.c 			    (unsigned)ring_req->seg[i].length > PAGE_SIZE ||
ring_req          513 drivers/xen/xen-scsiback.c 			    ring_req->seg[i].length)
ring_req          539 drivers/xen/xen-scsiback.c 		seg = ring_req->seg;
ring_req          547 drivers/xen/xen-scsiback.c 			      vaddr(pending_req, i) + ring_req->seg[i].offset);
ring_req          548 drivers/xen/xen-scsiback.c 			n_segs = ring_req->seg[i].length /
ring_req          557 drivers/xen/xen-scsiback.c 		end_seg = vaddr(pending_req, 0) + ring_req->seg[0].offset;
ring_req          559 drivers/xen/xen-scsiback.c 		end_seg += ring_req->seg[0].length;
ring_req          570 drivers/xen/xen-scsiback.c 				  ring_req->seg[i_seg].offset;
ring_req          572 drivers/xen/xen-scsiback.c 			end_seg += ring_req->seg[i_seg].length;
ring_req          678 drivers/xen/xen-scsiback.c 				struct vscsiif_request *ring_req)
ring_req          685 drivers/xen/xen-scsiback.c 	if ((ring_req->sc_data_direction != DMA_BIDIRECTIONAL) &&
ring_req          686 drivers/xen/xen-scsiback.c 		(ring_req->sc_data_direction != DMA_TO_DEVICE) &&
ring_req          687 drivers/xen/xen-scsiback.c 		(ring_req->sc_data_direction != DMA_FROM_DEVICE) &&
ring_req          688 drivers/xen/xen-scsiback.c 		(ring_req->sc_data_direction != DMA_NONE)) {
ring_req          690 drivers/xen/xen-scsiback.c 			ring_req->sc_data_direction);
ring_req          693 drivers/xen/xen-scsiback.c 	if (ring_req->cmd_len > VSCSIIF_MAX_COMMAND_SIZE) {
ring_req          695 drivers/xen/xen-scsiback.c 			ring_req->cmd_len);
ring_req          699 drivers/xen/xen-scsiback.c 	vir.chn = ring_req->channel;
ring_req          700 drivers/xen/xen-scsiback.c 	vir.tgt = ring_req->id;
ring_req          701 drivers/xen/xen-scsiback.c 	vir.lun = ring_req->lun;
ring_req          715 drivers/xen/xen-scsiback.c 	pending_req->rqid = ring_req->rqid;
ring_req          718 drivers/xen/xen-scsiback.c 	pending_req->sc_data_direction = ring_req->sc_data_direction;
ring_req          719 drivers/xen/xen-scsiback.c 	pending_req->cmd_len = ring_req->cmd_len;
ring_req          720 drivers/xen/xen-scsiback.c 	memcpy(pending_req->cmnd, ring_req->cmnd, pending_req->cmd_len);
ring_req          728 drivers/xen/xen-scsiback.c 	struct vscsiif_request ring_req;
ring_req          750 drivers/xen/xen-scsiback.c 		RING_COPY_REQUEST(ring, rc, &ring_req);
ring_req          753 drivers/xen/xen-scsiback.c 		pending_req = prepare_pending_reqs(info, ring, &ring_req);
ring_req          764 drivers/xen/xen-scsiback.c 					       ring_req.rqid);
ring_req          768 drivers/xen/xen-scsiback.c 		switch (ring_req.act) {
ring_req          770 drivers/xen/xen-scsiback.c 			if (scsiback_gnttab_data_map(&ring_req, pending_req)) {
ring_req          781 drivers/xen/xen-scsiback.c 				ring_req.ref_rqid);