Searched defs:vports (Results 1 - 10 of 10) sorted by relevance

/drivers/scsi/lpfc/
H A Dlpfc_vport.c769 struct lpfc_vport **vports; local
771 vports = kzalloc((phba->max_vports + 1) * sizeof(struct lpfc_vport *),
773 if (vports == NULL)
785 vports[index++] = port_iterator;
788 return vports;
792 lpfc_destroy_vport_work_array(struct lpfc_hba *phba, struct lpfc_vport **vports) argument
795 if (vports == NULL)
797 for (i = 0; i <= phba->max_vports && vports[i] != NULL; i++)
798 scsi_host_put(lpfc_shost_from_vport(vports[i]));
799 kfree(vports);
[all...]
H A Dlpfc_nportdisc.c586 struct lpfc_vport **vports; local
607 vports = lpfc_create_vport_work_array(phba);
608 if (vports) {
609 for (i = 0; i <= phba->max_vports && vports[i] != NULL;
611 if ((!(vports[i]->fc_flag &
613 (vports[i]->port_state > LPFC_FDISC)) {
618 lpfc_destroy_vport_work_array(phba, vports);
H A Dlpfc_attr.c567 * lpfc_num_discovered_ports_show - Return sum of mapped and unmapped vports
2880 struct lpfc_vport **vports; local
2920 vports = lpfc_create_vport_work_array(phba);
2921 if (vports == NULL)
2924 for (i = 0; i <= phba->max_vports && vports[i] != NULL; i++) {
2925 v_shost = lpfc_shost_from_vport(vports[i]);
2928 vports[i]->stat_data_blocked = 1;
2929 if (vports[i]->stat_data_enabled)
2930 lpfc_vport_reset_stat_data(vports[i]);
2939 for (i = 0; i <= phba->max_vports && vports[
[all...]
H A Dlpfc_bsg.c1489 struct lpfc_vport **vports; local
1508 vports = lpfc_create_vport_work_array(phba);
1509 if (vports) {
1510 for (i = 0; i <= phba->max_vpi && vports[i] != NULL; i++) {
1511 shost = lpfc_shost_from_vport(vports[i]);
1514 lpfc_destroy_vport_work_array(phba, vports);
1539 struct lpfc_vport **vports; local
1542 vports = lpfc_create_vport_work_array(phba);
1543 if (vports) {
1544 for (i = 0; i <= phba->max_vpi && vports[
[all...]
H A Dlpfc_els.c4606 * contains N_Port IDs for other vports on this HBA, it just accepts the
4662 /* If this RSCN just contains NPortIDs for other vports on this HBA,
7039 * This routine cancels the retry delay timers to all the vports.
7044 struct lpfc_vport **vports; local
7049 /* Treat this failure as linkdown for all vports */
7054 vports = lpfc_create_vport_work_array(phba);
7056 if (vports) {
7057 for (i = 0; i <= phba->max_vports && vports[i] != NULL; i++) {
7058 ndlp = lpfc_findnode_did(vports[i], Fabric_DID);
7060 lpfc_cancel_retry_delay_tmo(vports[
[all...]
H A Dlpfc_scsi.c392 struct lpfc_vport **vports; local
402 vports = lpfc_create_vport_work_array(phba);
403 if (vports != NULL)
404 for (i = 0; i <= phba->max_vports && vports[i] != NULL; i++) {
405 shost = lpfc_shost_from_vport(vports[i]);
419 lpfc_destroy_vport_work_array(phba, vports);
436 struct lpfc_vport **vports; local
441 vports = lpfc_create_vport_work_array(phba);
442 if (vports != NULL)
443 for (i = 0; i <= phba->max_vports && vports[
470 struct lpfc_vport **vports; local
[all...]
H A Dlpfc_hbadisc.c585 struct lpfc_vport **vports; local
628 vports = lpfc_create_vport_work_array(phba);
629 if (vports != NULL)
632 * We could have no vports in array if unloading, so if
635 if (vports[i] == NULL && i == 0)
638 vport = vports[i];
664 lpfc_destroy_vport_work_array(phba, vports);
855 struct lpfc_vport **vports; local
874 vports = lpfc_create_vport_work_array(phba);
875 if (vports !
975 struct lpfc_vport **vports; local
2801 struct lpfc_vport **vports; local
4379 struct lpfc_vport **vports; local
5652 struct lpfc_vport **vports; local
5758 struct lpfc_vport **vports; local
[all...]
H A Dlpfc_init.c777 struct lpfc_vport **vports; local
789 vports = lpfc_create_vport_work_array(phba);
790 if (vports != NULL)
792 vports[i] != NULL; i++)
793 lpfc_cleanup_discovery_resources(vports[i]);
794 lpfc_destroy_vport_work_array(phba, vports);
1046 struct lpfc_vport **vports; local
1053 vports = lpfc_create_vport_work_array(phba);
1054 if (vports != NULL)
1055 for (i = 0; i <= phba->max_vports && vports[
2542 struct lpfc_vport **vports; local
2582 struct lpfc_vport **vports; local
2667 struct lpfc_vport **vports; local
2736 struct lpfc_vport **vports; local
3625 struct lpfc_vport **vports; local
3652 struct lpfc_vport **vports; local
8683 struct lpfc_vport **vports; local
9443 struct lpfc_vport **vports; local
[all...]
H A Dlpfc_sli.c13836 struct lpfc_vport **vports; local
13844 vports = lpfc_create_vport_work_array(phba);
13845 if (vports != NULL)
13846 for (i = 0; i <= phba->max_vpi && vports[i] != NULL; i++) {
13848 vports[i]->vfi == lpfc_fc_hdr_get_vfi(fc_hdr) &&
13849 vports[i]->fc_myDID == did) {
13850 vport = vports[i];
13854 lpfc_destroy_vport_work_array(phba, vports);
15493 /* Cancel retry delay timers to all vports before FCF rediscover */
/drivers/scsi/bnx2fc/
H A Dbnx2fc.h218 struct list_head vports; member in struct:bnx2fc_hba

Completed in 246 milliseconds