Home
last modified time | relevance | path

Searched refs:nrport (Results 1 – 6 of 6) sorted by relevance

/drivers/scsi/lpfc/
Dlpfc_nvme.h37 ((!ndlp->nrport || (ndlp->upcall_flags & NLP_WAIT_FOR_UNREG)) \
38 ? NULL : ndlp->nrport)
Dlpfc_nvme.c343 ndlp->nrport = NULL; in lpfc_nvme_remoteport_delete()
2445 ndlp->nrport = NULL; in lpfc_nvme_register_port()
2457 (!prev_ndlp->nrport)) in lpfc_nvme_register_port()
2467 ndlp->nrport = rport; in lpfc_nvme_register_port()
2504 struct lpfc_nvme_rport *nrport; in lpfc_nvme_rescan_port() local
2508 nrport = lpfc_ndlp_get_nrport(ndlp); in lpfc_nvme_rescan_port()
2509 if (nrport) in lpfc_nvme_rescan_port()
2510 remoteport = nrport->remoteport; in lpfc_nvme_rescan_port()
2517 nrport, remoteport); in lpfc_nvme_rescan_port()
2519 if (!nrport || !remoteport) in lpfc_nvme_rescan_port()
Dlpfc_attr.c171 struct nvme_fc_remote_port *nrport; in lpfc_nvme_info_show() local
377 nrport = NULL; in lpfc_nvme_info_show()
381 nrport = rport->remoteport; in lpfc_nvme_info_show()
383 if (!nrport) in lpfc_nvme_info_show()
387 switch (nrport->port_state) { in lpfc_nvme_info_show()
408 nrport->port_name); in lpfc_nvme_info_show()
413 nrport->node_name); in lpfc_nvme_info_show()
418 nrport->port_id); in lpfc_nvme_info_show()
423 if (nrport->port_role & FC_PORT_ROLE_NVME_INITIATOR) { in lpfc_nvme_info_show()
427 if (nrport->port_role & FC_PORT_ROLE_NVME_TARGET) { in lpfc_nvme_info_show()
[all …]
Dlpfc_disc.h127 struct lpfc_nvme_rport *nrport; /* nvme transport rport struct. */ member
Dlpfc_debugfs.c816 struct nvme_fc_remote_port *nrport = NULL; in lpfc_debugfs_nodelist_data() local
965 nrport = rport->remoteport; in lpfc_debugfs_nodelist_data()
967 nrport = NULL; in lpfc_debugfs_nodelist_data()
969 if (!nrport) in lpfc_debugfs_nodelist_data()
973 switch (nrport->port_state) { in lpfc_debugfs_nodelist_data()
988 statep, nrport->port_id); in lpfc_debugfs_nodelist_data()
990 nrport->port_name); in lpfc_debugfs_nodelist_data()
992 nrport->node_name); in lpfc_debugfs_nodelist_data()
995 if (nrport->port_role & FC_PORT_ROLE_NVME_INITIATOR) in lpfc_debugfs_nodelist_data()
998 if (nrport->port_role & FC_PORT_ROLE_NVME_TARGET) in lpfc_debugfs_nodelist_data()
[all …]
Dlpfc_els.c1752 keep_nrport = new_ndlp->nrport; in lpfc_plogi_confirm_nport()
1753 new_ndlp->nrport = ndlp->nrport; in lpfc_plogi_confirm_nport()
1779 if (ndlp->nrport) { in lpfc_plogi_confirm_nport()
1780 ndlp->nrport = NULL; in lpfc_plogi_confirm_nport()
1841 if (ndlp->nrport) in lpfc_plogi_confirm_nport()
1843 ndlp->nrport = keep_nrport; in lpfc_plogi_confirm_nport()