Lines Matching defs:vports
166 struct lpfc_vport **vports;
184 vports = lpfc_create_vport_work_array(phba);
185 if (vports != NULL)
186 for (i = 0; i <= phba->max_vports && vports[i] != NULL; i++) {
187 shost = lpfc_shost_from_vport(vports[i]);
200 lpfc_destroy_vport_work_array(phba, vports);
216 struct lpfc_vport **vports;
222 vports = lpfc_create_vport_work_array(phba);
223 if (vports != NULL)
224 for (i = 0; i <= phba->max_vports && vports[i] != NULL; i++) {
225 shost = lpfc_shost_from_vport(vports[i]);
231 lpfc_destroy_vport_work_array(phba, vports);
3674 * For multiple vports, send scsi_unblock_requests for all the vports.
3679 struct lpfc_vport **vports;
3690 vports = lpfc_create_vport_work_array(phba);
3691 if (vports != NULL)
3692 for (i = 0; i <= phba->max_vports && vports[i] != NULL; i++) {
3693 shost = lpfc_shost_from_vport(vports[i]);
3696 lpfc_destroy_vport_work_array(phba, vports);
3704 * For multiple vports, send scsi_block_requests for all the vports.
3709 struct lpfc_vport **vports;
3723 vports = lpfc_create_vport_work_array(phba);
3724 if (vports != NULL)
3725 for (i = 0; i <= phba->max_vports && vports[i] != NULL; i++) {
3726 shost = lpfc_shost_from_vport(vports[i]);
3729 lpfc_destroy_vport_work_array(phba, vports);