Lines Matching defs:qpair
117 struct qla_qpair *qpair;
137 /* Use base qpair if max_qpairs is 0 */
139 qpair = ha->base_qpair;
144 "Returning existing qpair of %p for idx=%x\n",
149 qpair = qla2xxx_create_qpair(vha, 5, vha->vp_idx, true);
150 if (!qpair) {
152 "Failed to allocate qpair\n");
157 *handle = qpair;
191 qla2xxx_rel_qpair_sp(sp->qpair, sp);
565 struct qla_qpair *qpair = sp->qpair;
572 /* Setup qpair pointers */
573 req = qpair->req;
574 rsp = qpair->rsp;
577 /* Acquire qpair specific lock */
578 spin_lock_irqsave(&qpair->qp_lock, flags);
590 if (qla_get_fw_resources(sp->qpair, &sp->iores)) {
645 qpair->counters.input_bytes += fd->payload_length;
646 qpair->counters.input_requests++;
658 qpair->counters.output_bytes += fd->payload_length;
659 qpair->counters.output_requests++;
742 sp->qpair->cmd_cnt++;
753 qla_put_fw_resources(sp->qpair, &sp->iores);
754 spin_unlock_irqrestore(&qpair->qp_lock, flags);
770 struct qla_qpair *qpair = hw_queue_handle;
781 if (unlikely(!qpair || !fcport || fcport->deleted))
803 qpair = qla_mapq_nvme_select_qpair(ha, qpair);
806 sp = qla2xxx_get_qpair_sp(vha, qpair, fcport, GFP_ATOMIC);
818 sp->qpair = qpair;
830 qla2xxx_rel_qpair_sp(sp->qpair, sp);
1323 qla_nvme_ls_reject_iocb(vha, (*rsp)->qpair, &a, false);