Lines Matching refs:qpair
2751 struct qla_qpair *qpair; in qla2x00_get_fc_host_stats() local
2792 qpair = vha->hw->queue_pair_map[i]; in qla2x00_get_fc_host_stats()
2793 if (!qpair) in qla2x00_get_fc_host_stats()
2795 ir += qpair->counters.input_requests; in qla2x00_get_fc_host_stats()
2796 or += qpair->counters.output_requests; in qla2x00_get_fc_host_stats()
2797 ib += qpair->counters.input_bytes; in qla2x00_get_fc_host_stats()
2798 ob += qpair->counters.output_bytes; in qla2x00_get_fc_host_stats()
2860 struct qla_qpair *qpair; in qla2x00_reset_host_stats() local
2865 qpair = vha->hw->queue_pair_map[i]; in qla2x00_reset_host_stats()
2866 if (!qpair) in qla2x00_reset_host_stats()
2868 memset(&qpair->counters, 0, sizeof(qpair->counters)); in qla2x00_reset_host_stats()
2870 memset(&ha->base_qpair->counters, 0, sizeof(qpair->counters)); in qla2x00_reset_host_stats()
2972 struct qla_qpair *qpair; in qla24xx_vport_create() local
3072 qpair = qla2xxx_create_qpair(vha, qos, vha->vp_idx, true); in qla24xx_vport_create()
3073 if (!qpair) in qla24xx_vport_create()
3080 qpair->id, qos, vha->vp_idx); in qla24xx_vport_create()
3083 qpair->id, qos, vha->vp_idx); in qla24xx_vport_create()
3084 req = qpair->req; in qla24xx_vport_create()
3085 vha->qpair = qpair; in qla24xx_vport_create()
3149 if (vha->qpair && vha->qpair->vp_idx == vha->vp_idx) { in qla24xx_vport_delete()
3150 if (qla2xxx_delete_qpair(vha, vha->qpair) != QLA_SUCCESS) in qla24xx_vport_delete()