Lines Matching defs:qpair
95 struct qla_qpair *qpair;
115 /* Use base qpair if max_qpairs is 0 */
117 qpair = ha->base_qpair;
122 "Returning existing qpair of %p for idx=%x\n",
127 qpair = qla2xxx_create_qpair(vha, 5, vha->vp_idx, true);
128 if (!qpair) {
130 "Failed to allocate qpair\n");
134 *handle = qpair;
168 qla2xxx_rel_qpair_sp(sp->qpair, sp);
382 struct qla_qpair *qpair = sp->qpair;
389 /* Setup qpair pointers */
390 req = qpair->req;
393 /* Acquire qpair specific lock */
394 spin_lock_irqsave(&qpair->qp_lock, flags);
450 qpair->counters.input_bytes += fd->payload_length;
451 qpair->counters.input_requests++;
463 qpair->counters.output_bytes += fd->payload_length;
464 qpair->counters.output_requests++;
545 spin_unlock_irqrestore(&qpair->qp_lock, flags);
560 struct qla_qpair *qpair = hw_queue_handle;
571 if (!qpair || !fcport)
574 if (!qpair->fw_started || fcport->deleted)
583 (qpair && !qpair->fw_started) || fcport->deleted)
597 sp = qla2xxx_get_qpair_sp(vha, qpair, fcport, GFP_ATOMIC);
609 sp->qpair = qpair;
620 qla2xxx_rel_qpair_sp(sp->qpair, sp);