Lines Matching refs:vports
378 struct lpfc_vport **vports; in lpfc_ramp_down_queue_handler() local
388 vports = lpfc_create_vport_work_array(phba); in lpfc_ramp_down_queue_handler()
389 if (vports != NULL) in lpfc_ramp_down_queue_handler()
390 for (i = 0; i <= phba->max_vports && vports[i] != NULL; i++) { in lpfc_ramp_down_queue_handler()
391 shost = lpfc_shost_from_vport(vports[i]); in lpfc_ramp_down_queue_handler()
405 lpfc_destroy_vport_work_array(phba, vports); in lpfc_ramp_down_queue_handler()
422 struct lpfc_vport **vports; in lpfc_ramp_up_queue_handler() local
427 vports = lpfc_create_vport_work_array(phba); in lpfc_ramp_up_queue_handler()
428 if (vports != NULL) in lpfc_ramp_up_queue_handler()
429 for (i = 0; i <= phba->max_vports && vports[i] != NULL; i++) { in lpfc_ramp_up_queue_handler()
430 shost = lpfc_shost_from_vport(vports[i]); in lpfc_ramp_up_queue_handler()
432 if (vports[i]->cfg_lun_queue_depth <= in lpfc_ramp_up_queue_handler()
440 lpfc_destroy_vport_work_array(phba, vports); in lpfc_ramp_up_queue_handler()
456 struct lpfc_vport **vports; in lpfc_scsi_dev_block() local
462 vports = lpfc_create_vport_work_array(phba); in lpfc_scsi_dev_block()
463 if (vports != NULL) in lpfc_scsi_dev_block()
464 for (i = 0; i <= phba->max_vports && vports[i] != NULL; i++) { in lpfc_scsi_dev_block()
465 shost = lpfc_shost_from_vport(vports[i]); in lpfc_scsi_dev_block()
471 lpfc_destroy_vport_work_array(phba, vports); in lpfc_scsi_dev_block()