Home
last modified time | relevance | path

Searched refs:port_iterator (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.15/drivers/scsi/lpfc/
Dlpfc_vport.c737 struct lpfc_vport *port_iterator; in lpfc_create_vport_work_array() local
745 list_for_each_entry(port_iterator, &phba->port_list, listentry) { in lpfc_create_vport_work_array()
746 if (port_iterator->load_flag & FC_UNLOADING) in lpfc_create_vport_work_array()
748 if (!scsi_host_get(lpfc_shost_from_vport(port_iterator))) { in lpfc_create_vport_work_array()
749 lpfc_printf_vlog(port_iterator, KERN_ERR, in lpfc_create_vport_work_array()
755 vports[index++] = port_iterator; in lpfc_create_vport_work_array()
Dlpfc_init.c15559 struct lpfc_vport *port_iterator; in lpfc_dmp_dbg() local
15568 list_for_each_entry(port_iterator, &phba->port_list, listentry) { in lpfc_dmp_dbg()
15569 if (port_iterator->load_flag & FC_UNLOADING) in lpfc_dmp_dbg()
15571 if (scsi_host_get(lpfc_shost_from_vport(port_iterator))) { in lpfc_dmp_dbg()
15572 if (port_iterator->cfg_log_verbose) in lpfc_dmp_dbg()
15575 scsi_host_put(lpfc_shost_from_vport(port_iterator)); in lpfc_dmp_dbg()