Searched refs:rqi (Results 1 – 6 of 6) sorted by relevance
/drivers/scsi/snic/ |
D | snic_io.c | 102 struct snic_req_info *rqi = NULL; in snic_free_wq_buf() local 107 rqi = req_to_rqi(req); in snic_free_wq_buf() 109 if (list_empty(&rqi->list)) { in snic_free_wq_buf() 114 SNIC_BUG_ON(rqi->list.next == NULL); /* if not added to spl_cmd_list */ in snic_free_wq_buf() 115 list_del_init(&rqi->list); in snic_free_wq_buf() 118 if (rqi->sge_va) { in snic_free_wq_buf() 119 snic_pci_unmap_rsp_buf(snic, rqi); in snic_free_wq_buf() 120 kfree((void *)rqi->sge_va); in snic_free_wq_buf() 121 rqi->sge_va = 0; in snic_free_wq_buf() 123 snic_req_free(snic, rqi); in snic_free_wq_buf() [all …]
|
D | snic_scsi.c | 128 struct snic_req_info *rqi, in snic_release_req_buf() argument 131 struct snic_host_req *req = rqi_to_req(rqi); in snic_release_req_buf() 144 sc, snic_cmd_tag(sc), rqi, rqi->req, rqi->abort_req, in snic_release_req_buf() 145 rqi->dr_req, snic_ioreq_state_to_str(CMD_STATE(sc)), in snic_release_req_buf() 156 snic_req_free(snic, rqi); in snic_release_req_buf() 164 struct snic_req_info *rqi, in snic_queue_icmnd_req() argument 178 sgd = (struct snic_sg_desc *) req_to_sgl(rqi->req); in snic_queue_icmnd_req() 209 snic_icmnd_init(rqi->req, in snic_queue_icmnd_req() 212 (ulong) rqi, in snic_queue_icmnd_req() 214 rqi->tgt_id, in snic_queue_icmnd_req() [all …]
|
D | snic_disc.c | 82 struct snic_req_info *rqi = NULL; in snic_queue_report_tgt_req() local 88 rqi = snic_req_init(snic, 1); in snic_queue_report_tgt_req() 89 if (!rqi) { in snic_queue_report_tgt_req() 105 snic_req_free(snic, rqi); in snic_queue_report_tgt_req() 117 snic_req_free(snic, rqi); in snic_queue_report_tgt_req() 128 rqi->sge_va = (ulong) buf; in snic_queue_report_tgt_req() 130 snic_report_tgt_init(rqi->req, in snic_queue_report_tgt_req() 135 (ulong)rqi); in snic_queue_report_tgt_req() 137 snic_handle_untagged_req(snic, rqi); in snic_queue_report_tgt_req() 139 ret = snic_queue_wq_desc(snic, rqi->req, rqi->req_len); in snic_queue_report_tgt_req() [all …]
|
D | snic_ctl.c | 110 struct snic_req_info *rqi = NULL; in snic_queue_exch_ver_req() local 117 rqi = snic_req_init(snic, 0); in snic_queue_exch_ver_req() 118 if (!rqi) { in snic_queue_exch_ver_req() 127 req = rqi_to_req(rqi); in snic_queue_exch_ver_req() 131 snic->config.hid, 0, (ulong)rqi); in snic_queue_exch_ver_req() 136 snic_handle_untagged_req(snic, rqi); in snic_queue_exch_ver_req() 140 snic_release_untagged_req(snic, rqi); in snic_queue_exch_ver_req() 159 struct snic_req_info *rqi = NULL; in snic_io_exch_ver_cmpl_handler() local 170 rqi = (struct snic_req_info *) ctx; in snic_io_exch_ver_cmpl_handler() 226 snic_release_untagged_req(snic, rqi); in snic_io_exch_ver_cmpl_handler()
|
D | snic_io.h | 50 char *rqi; member 100 #define rqi_to_req(rqi) \ argument 101 ((struct snic_host_req *) (((struct snic_req_info *)rqi)->req))
|
D | snic.h | 108 (((struct snic_internal_io_state *)scsi_cmd_priv(Cmnd))->rqi)
|