Lines Matching refs:qpair
2802 struct qla_qpair *qpair; in qla2x00_get_fc_host_stats() local
2843 qpair = vha->hw->queue_pair_map[i]; in qla2x00_get_fc_host_stats()
2844 if (!qpair) in qla2x00_get_fc_host_stats()
2846 ir += qpair->counters.input_requests; in qla2x00_get_fc_host_stats()
2847 or += qpair->counters.output_requests; in qla2x00_get_fc_host_stats()
2848 ib += qpair->counters.input_bytes; in qla2x00_get_fc_host_stats()
2849 ob += qpair->counters.output_bytes; in qla2x00_get_fc_host_stats()
2911 struct qla_qpair *qpair; in qla2x00_reset_host_stats() local
2916 qpair = vha->hw->queue_pair_map[i]; in qla2x00_reset_host_stats()
2917 if (!qpair) in qla2x00_reset_host_stats()
2919 memset(&qpair->counters, 0, sizeof(qpair->counters)); in qla2x00_reset_host_stats()
2921 memset(&ha->base_qpair->counters, 0, sizeof(qpair->counters)); in qla2x00_reset_host_stats()
3023 struct qla_qpair *qpair; in qla24xx_vport_create() local
3123 qpair = qla2xxx_create_qpair(vha, qos, vha->vp_idx, true); in qla24xx_vport_create()
3124 if (!qpair) in qla24xx_vport_create()
3131 qpair->id, qos, vha->vp_idx); in qla24xx_vport_create()
3134 qpair->id, qos, vha->vp_idx); in qla24xx_vport_create()
3135 req = qpair->req; in qla24xx_vport_create()
3136 vha->qpair = qpair; in qla24xx_vport_create()
3203 if (vha->qpair && vha->qpair->vp_idx == vha->vp_idx) { in qla24xx_vport_delete()
3204 if (qla2xxx_delete_qpair(vha, vha->qpair) != QLA_SUCCESS) in qla24xx_vport_delete()