Lines Matching refs:qpair
2832 struct qla_qpair *qpair; in qla2x00_get_fc_host_stats() local
2873 qpair = vha->hw->queue_pair_map[i]; in qla2x00_get_fc_host_stats()
2874 if (!qpair) in qla2x00_get_fc_host_stats()
2876 ir += qpair->counters.input_requests; in qla2x00_get_fc_host_stats()
2877 or += qpair->counters.output_requests; in qla2x00_get_fc_host_stats()
2878 ib += qpair->counters.input_bytes; in qla2x00_get_fc_host_stats()
2879 ob += qpair->counters.output_bytes; in qla2x00_get_fc_host_stats()
2941 struct qla_qpair *qpair; in qla2x00_reset_host_stats() local
2946 qpair = vha->hw->queue_pair_map[i]; in qla2x00_reset_host_stats()
2947 if (!qpair) in qla2x00_reset_host_stats()
2949 memset(&qpair->counters, 0, sizeof(qpair->counters)); in qla2x00_reset_host_stats()
2951 memset(&ha->base_qpair->counters, 0, sizeof(qpair->counters)); in qla2x00_reset_host_stats()
3053 struct qla_qpair *qpair; in qla24xx_vport_create() local
3151 qpair = qla2xxx_create_qpair(vha, qos, vha->vp_idx, true); in qla24xx_vport_create()
3152 if (!qpair) in qla24xx_vport_create()
3159 qpair->id, qos, vha->vp_idx); in qla24xx_vport_create()
3162 qpair->id, qos, vha->vp_idx); in qla24xx_vport_create()
3163 req = qpair->req; in qla24xx_vport_create()
3164 vha->qpair = qpair; in qla24xx_vport_create()
3230 if (vha->qpair && vha->qpair->vp_idx == vha->vp_idx) { in qla24xx_vport_delete()
3231 if (qla2xxx_delete_qpair(vha, vha->qpair) != QLA_SUCCESS) in qla24xx_vport_delete()