rqi               110 drivers/scsi/snic/snic.h 	(((struct snic_internal_io_state *)scsi_cmd_priv(Cmnd))->rqi)
rqi               108 drivers/scsi/snic/snic_ctl.c 	struct snic_req_info *rqi = NULL;
rqi               115 drivers/scsi/snic/snic_ctl.c 	rqi = snic_req_init(snic, 0);
rqi               116 drivers/scsi/snic/snic_ctl.c 	if (!rqi) {
rqi               125 drivers/scsi/snic/snic_ctl.c 	req = rqi_to_req(rqi);
rqi               129 drivers/scsi/snic/snic_ctl.c 			snic->config.hid, 0, (ulong)rqi);
rqi               134 drivers/scsi/snic/snic_ctl.c 	snic_handle_untagged_req(snic, rqi);
rqi               138 drivers/scsi/snic/snic_ctl.c 		snic_release_untagged_req(snic, rqi);
rqi               157 drivers/scsi/snic/snic_ctl.c 	struct snic_req_info *rqi = NULL;
rqi               168 drivers/scsi/snic/snic_ctl.c 	rqi = (struct snic_req_info *) ctx;
rqi               224 drivers/scsi/snic/snic_ctl.c 	snic_release_untagged_req(snic, rqi);
rqi                82 drivers/scsi/snic/snic_disc.c 	struct snic_req_info *rqi = NULL;
rqi                88 drivers/scsi/snic/snic_disc.c 	rqi = snic_req_init(snic, 1);
rqi                89 drivers/scsi/snic/snic_disc.c 	if (!rqi) {
rqi               105 drivers/scsi/snic/snic_disc.c 		snic_req_free(snic, rqi);
rqi               120 drivers/scsi/snic/snic_disc.c 		snic_req_free(snic, rqi);
rqi               128 drivers/scsi/snic/snic_disc.c 	rqi->sge_va = (ulong) buf;
rqi               130 drivers/scsi/snic/snic_disc.c 	snic_report_tgt_init(rqi->req,
rqi               135 drivers/scsi/snic/snic_disc.c 			     (ulong)rqi);
rqi               137 drivers/scsi/snic/snic_disc.c 	snic_handle_untagged_req(snic, rqi);
rqi               139 drivers/scsi/snic/snic_disc.c 	ret = snic_queue_wq_desc(snic, rqi->req, rqi->req_len);
rqi               144 drivers/scsi/snic/snic_disc.c 		rqi->sge_va = 0;
rqi               145 drivers/scsi/snic/snic_disc.c 		snic_release_untagged_req(snic, rqi);
rqi               401 drivers/scsi/snic/snic_disc.c 	struct snic_req_info *rqi = NULL;
rqi               406 drivers/scsi/snic/snic_disc.c 	rqi = (struct snic_req_info *) ctx;
rqi               407 drivers/scsi/snic/snic_disc.c 	tgtid = (struct snic_tgt_id *) rqi->sge_va;
rqi               438 drivers/scsi/snic/snic_disc.c 	snic_pci_unmap_rsp_buf(snic, rqi);
rqi               442 drivers/scsi/snic/snic_disc.c 	rqi->sge_va = 0;
rqi               443 drivers/scsi/snic/snic_disc.c 	snic_release_untagged_req(snic, rqi);
rqi               102 drivers/scsi/snic/snic_io.c 	struct snic_req_info *rqi = NULL;
rqi               108 drivers/scsi/snic/snic_io.c 	rqi = req_to_rqi(req);
rqi               110 drivers/scsi/snic/snic_io.c 	if (list_empty(&rqi->list)) {
rqi               115 drivers/scsi/snic/snic_io.c 	SNIC_BUG_ON(rqi->list.next == NULL); /* if not added to spl_cmd_list */
rqi               116 drivers/scsi/snic/snic_io.c 	list_del_init(&rqi->list);
rqi               119 drivers/scsi/snic/snic_io.c 	if (rqi->sge_va) {
rqi               120 drivers/scsi/snic/snic_io.c 		snic_pci_unmap_rsp_buf(snic, rqi);
rqi               121 drivers/scsi/snic/snic_io.c 		kfree((void *)rqi->sge_va);
rqi               122 drivers/scsi/snic/snic_io.c 		rqi->sge_va = 0;
rqi               124 drivers/scsi/snic/snic_io.c 	snic_req_free(snic, rqi);
rqi               218 drivers/scsi/snic/snic_io.c snic_handle_untagged_req(struct snic *snic, struct snic_req_info *rqi)
rqi               222 drivers/scsi/snic/snic_io.c 	INIT_LIST_HEAD(&rqi->list);
rqi               225 drivers/scsi/snic/snic_io.c 	list_add_tail(&rqi->list, &snic->spl_cmd_list);
rqi               237 drivers/scsi/snic/snic_io.c 	struct snic_req_info *rqi = NULL;
rqi               242 drivers/scsi/snic/snic_io.c 	rqi = mempool_alloc(snic->req_pool[typ], GFP_ATOMIC);
rqi               243 drivers/scsi/snic/snic_io.c 	if (!rqi) {
rqi               248 drivers/scsi/snic/snic_io.c 		return rqi;
rqi               251 drivers/scsi/snic/snic_io.c 	memset(rqi, 0, sizeof(*rqi));
rqi               252 drivers/scsi/snic/snic_io.c 	rqi->rq_pool_type = typ;
rqi               253 drivers/scsi/snic/snic_io.c 	rqi->start_time = jiffies;
rqi               254 drivers/scsi/snic/snic_io.c 	rqi->req = (struct snic_host_req *) (rqi + 1);
rqi               255 drivers/scsi/snic/snic_io.c 	rqi->req_len = sizeof(struct snic_host_req);
rqi               256 drivers/scsi/snic/snic_io.c 	rqi->snic = snic;
rqi               258 drivers/scsi/snic/snic_io.c 	rqi->req = (struct snic_host_req *)(rqi + 1);
rqi               263 drivers/scsi/snic/snic_io.c 	rqi->req_len += (sg_cnt * sizeof(struct snic_sg_desc));
rqi               272 drivers/scsi/snic/snic_io.c 	memset(rqi->req, 0, rqi->req_len);
rqi               275 drivers/scsi/snic/snic_io.c 	rqi->req->hdr.init_ctx = (ulong) rqi;
rqi               277 drivers/scsi/snic/snic_io.c 	SNIC_SCSI_DBG(snic->shost, "Req_alloc:rqi = %p allocatd.\n", rqi);
rqi               279 drivers/scsi/snic/snic_io.c 	return rqi;
rqi               286 drivers/scsi/snic/snic_io.c snic_abort_req_init(struct snic *snic, struct snic_req_info *rqi)
rqi               290 drivers/scsi/snic/snic_io.c 	SNIC_BUG_ON(!rqi);
rqi               293 drivers/scsi/snic/snic_io.c 	if (rqi->abort_req)
rqi               294 drivers/scsi/snic/snic_io.c 		return rqi->abort_req;
rqi               305 drivers/scsi/snic/snic_io.c 	rqi->abort_req = req;
rqi               308 drivers/scsi/snic/snic_io.c 	req->hdr.init_ctx = (ulong) rqi;
rqi               317 drivers/scsi/snic/snic_io.c snic_dr_req_init(struct snic *snic, struct snic_req_info *rqi)
rqi               321 drivers/scsi/snic/snic_io.c 	SNIC_BUG_ON(!rqi);
rqi               331 drivers/scsi/snic/snic_io.c 	SNIC_BUG_ON(rqi->dr_req != NULL);
rqi               332 drivers/scsi/snic/snic_io.c 	rqi->dr_req = req;
rqi               335 drivers/scsi/snic/snic_io.c 	req->hdr.init_ctx = (ulong) rqi;
rqi               342 drivers/scsi/snic/snic_io.c snic_req_free(struct snic *snic, struct snic_req_info *rqi)
rqi               344 drivers/scsi/snic/snic_io.c 	SNIC_BUG_ON(rqi->req == rqi->abort_req);
rqi               345 drivers/scsi/snic/snic_io.c 	SNIC_BUG_ON(rqi->req == rqi->dr_req);
rqi               346 drivers/scsi/snic/snic_io.c 	SNIC_BUG_ON(rqi->sge_va != 0);
rqi               350 drivers/scsi/snic/snic_io.c 		      rqi, rqi->req, rqi->abort_req, rqi->dr_req);
rqi               352 drivers/scsi/snic/snic_io.c 	if (rqi->abort_req) {
rqi               353 drivers/scsi/snic/snic_io.c 		if (rqi->abort_req->req_pa)
rqi               355 drivers/scsi/snic/snic_io.c 					 rqi->abort_req->req_pa,
rqi               359 drivers/scsi/snic/snic_io.c 		mempool_free(rqi->abort_req, snic->req_pool[SNIC_REQ_TM_CACHE]);
rqi               362 drivers/scsi/snic/snic_io.c 	if (rqi->dr_req) {
rqi               363 drivers/scsi/snic/snic_io.c 		if (rqi->dr_req->req_pa)
rqi               365 drivers/scsi/snic/snic_io.c 					 rqi->dr_req->req_pa,
rqi               369 drivers/scsi/snic/snic_io.c 		mempool_free(rqi->dr_req, snic->req_pool[SNIC_REQ_TM_CACHE]);
rqi               372 drivers/scsi/snic/snic_io.c 	if (rqi->req->req_pa)
rqi               374 drivers/scsi/snic/snic_io.c 				 rqi->req->req_pa,
rqi               375 drivers/scsi/snic/snic_io.c 				 rqi->req_len,
rqi               378 drivers/scsi/snic/snic_io.c 	mempool_free(rqi, snic->req_pool[rqi->rq_pool_type]);
rqi               382 drivers/scsi/snic/snic_io.c snic_pci_unmap_rsp_buf(struct snic *snic, struct snic_req_info *rqi)
rqi               386 drivers/scsi/snic/snic_io.c 	sgd = req_to_sgl(rqi_to_req(rqi));
rqi               400 drivers/scsi/snic/snic_io.c 	struct snic_req_info *rqi;
rqi               406 drivers/scsi/snic/snic_io.c 		rqi = list_entry(cur, struct snic_req_info, list);
rqi               407 drivers/scsi/snic/snic_io.c 		list_del_init(&rqi->list);
rqi               408 drivers/scsi/snic/snic_io.c 		if (rqi->sge_va) {
rqi               409 drivers/scsi/snic/snic_io.c 			snic_pci_unmap_rsp_buf(snic, rqi);
rqi               410 drivers/scsi/snic/snic_io.c 			kfree((void *)rqi->sge_va);
rqi               411 drivers/scsi/snic/snic_io.c 			rqi->sge_va = 0;
rqi               414 drivers/scsi/snic/snic_io.c 		snic_req_free(snic, rqi);
rqi               423 drivers/scsi/snic/snic_io.c snic_release_untagged_req(struct snic *snic, struct snic_req_info *rqi)
rqi               435 drivers/scsi/snic/snic_io.c 	if (list_empty(&rqi->list)) {
rqi               439 drivers/scsi/snic/snic_io.c 	list_del_init(&rqi->list);
rqi               441 drivers/scsi/snic/snic_io.c 	snic_req_free(snic, rqi);
rqi               461 drivers/scsi/snic/snic_io.c 	struct snic_req_info *rqi = NULL;
rqi               466 drivers/scsi/snic/snic_io.c 		rqi = (struct snic_req_info *) fwreq->hdr.init_ctx;
rqi               468 drivers/scsi/snic/snic_io.c 		rqi = (struct snic_req_info *) req->hdr.init_ctx;
rqi               470 drivers/scsi/snic/snic_io.c 	SNIC_BUG_ON(rqi == NULL || rqi->req == NULL);
rqi               510 drivers/scsi/snic/snic_io.c 			 rqi->req->u.icmnd.cdb[0]);
rqi               561 drivers/scsi/snic/snic_io.c snic_calc_io_process_time(struct snic *snic, struct snic_req_info *rqi)
rqi               565 drivers/scsi/snic/snic_io.c 	duration = jiffies - rqi->start_time;
rqi                50 drivers/scsi/snic/snic_io.h 	char	*rqi;
rqi               100 drivers/scsi/snic/snic_io.h #define rqi_to_req(rqi)	\
rqi               101 drivers/scsi/snic/snic_io.h 	((struct snic_host_req *) (((struct snic_req_info *)rqi)->req))
rqi               128 drivers/scsi/snic/snic_scsi.c 		   struct snic_req_info *rqi,
rqi               131 drivers/scsi/snic/snic_scsi.c 	struct snic_host_req *req = rqi_to_req(rqi);
rqi               144 drivers/scsi/snic/snic_scsi.c 		      sc, snic_cmd_tag(sc), rqi, rqi->req, rqi->abort_req,
rqi               145 drivers/scsi/snic/snic_scsi.c 		      rqi->dr_req, snic_ioreq_state_to_str(CMD_STATE(sc)),
rqi               156 drivers/scsi/snic/snic_scsi.c 	snic_req_free(snic, rqi);
rqi               164 drivers/scsi/snic/snic_scsi.c 		     struct snic_req_info *rqi,
rqi               178 drivers/scsi/snic/snic_scsi.c 		sgd = (struct snic_sg_desc *) req_to_sgl(rqi->req);
rqi               208 drivers/scsi/snic/snic_scsi.c 	snic_icmnd_init(rqi->req,
rqi               211 drivers/scsi/snic/snic_scsi.c 			(ulong) rqi,
rqi               213 drivers/scsi/snic/snic_scsi.c 			rqi->tgt_id,
rqi               219 drivers/scsi/snic/snic_scsi.c 			(ulong) req_to_sgl(rqi->req),
rqi               224 drivers/scsi/snic/snic_scsi.c 	ret = snic_queue_wq_desc(snic, rqi->req, rqi->req_len);
rqi               244 drivers/scsi/snic/snic_scsi.c 	struct snic_req_info *rqi = NULL;
rqi               265 drivers/scsi/snic/snic_scsi.c 	rqi = snic_req_init(snic, sg_cnt);
rqi               266 drivers/scsi/snic/snic_scsi.c 	if (!rqi) {
rqi               273 drivers/scsi/snic/snic_scsi.c 	rqi->tgt_id = tgt->id;
rqi               274 drivers/scsi/snic/snic_scsi.c 	rqi->sc = sc;
rqi               277 drivers/scsi/snic/snic_scsi.c 	CMD_SP(sc) = (char *) rqi;
rqi               284 drivers/scsi/snic/snic_scsi.c 	ret = snic_queue_icmnd_req(snic, rqi, sc, sg_cnt);
rqi               291 drivers/scsi/snic/snic_scsi.c 		rqi = (struct snic_req_info *) CMD_SP(sc);
rqi               297 drivers/scsi/snic/snic_scsi.c 		if (rqi)
rqi               298 drivers/scsi/snic/snic_scsi.c 			snic_release_req_buf(snic, rqi, sc);
rqi               304 drivers/scsi/snic/snic_scsi.c 		u32 qtime = jiffies - rqi->start_time;
rqi               317 drivers/scsi/snic/snic_scsi.c 		SNIC_TRC(snic->shost->host_no, tag, (ulong) sc, (ulong) rqi,
rqi               553 drivers/scsi/snic/snic_scsi.c 	struct snic_req_info *rqi = NULL;
rqi               595 drivers/scsi/snic/snic_scsi.c 	rqi = (struct snic_req_info *) CMD_SP(sc);
rqi               599 drivers/scsi/snic/snic_scsi.c 		      CMD_FLAGS(sc), rqi);
rqi               607 drivers/scsi/snic/snic_scsi.c 	SNIC_BUG_ON(rqi != (struct snic_req_info *)ctx);
rqi               609 drivers/scsi/snic/snic_scsi.c 	if (!rqi) {
rqi               621 drivers/scsi/snic/snic_scsi.c 	rqi = (struct snic_req_info *) ctx;
rqi               622 drivers/scsi/snic/snic_scsi.c 	start_time = rqi->start_time;
rqi               625 drivers/scsi/snic/snic_scsi.c 	rqi->io_cmpl = 1;
rqi               670 drivers/scsi/snic/snic_scsi.c 	snic_calc_io_process_time(snic, rqi);
rqi               672 drivers/scsi/snic/snic_scsi.c 	snic_release_req_buf(snic, rqi, sc);
rqi               692 drivers/scsi/snic/snic_scsi.c 	struct snic_req_info *rqi = (struct snic_req_info *) CMD_SP(sc);
rqi               693 drivers/scsi/snic/snic_scsi.c 	u32 start_time = rqi->start_time;
rqi               740 drivers/scsi/snic/snic_scsi.c 	if (rqi->dr_done)
rqi               741 drivers/scsi/snic/snic_scsi.c 		complete(rqi->dr_done);
rqi               779 drivers/scsi/snic/snic_scsi.c 	struct snic_req_info *rqi = NULL;
rqi               793 drivers/scsi/snic/snic_scsi.c 	rqi = (struct snic_req_info *) CMD_SP(sc);
rqi               794 drivers/scsi/snic/snic_scsi.c 	WARN_ON_ONCE(!rqi);
rqi               796 drivers/scsi/snic/snic_scsi.c 	if (!rqi) {
rqi               811 drivers/scsi/snic/snic_scsi.c 	start_time = rqi->start_time;
rqi               841 drivers/scsi/snic/snic_scsi.c 		if (rqi->abts_done) {
rqi               842 drivers/scsi/snic/snic_scsi.c 			complete(rqi->abts_done);
rqi               856 drivers/scsi/snic/snic_scsi.c 		snic_release_req_buf(snic, rqi, sc);
rqi               889 drivers/scsi/snic/snic_scsi.c 		if (rqi->abts_done)
rqi               890 drivers/scsi/snic/snic_scsi.c 			complete(rqi->abts_done);
rqi               923 drivers/scsi/snic/snic_scsi.c 	struct snic_req_info *rqi = NULL;
rqi               943 drivers/scsi/snic/snic_scsi.c 		rqi = (struct snic_req_info *) ctx;
rqi               944 drivers/scsi/snic/snic_scsi.c 		sc = rqi->sc;
rqi              1010 drivers/scsi/snic/snic_scsi.c 	struct snic_req_info *rqi = NULL;
rqi              1026 drivers/scsi/snic/snic_scsi.c 		rqi = (struct snic_req_info *) ctx;
rqi              1030 drivers/scsi/snic/snic_scsi.c 		sc = rqi->sc;
rqi              1058 drivers/scsi/snic/snic_scsi.c 		       sc, rqi, cmnd_id, CMD_FLAGS(sc));
rqi              1072 drivers/scsi/snic/snic_scsi.c 	rqi = (struct snic_req_info *) CMD_SP(sc);
rqi              1073 drivers/scsi/snic/snic_scsi.c 	WARN_ON_ONCE(!rqi);
rqi              1075 drivers/scsi/snic/snic_scsi.c 	if (!rqi) {
rqi              1313 drivers/scsi/snic/snic_scsi.c 	struct snic_req_info *rqi = req_to_rqi(tmreq);
rqi              1315 drivers/scsi/snic/snic_scsi.c 	int tm_tag = snic_cmd_tag(sc) | rqi->tm_tag;
rqi              1318 drivers/scsi/snic/snic_scsi.c 	SNIC_BUG_ON(!rqi);
rqi              1319 drivers/scsi/snic/snic_scsi.c 	SNIC_BUG_ON(!rqi->tm_tag);
rqi              1328 drivers/scsi/snic/snic_scsi.c 		       (ulong) rqi,
rqi              1331 drivers/scsi/snic/snic_scsi.c 		       rqi->tgt_id,
rqi              1346 drivers/scsi/snic/snic_scsi.c 			      tmf, sc, rqi, req_id, snic_cmd_tag(sc), ret);
rqi              1350 drivers/scsi/snic/snic_scsi.c 			      tmf, sc, rqi, req_id, snic_cmd_tag(sc));
rqi              1357 drivers/scsi/snic/snic_scsi.c 		    struct snic_req_info *rqi,
rqi              1372 drivers/scsi/snic/snic_scsi.c 		      tmf, rqi, tag);
rqi              1376 drivers/scsi/snic/snic_scsi.c 		tmreq = snic_dr_req_init(snic, rqi);
rqi              1379 drivers/scsi/snic/snic_scsi.c 		tmreq = snic_abort_req_init(snic, rqi);
rqi              1399 drivers/scsi/snic/snic_scsi.c 			      tmf, sc, rqi, req_id, tag, ret);
rqi              1403 drivers/scsi/snic/snic_scsi.c 			      tmf, sc, rqi, req_id, tag);
rqi              1416 drivers/scsi/snic/snic_scsi.c 		     struct snic_req_info *rqi,
rqi              1421 drivers/scsi/snic/snic_scsi.c 		      sc, rqi, snic_cmd_tag(sc), tmf);
rqi              1424 drivers/scsi/snic/snic_scsi.c 	rqi->tm_tag |= SNIC_TAG_ABORT;
rqi              1426 drivers/scsi/snic/snic_scsi.c 	return snic_issue_tm_req(snic, rqi, sc, tmf);
rqi              1435 drivers/scsi/snic/snic_scsi.c 	struct snic_req_info *rqi = NULL;
rqi              1442 drivers/scsi/snic/snic_scsi.c 	rqi = (struct snic_req_info *) CMD_SP(sc);
rqi              1443 drivers/scsi/snic/snic_scsi.c 	if (!rqi) {
rqi              1455 drivers/scsi/snic/snic_scsi.c 	rqi->abts_done = NULL;
rqi              1469 drivers/scsi/snic/snic_scsi.c 		rqi = NULL;
rqi              1488 drivers/scsi/snic/snic_scsi.c 		rqi = NULL;
rqi              1500 drivers/scsi/snic/snic_scsi.c 	if (rqi)
rqi              1501 drivers/scsi/snic/snic_scsi.c 		snic_release_req_buf(snic, rqi, sc);
rqi              1512 drivers/scsi/snic/snic_scsi.c 	struct snic_req_info *rqi = NULL;
rqi              1543 drivers/scsi/snic/snic_scsi.c 	rqi = (struct snic_req_info *) CMD_SP(sc);
rqi              1544 drivers/scsi/snic/snic_scsi.c 	if (!rqi) {
rqi              1556 drivers/scsi/snic/snic_scsi.c 	rqi->abts_done = &tm_done;
rqi              1563 drivers/scsi/snic/snic_scsi.c 	SNIC_BUG_ON(!rqi->abts_done);
rqi              1582 drivers/scsi/snic/snic_scsi.c 	ret = snic_queue_abort_req(snic, rqi, sc, tmf);
rqi              1592 drivers/scsi/snic/snic_scsi.c 		rqi = (struct snic_req_info *) CMD_SP(sc);
rqi              1593 drivers/scsi/snic/snic_scsi.c 		if (rqi)
rqi              1594 drivers/scsi/snic/snic_scsi.c 			rqi->abts_done = NULL;
rqi              1679 drivers/scsi/snic/snic_scsi.c 	struct snic_req_info *rqi = NULL;
rqi              1702 drivers/scsi/snic/snic_scsi.c 		rqi = (struct snic_req_info *) CMD_SP(sc);
rqi              1703 drivers/scsi/snic/snic_scsi.c 		if (!rqi) {
rqi              1733 drivers/scsi/snic/snic_scsi.c 	struct snic_req_info *rqi = NULL;
rqi              1750 drivers/scsi/snic/snic_scsi.c 	rqi = (struct snic_req_info *) CMD_SP(sc);
rqi              1752 drivers/scsi/snic/snic_scsi.c 	if (!rqi)
rqi              1786 drivers/scsi/snic/snic_scsi.c 	SNIC_BUG_ON(rqi->abts_done);
rqi              1789 drivers/scsi/snic/snic_scsi.c 		rqi->tm_tag = SNIC_TAG_DEV_RST;
rqi              1796 drivers/scsi/snic/snic_scsi.c 	rqi->abts_done = &tm_done;
rqi              1806 drivers/scsi/snic/snic_scsi.c 	ret = snic_queue_abort_req(snic, rqi, sc, tmf);
rqi              1810 drivers/scsi/snic/snic_scsi.c 			      sc, tag, rqi->tm_tag, CMD_FLAGS(sc));
rqi              1813 drivers/scsi/snic/snic_scsi.c 		rqi = (struct snic_req_info *) CMD_SP(sc);
rqi              1814 drivers/scsi/snic/snic_scsi.c 		if (rqi)
rqi              1815 drivers/scsi/snic/snic_scsi.c 			rqi->abts_done = NULL;
rqi              1836 drivers/scsi/snic/snic_scsi.c 	rqi = (struct snic_req_info *) CMD_SP(sc);
rqi              1837 drivers/scsi/snic/snic_scsi.c 	if (!rqi) {
rqi              1841 drivers/scsi/snic/snic_scsi.c 	rqi->abts_done = NULL;
rqi              1847 drivers/scsi/snic/snic_scsi.c 			      sc, tag, rqi->tm_tag, CMD_FLAGS(sc));
rqi              1859 drivers/scsi/snic/snic_scsi.c 	snic_release_req_buf(snic, rqi, sc);
rqi              1923 drivers/scsi/snic/snic_scsi.c 	struct snic_req_info *rqi = NULL;
rqi              1931 drivers/scsi/snic/snic_scsi.c 	rqi = (struct snic_req_info *) CMD_SP(sc);
rqi              1932 drivers/scsi/snic/snic_scsi.c 	if (!rqi) {
rqi              1942 drivers/scsi/snic/snic_scsi.c 	rqi->dr_done = NULL;
rqi              1989 drivers/scsi/snic/snic_scsi.c 		rqi = (struct snic_req_info *) CMD_SP(sc);
rqi              1995 drivers/scsi/snic/snic_scsi.c 		rqi = (struct snic_req_info *) CMD_SP(sc);
rqi              1996 drivers/scsi/snic/snic_scsi.c 		if (rqi)
rqi              2004 drivers/scsi/snic/snic_scsi.c 	if (rqi)
rqi              2008 drivers/scsi/snic/snic_scsi.c 	if (rqi)
rqi              2009 drivers/scsi/snic/snic_scsi.c 		snic_release_req_buf(snic, rqi, sc);
rqi              2017 drivers/scsi/snic/snic_scsi.c 		  struct snic_req_info *rqi,
rqi              2021 drivers/scsi/snic/snic_scsi.c 	rqi->tm_tag |= SNIC_TAG_DEV_RST;
rqi              2023 drivers/scsi/snic/snic_scsi.c 	return snic_issue_tm_req(snic, rqi, sc, SNIC_ITMF_LUN_RESET);
rqi              2029 drivers/scsi/snic/snic_scsi.c 	struct snic_req_info *rqi = NULL;
rqi              2039 drivers/scsi/snic/snic_scsi.c 	rqi = (struct snic_req_info *) CMD_SP(sc);
rqi              2040 drivers/scsi/snic/snic_scsi.c 	if (!rqi) {
rqi              2058 drivers/scsi/snic/snic_scsi.c 	rqi->dr_done = &tm_done;
rqi              2059 drivers/scsi/snic/snic_scsi.c 	SNIC_BUG_ON(!rqi->dr_done);
rqi              2069 drivers/scsi/snic/snic_scsi.c 	ret = snic_queue_dr_req(snic, rqi, sc);
rqi              2078 drivers/scsi/snic/snic_scsi.c 		rqi = (struct snic_req_info *) CMD_SP(sc);
rqi              2079 drivers/scsi/snic/snic_scsi.c 		if (rqi)
rqi              2080 drivers/scsi/snic/snic_scsi.c 			rqi->dr_done = NULL;
rqi              2118 drivers/scsi/snic/snic_scsi.c 	struct snic_req_info *rqi = NULL;
rqi              2125 drivers/scsi/snic/snic_scsi.c 	rqi = (struct snic_req_info *) CMD_SP(sc);
rqi              2126 drivers/scsi/snic/snic_scsi.c 	if (rqi) {
rqi              2127 drivers/scsi/snic/snic_scsi.c 		start_time = rqi->start_time;
rqi              2134 drivers/scsi/snic/snic_scsi.c 	if (rqi)
rqi              2135 drivers/scsi/snic/snic_scsi.c 		snic_release_req_buf(snic, rqi, sc);
rqi              2138 drivers/scsi/snic/snic_scsi.c 		 jiffies_to_msecs(jiffies - start_time), (ulong) rqi,
rqi              2152 drivers/scsi/snic/snic_scsi.c 	struct snic_req_info *rqi = NULL;
rqi              2182 drivers/scsi/snic/snic_scsi.c 		rqi = snic_req_init(snic, 0);
rqi              2183 drivers/scsi/snic/snic_scsi.c 		if (!rqi)
rqi              2188 drivers/scsi/snic/snic_scsi.c 		CMD_SP(sc) = (char *)rqi;
rqi              2192 drivers/scsi/snic/snic_scsi.c 		rqi->tm_tag = SNIC_TAG_IOCTL_DEV_RST;
rqi              2193 drivers/scsi/snic/snic_scsi.c 		rqi->sc = sc;
rqi              2234 drivers/scsi/snic/snic_scsi.c 	struct snic_req_info *rqi = NULL;
rqi              2241 drivers/scsi/snic/snic_scsi.c 	rqi = snic_req_init(snic, 0);
rqi              2242 drivers/scsi/snic/snic_scsi.c 	if (!rqi) {
rqi              2252 drivers/scsi/snic/snic_scsi.c 		rqi->sc = sc;
rqi              2255 drivers/scsi/snic/snic_scsi.c 	req = rqi_to_req(rqi);
rqi              2261 drivers/scsi/snic/snic_scsi.c 	CMD_SP(sc) = (char *) rqi;
rqi              2268 drivers/scsi/snic/snic_scsi.c 			snic->config.hid, 0, (ulong) rqi);
rqi              2299 drivers/scsi/snic/snic_scsi.c 	rqi = (struct snic_req_info *) CMD_SP(sc);
rqi              2303 drivers/scsi/snic/snic_scsi.c 	if (rqi)
rqi              2304 drivers/scsi/snic/snic_scsi.c 		snic_req_free(snic, rqi);
rqi              2313 drivers/scsi/snic/snic_scsi.c 	rqi = (struct snic_req_info *) CMD_SP(sc);
rqi              2317 drivers/scsi/snic/snic_scsi.c 	if (rqi)
rqi              2318 drivers/scsi/snic/snic_scsi.c 		snic_req_free(snic, rqi);
rqi              2412 drivers/scsi/snic/snic_scsi.c 	struct snic_req_info *rqi = NULL;
rqi              2425 drivers/scsi/snic/snic_scsi.c 	rqi = (struct snic_req_info *) CMD_SP(sc);
rqi              2426 drivers/scsi/snic/snic_scsi.c 	if (!rqi)
rqi              2429 drivers/scsi/snic/snic_scsi.c 	if (rqi->dr_done)
rqi              2430 drivers/scsi/snic/snic_scsi.c 		complete(rqi->dr_done);
rqi              2431 drivers/scsi/snic/snic_scsi.c 	else if (rqi->abts_done)
rqi              2432 drivers/scsi/snic/snic_scsi.c 		complete(rqi->abts_done);
rqi              2441 drivers/scsi/snic/snic_scsi.c 	struct snic_req_info *rqi = NULL;
rqi              2475 drivers/scsi/snic/snic_scsi.c 		rqi = (struct snic_req_info *) CMD_SP(sc);
rqi              2476 drivers/scsi/snic/snic_scsi.c 		if (!rqi) {
rqi              2484 drivers/scsi/snic/snic_scsi.c 			      sc, rqi, tag, CMD_FLAGS(sc));
rqi              2489 drivers/scsi/snic/snic_scsi.c 		st_time = rqi->start_time;
rqi              2493 drivers/scsi/snic/snic_scsi.c 			       rqi, CMD_FLAGS(sc));
rqi              2495 drivers/scsi/snic/snic_scsi.c 		snic_release_req_buf(snic, rqi, sc);
rqi              2501 drivers/scsi/snic/snic_scsi.c 			       sc, sc->request->tag, CMD_FLAGS(sc), rqi,
rqi              2533 drivers/scsi/snic/snic_scsi.c 	struct snic_req_info *rqi = NULL;
rqi              2541 drivers/scsi/snic/snic_scsi.c 	rqi = (struct snic_req_info *) CMD_SP(sc);
rqi              2542 drivers/scsi/snic/snic_scsi.c 	if (!rqi)
rqi              2574 drivers/scsi/snic/snic_scsi.c 		rqi->tm_tag = SNIC_TAG_DEV_RST;
rqi              2580 drivers/scsi/snic/snic_scsi.c 	SNIC_BUG_ON(rqi->abts_done);
rqi              2583 drivers/scsi/snic/snic_scsi.c 	ret = snic_queue_abort_req(snic, rqi, sc, tmf);