Searched refs:vports (Results 1 - 25 of 28) sorted by relevance

12

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/scsi/libfc/
H A Dfc_npiv.c48 list_add_tail(&vn_port->list, &n_port->vports);
79 list_for_each_entry(vn_port, &n_port->vports, list) {
91 * When setting the link state of vports during an lport state change, it's
149 * fc_vports_linkchange() - change the link state of all vports
158 list_for_each_entry(vn_port, &n_port->vports, list) {
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/scsi/libfc/
H A Dfc_npiv.c48 list_add_tail(&vn_port->list, &n_port->vports);
79 list_for_each_entry(vn_port, &n_port->vports, list) {
91 * When setting the link state of vports during an lport state change, it's
149 * fc_vports_linkchange() - change the link state of all vports
158 list_for_each_entry(vn_port, &n_port->vports, list) {
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/scsi/lpfc/
H A Dlpfc_vport.c757 struct lpfc_vport **vports; local
759 vports = kzalloc((phba->max_vports + 1) * sizeof(struct lpfc_vport *),
761 if (vports == NULL)
773 vports[index++] = port_iterator;
776 return vports;
780 lpfc_destroy_vport_work_array(struct lpfc_hba *phba, struct lpfc_vport **vports) argument
783 if (vports == NULL)
785 for (i = 0; i <= phba->max_vports && vports[i] != NULL; i++)
786 scsi_host_put(lpfc_shost_from_vport(vports[i]));
787 kfree(vports);
[all...]
H A Dlpfc_hbadisc.c498 struct lpfc_vport **vports; local
539 vports = lpfc_create_vport_work_array(phba);
540 if (vports != NULL)
543 * We could have no vports in array if unloading, so if
546 if (vports[i] == NULL && i == 0)
549 vport = vports[i];
573 lpfc_destroy_vport_work_array(phba, vports);
757 struct lpfc_vport **vports; local
776 vports = lpfc_create_vport_work_array(phba);
777 if (vports !
877 struct lpfc_vport **vports; local
2343 struct lpfc_vport **vports; local
3879 struct lpfc_vport **vports; local
5057 struct lpfc_vport **vports; local
5150 struct lpfc_vport **vports; local
[all...]
H A Dlpfc_init.c739 struct lpfc_vport **vports; local
751 vports = lpfc_create_vport_work_array(phba);
752 if (vports != NULL)
754 vports[i] != NULL; i++)
755 lpfc_cleanup_discovery_resources(vports[i]);
756 lpfc_destroy_vport_work_array(phba, vports);
982 struct lpfc_vport **vports; local
989 vports = lpfc_create_vport_work_array(phba);
990 if (vports != NULL)
991 for (i = 0; i <= phba->max_vports && vports[
2357 struct lpfc_vport **vports; local
2442 struct lpfc_vport **vports; local
2504 struct lpfc_vport **vports; local
3330 struct lpfc_vport **vports; local
3357 struct lpfc_vport **vports; local
7696 struct lpfc_vport **vports; local
8333 struct lpfc_vport **vports; local
[all...]
H A Dlpfc_attr.c522 * lpfc_num_discovered_ports_show - Return sum of mapped and unmapped vports
2530 struct lpfc_vport **vports; local
2570 vports = lpfc_create_vport_work_array(phba);
2571 if (vports == NULL)
2574 for (i = 0; i <= phba->max_vports && vports[i] != NULL; i++) {
2575 v_shost = lpfc_shost_from_vport(vports[i]);
2578 vports[i]->stat_data_blocked = 1;
2579 if (vports[i]->stat_data_enabled)
2580 lpfc_vport_reset_stat_data(vports[i]);
2589 for (i = 0; i <= phba->max_vports && vports[
[all...]
H A Dlpfc_scsi.c377 struct lpfc_vport **vports; local
387 vports = lpfc_create_vport_work_array(phba);
388 if (vports != NULL)
389 for (i = 0; i <= phba->max_vports && vports[i] != NULL; i++) {
390 shost = lpfc_shost_from_vport(vports[i]);
404 lpfc_destroy_vport_work_array(phba, vports);
421 struct lpfc_vport **vports; local
426 vports = lpfc_create_vport_work_array(phba);
427 if (vports != NULL)
428 for (i = 0; i <= phba->max_vports && vports[
455 struct lpfc_vport **vports; local
[all...]
H A Dlpfc_bsg.c1500 struct lpfc_vport **vports; local
1536 vports = lpfc_create_vport_work_array(phba);
1537 if (vports) {
1538 for (i = 0; i <= phba->max_vpi && vports[i] != NULL; i++) {
1539 shost = lpfc_shost_from_vport(vports[i]);
1543 lpfc_destroy_vport_work_array(phba, vports);
1609 vports = lpfc_create_vport_work_array(phba);
1610 if (vports) {
1611 for (i = 0; i <= phba->max_vpi && vports[i] != NULL; i++) {
1612 shost = lpfc_shost_from_vport(vports[
[all...]
H A Dlpfc_nportdisc.c511 struct lpfc_vport **vports; local
532 vports = lpfc_create_vport_work_array(phba);
533 if (vports) {
534 for (i = 0; i <= phba->max_vports && vports[i] != NULL;
536 if ((!(vports[i]->fc_flag &
538 (vports[i]->port_state > LPFC_FDISC)) {
543 lpfc_destroy_vport_work_array(phba, vports);
H A Dlpfc_els.c4242 * contains N_Port IDs for other vports on this HBA, it just accepts the
4298 /* If this RSCN just contains NPortIDs for other vports on this HBA,
6264 * This routine cancels the retry delay timers to all the vports.
6269 struct lpfc_vport **vports; local
6274 /* Treat this failure as linkdown for all vports */
6279 vports = lpfc_create_vport_work_array(phba);
6281 if (vports) {
6282 for (i = 0; i <= phba->max_vports && vports[i] != NULL; i++) {
6283 ndlp = lpfc_findnode_did(vports[i], Fabric_DID);
6285 lpfc_cancel_retry_delay_tmo(vports[
[all...]
H A Dlpfc_sli.c11167 struct lpfc_vport **vports; local
11174 vports = lpfc_create_vport_work_array(phba);
11175 if (vports != NULL)
11176 for (i = 0; i <= phba->max_vpi && vports[i] != NULL; i++) {
11178 vports[i]->vfi == lpfc_fc_hdr_get_vfi(fc_hdr) &&
11179 vports[i]->fc_myDID == did) {
11180 vport = vports[i];
11184 lpfc_destroy_vport_work_array(phba, vports);
12065 * port when the host intends to use vports with a
12604 /* Cancel retry delay timers to all vports befor
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/scsi/lpfc/
H A Dlpfc_vport.c757 struct lpfc_vport **vports; local
759 vports = kzalloc((phba->max_vports + 1) * sizeof(struct lpfc_vport *),
761 if (vports == NULL)
773 vports[index++] = port_iterator;
776 return vports;
780 lpfc_destroy_vport_work_array(struct lpfc_hba *phba, struct lpfc_vport **vports) argument
783 if (vports == NULL)
785 for (i = 0; i <= phba->max_vports && vports[i] != NULL; i++)
786 scsi_host_put(lpfc_shost_from_vport(vports[i]));
787 kfree(vports);
[all...]
H A Dlpfc_hbadisc.c498 struct lpfc_vport **vports; local
539 vports = lpfc_create_vport_work_array(phba);
540 if (vports != NULL)
543 * We could have no vports in array if unloading, so if
546 if (vports[i] == NULL && i == 0)
549 vport = vports[i];
573 lpfc_destroy_vport_work_array(phba, vports);
757 struct lpfc_vport **vports; local
776 vports = lpfc_create_vport_work_array(phba);
777 if (vports !
877 struct lpfc_vport **vports; local
2343 struct lpfc_vport **vports; local
3879 struct lpfc_vport **vports; local
5057 struct lpfc_vport **vports; local
5150 struct lpfc_vport **vports; local
[all...]
H A Dlpfc_init.c739 struct lpfc_vport **vports; local
751 vports = lpfc_create_vport_work_array(phba);
752 if (vports != NULL)
754 vports[i] != NULL; i++)
755 lpfc_cleanup_discovery_resources(vports[i]);
756 lpfc_destroy_vport_work_array(phba, vports);
982 struct lpfc_vport **vports; local
989 vports = lpfc_create_vport_work_array(phba);
990 if (vports != NULL)
991 for (i = 0; i <= phba->max_vports && vports[
2357 struct lpfc_vport **vports; local
2442 struct lpfc_vport **vports; local
2504 struct lpfc_vport **vports; local
3330 struct lpfc_vport **vports; local
3357 struct lpfc_vport **vports; local
7696 struct lpfc_vport **vports; local
8333 struct lpfc_vport **vports; local
[all...]
H A Dlpfc_attr.c522 * lpfc_num_discovered_ports_show - Return sum of mapped and unmapped vports
2530 struct lpfc_vport **vports; local
2570 vports = lpfc_create_vport_work_array(phba);
2571 if (vports == NULL)
2574 for (i = 0; i <= phba->max_vports && vports[i] != NULL; i++) {
2575 v_shost = lpfc_shost_from_vport(vports[i]);
2578 vports[i]->stat_data_blocked = 1;
2579 if (vports[i]->stat_data_enabled)
2580 lpfc_vport_reset_stat_data(vports[i]);
2589 for (i = 0; i <= phba->max_vports && vports[
[all...]
H A Dlpfc_scsi.c377 struct lpfc_vport **vports; local
387 vports = lpfc_create_vport_work_array(phba);
388 if (vports != NULL)
389 for (i = 0; i <= phba->max_vports && vports[i] != NULL; i++) {
390 shost = lpfc_shost_from_vport(vports[i]);
404 lpfc_destroy_vport_work_array(phba, vports);
421 struct lpfc_vport **vports; local
426 vports = lpfc_create_vport_work_array(phba);
427 if (vports != NULL)
428 for (i = 0; i <= phba->max_vports && vports[
455 struct lpfc_vport **vports; local
[all...]
H A Dlpfc_bsg.c1500 struct lpfc_vport **vports; local
1536 vports = lpfc_create_vport_work_array(phba);
1537 if (vports) {
1538 for (i = 0; i <= phba->max_vpi && vports[i] != NULL; i++) {
1539 shost = lpfc_shost_from_vport(vports[i]);
1543 lpfc_destroy_vport_work_array(phba, vports);
1609 vports = lpfc_create_vport_work_array(phba);
1610 if (vports) {
1611 for (i = 0; i <= phba->max_vpi && vports[i] != NULL; i++) {
1612 shost = lpfc_shost_from_vport(vports[
[all...]
H A Dlpfc_nportdisc.c511 struct lpfc_vport **vports; local
532 vports = lpfc_create_vport_work_array(phba);
533 if (vports) {
534 for (i = 0; i <= phba->max_vports && vports[i] != NULL;
536 if ((!(vports[i]->fc_flag &
538 (vports[i]->port_state > LPFC_FDISC)) {
543 lpfc_destroy_vport_work_array(phba, vports);
H A Dlpfc_els.c4242 * contains N_Port IDs for other vports on this HBA, it just accepts the
4298 /* If this RSCN just contains NPortIDs for other vports on this HBA,
6264 * This routine cancels the retry delay timers to all the vports.
6269 struct lpfc_vport **vports; local
6274 /* Treat this failure as linkdown for all vports */
6279 vports = lpfc_create_vport_work_array(phba);
6281 if (vports) {
6282 for (i = 0; i <= phba->max_vports && vports[i] != NULL; i++) {
6283 ndlp = lpfc_findnode_did(vports[i], Fabric_DID);
6285 lpfc_cancel_retry_delay_tmo(vports[
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/include/scsi/
H A Dlibfc.h762 * @vports: Child vports if N_Port
784 * @does_npiv: Supports multiple vports
807 struct list_head vports; member in struct:fc_lport
949 INIT_LIST_HEAD(&lport->vports);
H A Dscsi_transport_fc.h506 struct list_head vports; member in struct:fc_host_attrs
566 (((struct fc_host_attrs *)(x)->shost_data)->vports)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/include/scsi/
H A Dlibfc.h762 * @vports: Child vports if N_Port
784 * @does_npiv: Supports multiple vports
807 struct list_head vports; member in struct:fc_lport
949 INIT_LIST_HEAD(&lport->vports);
H A Dscsi_transport_fc.h506 struct list_head vports; member in struct:fc_host_attrs
566 (((struct fc_host_attrs *)(x)->shost_data)->vports)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/scsi/
H A Dscsi_transport_fc.c25 * Add vports, etc
398 INIT_LIST_HEAD(&fc_host->vports);
1837 list_for_each_entry(vport, &fc_host->vports, peers) {
2347 /* Remove any vports */
2348 list_for_each_entry_safe(vport, next_vport, &fc_host->vports, peers)
3291 list_add_tail(&vport->peers, &fc_host->vports);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/scsi/
H A Dscsi_transport_fc.c25 * Add vports, etc
398 INIT_LIST_HEAD(&fc_host->vports);
1837 list_for_each_entry(vport, &fc_host->vports, peers) {
2347 /* Remove any vports */
2348 list_for_each_entry_safe(vport, next_vport, &fc_host->vports, peers)
3291 list_add_tail(&vport->peers, &fc_host->vports);

Completed in 369 milliseconds

12