Lines Matching defs:qpair
190 "Set it to 0 to turn off mq qpair support.");
417 struct qla_qpair *qpair);
425 rsp->qpair = ha->base_qpair;
438 /* init qpair to this cpu. Will adjust at run time. */
439 qla_cpu_update(rsp->qpair, raw_smp_processor_id());
755 list_splice(&ctx1->dsd_list, &sp->qpair->dsd_list);
756 sp->qpair->dsd_inuse -= ctx1->dsd_use_cnt;
757 sp->qpair->dsd_avail += ctx1->dsd_use_cnt;
761 qla_put_buf(sp->qpair, &sp->u.scmd.buf_dsc);
841 list_splice(&ctx1->dsd_list, &sp->qpair->dsd_list);
842 sp->qpair->dsd_inuse -= ctx1->dsd_use_cnt;
843 sp->qpair->dsd_avail += ctx1->dsd_use_cnt;
855 qla_put_buf(sp->qpair, &sp->u.scmd.buf_dsc);
892 struct qla_qpair *qpair = NULL;
896 qpair = ha->queue_pair_map[hwq];
898 if (qpair)
899 return qla2xxx_mqueuecommand(host, cmd, qpair);
997 struct qla_qpair *qpair)
1016 if (!qpair->online) {
1018 "qpair not online. eeh_busy=%d.\n", ha->flags.eeh_busy);
1054 qla2xxx_init_sp(sp, vha, qpair, fcport);
1259 struct qla_qpair *qpair;
1276 qpair = sp->qpair;
1280 if ((sp->fcport && sp->fcport->deleted) || !qpair)
1283 spin_lock_irqsave(qpair->qp_lock_ptr, flags);
1285 spin_unlock_irqrestore(qpair->qp_lock_ptr, flags);
1340 __qla2x00_eh_wait_for_pending_commands(struct qla_qpair *qpair, unsigned int t,
1345 scsi_qla_host_t *vha = qpair->vha;
1346 struct req_que *req = qpair->req;
1358 spin_lock_irqsave(qpair->qp_lock_ptr, flags);
1390 spin_unlock_irqrestore(qpair->qp_lock_ptr, flags);
1405 spin_lock_irqsave(qpair->qp_lock_ptr, flags);
1408 spin_unlock_irqrestore(qpair->qp_lock_ptr, flags);
1424 struct qla_qpair *qpair;
1431 qpair = ha->queue_pair_map[i];
1432 if (!qpair)
1434 status = __qla2x00_eh_wait_for_pending_commands(qpair, t, l,
6902 struct qla_qpair *qpair;
7194 /* qpair online check */
7204 list_for_each_entry(qpair, &base_vha->qp_list,
7206 qpair->online = online;
7733 struct qla_qpair *qpair = NULL;
7757 list_for_each_entry(qpair, &base_vha->qp_list, qp_list_elem)
7758 qpair->online = 0;
7897 struct qla_qpair *qpair = NULL;
7932 list_for_each_entry(qpair, &base_vha->qp_list, qp_list_elem)
7933 qpair->online = 1;
8024 struct qla_qpair *qpair;
8037 list_for_each_entry(qpair, &base_vha->qp_list, qp_list_elem)
8038 qpair->online = 0;
8051 struct qla_qpair *qpair;
8061 list_for_each_entry(qpair, &base_vha->qp_list, qp_list_elem)
8062 qpair->online = 1;