Home
last modified time | relevance | path

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

/drivers/scsi/lpfc/
Dlpfc_nvme.h41 ((!ndlp->nrport || (ndlp->upcall_flags & NLP_WAIT_FOR_UNREG)) \
42 ? NULL : ndlp->nrport)
Dlpfc_nvme.c382 ndlp->nrport = NULL; in lpfc_nvme_remoteport_delete()
427 lpfc_rport = axchg->ndlp->nrport; in lpfc_nvme_handle_lsreq()
2505 ndlp->nrport = NULL; in lpfc_nvme_register_port()
2517 (!prev_ndlp->nrport)) in lpfc_nvme_register_port()
2527 ndlp->nrport = rport; in lpfc_nvme_register_port()
2564 struct lpfc_nvme_rport *nrport; in lpfc_nvme_rescan_port() local
2568 nrport = lpfc_ndlp_get_nrport(ndlp); in lpfc_nvme_rescan_port()
2569 if (nrport) in lpfc_nvme_rescan_port()
2570 remoteport = nrport->remoteport; in lpfc_nvme_rescan_port()
2577 nrport, remoteport); in lpfc_nvme_rescan_port()
[all …]
Dlpfc_attr.c168 struct nvme_fc_remote_port *nrport; in lpfc_nvme_info_show() local
374 nrport = NULL; in lpfc_nvme_info_show()
378 nrport = rport->remoteport; in lpfc_nvme_info_show()
380 if (!nrport) in lpfc_nvme_info_show()
384 switch (nrport->port_state) { in lpfc_nvme_info_show()
405 nrport->port_name); in lpfc_nvme_info_show()
410 nrport->node_name); in lpfc_nvme_info_show()
415 nrport->port_id); in lpfc_nvme_info_show()
420 if (nrport->port_role & FC_PORT_ROLE_NVME_INITIATOR) { in lpfc_nvme_info_show()
424 if (nrport->port_role & FC_PORT_ROLE_NVME_TARGET) { in lpfc_nvme_info_show()
[all …]
Dlpfc_disc.h128 struct lpfc_nvme_rport *nrport; /* nvme transport rport struct. */ member
Dlpfc_debugfs.c814 struct nvme_fc_remote_port *nrport = NULL; in lpfc_debugfs_nodelist_data() local
963 nrport = rport->remoteport; in lpfc_debugfs_nodelist_data()
965 nrport = NULL; in lpfc_debugfs_nodelist_data()
967 if (!nrport) in lpfc_debugfs_nodelist_data()
971 switch (nrport->port_state) { in lpfc_debugfs_nodelist_data()
986 statep, nrport->port_id); in lpfc_debugfs_nodelist_data()
988 nrport->port_name); in lpfc_debugfs_nodelist_data()
990 nrport->node_name); in lpfc_debugfs_nodelist_data()
993 if (nrport->port_role & FC_PORT_ROLE_NVME_INITIATOR) in lpfc_debugfs_nodelist_data()
996 if (nrport->port_role & FC_PORT_ROLE_NVME_TARGET) in lpfc_debugfs_nodelist_data()
[all …]
Dlpfc_els.c1762 keep_nrport = new_ndlp->nrport; in lpfc_plogi_confirm_nport()
1763 new_ndlp->nrport = ndlp->nrport; in lpfc_plogi_confirm_nport()
1789 if (ndlp->nrport) { in lpfc_plogi_confirm_nport()
1790 ndlp->nrport = NULL; in lpfc_plogi_confirm_nport()
1851 if (ndlp->nrport) in lpfc_plogi_confirm_nport()
1853 ndlp->nrport = keep_nrport; in lpfc_plogi_confirm_nport()