/drivers/scsi/lpfc/ |
H A D | lpfc_nportdisc.c | 48 lpfc_check_adisc(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, argument 52 if (!(ndlp->nlp_flag & NLP_RPI_REGISTERED)) 58 if (memcmp(nn, &ndlp->nlp_nodename, sizeof (struct lpfc_name))) 61 if (memcmp(pn, &ndlp->nlp_portname, sizeof (struct lpfc_name))) 69 lpfc_check_sparm(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, argument 147 memcpy(&ndlp->nlp_nodename, &sp->nodeName, sizeof (struct lpfc_name)); 148 memcpy(&ndlp->nlp_portname, &sp->portName, sizeof (struct lpfc_name)); 155 ndlp->nlp_DID, 204 lpfc_els_abort(struct lpfc_hba *phba, struct lpfc_nodelist *ndlp) argument 212 lpfc_printf_vlog(ndlp 273 lpfc_rcv_plogi(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, struct lpfc_iocbq *cmdiocb) argument 495 struct lpfc_nodelist *ndlp; local 514 lpfc_rcv_padisc(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, struct lpfc_iocbq *cmdiocb) argument 603 lpfc_rcv_logo(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, struct lpfc_iocbq *cmdiocb, uint32_t els_cmd) argument 690 lpfc_rcv_prli(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, struct lpfc_iocbq *cmdiocb) argument 734 lpfc_disc_set_adisc(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) argument 791 lpfc_disc_illegal(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 817 lpfc_cmpl_plogi_illegal(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 838 lpfc_rcv_plogi_unused_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 852 lpfc_rcv_els_unused_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 860 lpfc_rcv_logo_unused_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 875 lpfc_cmpl_logo_unused_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 882 lpfc_device_rm_unused_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 889 lpfc_device_recov_unused_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 897 lpfc_rcv_plogi_plogi_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 948 lpfc_rcv_prli_plogi_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 962 lpfc_rcv_logo_plogi_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 975 lpfc_rcv_els_plogi_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1004 lpfc_cmpl_plogi_plogi_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1153 lpfc_cmpl_logo_plogi_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1160 lpfc_cmpl_reglogin_plogi_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1179 lpfc_device_rm_plogi_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1199 lpfc_device_recov_plogi_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1226 lpfc_rcv_plogi_adisc_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1256 lpfc_rcv_prli_adisc_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1266 lpfc_rcv_logo_adisc_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1282 lpfc_rcv_padisc_adisc_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1295 lpfc_rcv_prlo_adisc_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1308 lpfc_cmpl_adisc_adisc_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1365 lpfc_device_rm_adisc_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1385 lpfc_device_recov_adisc_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1412 lpfc_rcv_plogi_reglogin_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1424 lpfc_rcv_prli_reglogin_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1436 lpfc_rcv_logo_reglogin_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1481 lpfc_rcv_padisc_reglogin_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1493 lpfc_rcv_prlo_reglogin_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1506 lpfc_cmpl_reglogin_reglogin_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1567 lpfc_device_rm_reglogin_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1586 lpfc_device_recov_reglogin_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1610 lpfc_rcv_plogi_prli_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1622 lpfc_rcv_prli_prli_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1632 lpfc_rcv_logo_prli_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1645 lpfc_rcv_padisc_prli_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1660 lpfc_rcv_prlo_prli_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1670 lpfc_cmpl_prli_prli_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1751 lpfc_device_rm_prli_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1788 lpfc_device_recov_prli_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1815 lpfc_rcv_plogi_logo_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1829 lpfc_rcv_prli_logo_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1843 lpfc_rcv_logo_logo_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1857 lpfc_rcv_padisc_logo_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1871 lpfc_rcv_prlo_logo_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1885 lpfc_cmpl_logo_logo_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1900 lpfc_device_rm_logo_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1913 lpfc_device_recov_logo_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1926 lpfc_rcv_plogi_unmap_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1936 lpfc_rcv_prli_unmap_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1947 lpfc_rcv_logo_unmap_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1957 lpfc_rcv_padisc_unmap_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1967 lpfc_rcv_prlo_unmap_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1977 lpfc_device_recov_unmap_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1995 lpfc_rcv_plogi_mapped_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 2005 lpfc_rcv_prli_mapped_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 2015 lpfc_rcv_logo_mapped_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 2025 lpfc_rcv_padisc_mapped_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 2036 lpfc_rcv_prlo_mapped_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 2052 lpfc_device_recov_mapped_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 2069 lpfc_rcv_plogi_npr_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 2095 lpfc_rcv_prli_npr_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 2125 lpfc_rcv_logo_npr_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 2135 lpfc_rcv_padisc_npr_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 2163 lpfc_rcv_prlo_npr_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 2192 lpfc_cmpl_plogi_npr_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 2213 lpfc_cmpl_prli_npr_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 2231 lpfc_cmpl_logo_npr_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 2247 lpfc_cmpl_adisc_npr_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 2265 lpfc_cmpl_reglogin_npr_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 2287 lpfc_device_rm_npr_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 2303 lpfc_device_recov_npr_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 2509 lpfc_disc_state_machine(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument [all...] |
H A D | lpfc_disc.h | 71 #define LPFC_SLI4_MAX_XRI 1024 /* Used to make the ndlp's xri_bitmap */ 103 uint16_t nlp_usg_map; /* ndlp management usage bitmap */ 104 #define NLP_USG_NODE_ACT_BIT 0x1 /* Indicate ndlp is actively used */ 105 #define NLP_USG_IACT_REQ_BIT 0x2 /* Request to inactivate ndlp */ 106 #define NLP_USG_FREE_REQ_BIT 0x4 /* Request to invoke ndlp memory free */ 107 #define NLP_USG_FREE_ACK_BIT 0x8 /* Indicate ndlp memory free invoked */ 130 struct lpfc_nodelist *ndlp; member in struct:lpfc_node_rrq 143 #define NLP_DEFER_RM 0x00010000 /* Remove this ndlp if no longer used */ 164 /* ndlp usage management macros */ 165 #define NLP_CHK_NODE_ACT(ndlp) (((ndl [all...] |
H A D | lpfc_els.c | 52 struct lpfc_nodelist *ndlp, uint8_t retry); 127 * @ndlp: pointer to a node-list data structure. 141 * ndlp is incremented by 1 and the reference to the ndlp is put into 142 * context1 of the IOCB data structure for this IOCB to hold the ndlp 152 struct lpfc_nodelist *ndlp, uint32_t did, 298 /* prevent preparing iocb with NULL ndlp reference */ 299 elsiocb->context1 = lpfc_nlp_get(ndlp); 326 elscmd, ndlp->nlp_DID, elsiocb->iotag, 352 * active ndlp nod 150 lpfc_prep_els_iocb(struct lpfc_vport *vport, uint8_t expectRsp, uint16_t cmdSize, uint8_t retry, struct lpfc_nodelist *ndlp, uint32_t did, uint32_t elscmd) argument 369 struct lpfc_nodelist *ndlp; local 459 struct lpfc_nodelist *ndlp; local 641 lpfc_cmpl_els_flogi_fabric(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, struct serv_parm *sp, IOCB_t *irsp) argument 819 lpfc_cmpl_els_flogi_nport(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, struct serv_parm *sp) argument 975 struct lpfc_nodelist *ndlp = cmdiocb->context1; local 1201 lpfc_issue_els_flogi(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, uint8_t retry) argument 1311 struct lpfc_nodelist *ndlp; local 1360 struct lpfc_nodelist *ndlp; local 1414 struct lpfc_nodelist *ndlp; local 1508 lpfc_plogi_confirm_nport(struct lpfc_hba *phba, uint32_t *prsp, struct lpfc_nodelist *ndlp) argument 1754 struct lpfc_nodelist *ndlp; local 1830 struct lpfc_nodelist *ndlp; local 1959 struct lpfc_nodelist *ndlp; local 2037 struct lpfc_nodelist *ndlp; local 2113 lpfc_issue_els_prli(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, uint8_t retry) argument 2311 struct lpfc_nodelist *ndlp; local 2401 lpfc_issue_els_adisc(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, uint8_t retry) argument 2468 struct lpfc_nodelist *ndlp = (struct lpfc_nodelist *) cmdiocb->context1; local 2598 lpfc_issue_els_logo(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, uint8_t retry) argument 2741 struct lpfc_nodelist *ndlp; local 2838 struct lpfc_nodelist *ndlp; local 2986 struct lpfc_nodelist *ndlp = (struct lpfc_nodelist *) ptr; local 3021 lpfc_els_retry_delay_handler(struct lpfc_nodelist *ndlp) argument 3111 struct lpfc_nodelist *ndlp = (struct lpfc_nodelist *) cmdiocb->context1; local 3540 struct lpfc_nodelist *ndlp; local 3623 struct lpfc_nodelist *ndlp = (struct lpfc_nodelist *) cmdiocb->context1; local 3686 struct lpfc_nodelist *ndlp = (struct lpfc_nodelist *) pmb->context2; local 3730 struct lpfc_nodelist *ndlp = (struct lpfc_nodelist *) cmdiocb->context1; local 3907 lpfc_els_rsp_acc(struct lpfc_vport *vport, uint32_t flag, struct lpfc_iocbq *oldiocb, struct lpfc_nodelist *ndlp, LPFC_MBOXQ_t *mbox) argument 4045 lpfc_els_rsp_reject(struct lpfc_vport *vport, uint32_t rejectError, struct lpfc_iocbq *oldiocb, struct lpfc_nodelist *ndlp, LPFC_MBOXQ_t *mbox) argument 4121 lpfc_els_rsp_adisc_acc(struct lpfc_vport *vport, struct lpfc_iocbq *oldiocb, struct lpfc_nodelist *ndlp) argument 4195 lpfc_els_rsp_prli_acc(struct lpfc_vport *vport, struct lpfc_iocbq *oldiocb, struct lpfc_nodelist *ndlp) argument 4300 lpfc_els_rsp_rnid_acc(struct lpfc_vport *vport, uint8_t format, struct lpfc_iocbq *oldiocb, struct lpfc_nodelist *ndlp) argument 4384 lpfc_els_clear_rrq(struct lpfc_vport *vport, struct lpfc_iocbq *iocb, struct lpfc_nodelist *ndlp) argument 4434 lpfc_els_rsp_echo_acc(struct lpfc_vport *vport, uint8_t *data, struct lpfc_iocbq *oldiocb, struct lpfc_nodelist *ndlp) argument 4507 struct lpfc_nodelist *ndlp, *next_ndlp; local 4565 struct lpfc_nodelist *ndlp, *next_ndlp; local 4731 struct lpfc_nodelist *ndlp = NULL; local 4812 lpfc_els_rcv_rscn(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, struct lpfc_nodelist *ndlp) argument 5004 struct lpfc_nodelist *ndlp; local 5099 lpfc_els_rcv_flogi(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, struct lpfc_nodelist *ndlp) argument 5277 lpfc_els_rcv_rnid(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, struct lpfc_nodelist *ndlp) argument 5324 lpfc_els_rcv_echo(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, struct lpfc_nodelist *ndlp) argument 5352 lpfc_els_rcv_lirr(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, struct lpfc_nodelist *ndlp) argument 5383 lpfc_els_rcv_rrq(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, struct lpfc_nodelist *ndlp) argument 5418 struct lpfc_nodelist *ndlp; local 5505 struct lpfc_nodelist *ndlp; local 5593 lpfc_els_rcv_rls(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, struct lpfc_nodelist *ndlp) argument 5659 lpfc_els_rcv_rtv(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, struct lpfc_nodelist *ndlp) argument 5743 lpfc_els_rcv_rps(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, struct lpfc_nodelist *ndlp) argument 5816 lpfc_issue_els_rrq(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, uint32_t did, struct lpfc_node_rrq *rrq) argument 5884 struct lpfc_nodelist *ndlp = lpfc_findnode_did(rrq->vport, local 5913 lpfc_els_rsp_rpl_acc(struct lpfc_vport *vport, uint16_t cmdsize, struct lpfc_iocbq *oldiocb, struct lpfc_nodelist *ndlp) argument 5982 lpfc_els_rcv_rpl(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, struct lpfc_nodelist *ndlp) argument 6048 lpfc_els_rcv_farp(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, struct lpfc_nodelist *ndlp) argument 6121 lpfc_els_rcv_farpr(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, struct lpfc_nodelist *ndlp) argument 6300 struct lpfc_nodelist *ndlp; local 6473 struct lpfc_nodelist *ndlp; local 6531 lpfc_send_els_event(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, uint32_t *payload) argument 6620 struct lpfc_nodelist *ndlp; local 7109 struct lpfc_nodelist *ndlp, *ndlp_fdmi; local 7212 struct lpfc_nodelist *ndlp = (struct lpfc_nodelist *) pmb->context2; local 7314 lpfc_register_new_vport(struct lpfc_hba *phba, struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) argument 7363 struct lpfc_nodelist *ndlp; local 7396 struct lpfc_nodelist *ndlp; local 7465 struct lpfc_nodelist *ndlp = (struct lpfc_nodelist *) cmdiocb->context1; local 7602 lpfc_issue_els_fdisc(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, uint8_t retry) argument 7702 struct lpfc_nodelist *ndlp; local 7748 lpfc_issue_els_npiv_logo(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) argument 8091 lpfc_fabric_abort_nport(struct lpfc_nodelist *ndlp) argument 8181 struct lpfc_nodelist *ndlp; local 8238 lpfc_sli_abts_recover_port(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) argument [all...] |
H A D | lpfc_hbadisc.c | 73 struct lpfc_nodelist * ndlp; local 77 ndlp = rdata->pnode; 79 if (!ndlp || !NLP_CHK_NODE_ACT(ndlp)) { 87 phba = ndlp->phba; 89 lpfc_debugfs_disc_trc(ndlp->vport, LPFC_DISC_TRC_RPORT, 91 ndlp->nlp_sid, ndlp->nlp_DID, ndlp->nlp_flag); 93 if (ndlp 107 struct lpfc_nodelist * ndlp; local 212 lpfc_dev_loss_tmo_handler(struct lpfc_nodelist *ndlp) argument 536 struct lpfc_nodelist *ndlp; local 827 struct lpfc_nodelist *ndlp, *next_ndlp; local 966 struct lpfc_nodelist *ndlp; local 2775 struct lpfc_nodelist *ndlp; local 3436 struct lpfc_nodelist *ndlp = (struct lpfc_nodelist *) pmb->context2; local 3738 struct lpfc_nodelist *ndlp; local 3816 struct lpfc_nodelist *ndlp = (struct lpfc_nodelist *) pmb->context2; local 3890 lpfc_register_remote_port(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) argument 3956 lpfc_unregister_remote_port(struct lpfc_nodelist *ndlp) argument 4012 lpfc_nlp_state_cleanup(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, int old_state, int new_state) argument 4099 lpfc_nlp_set_state(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, int state) argument 4137 lpfc_enqueue_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) argument 4149 lpfc_dequeue_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) argument 4164 lpfc_disable_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) argument 4187 lpfc_initialize_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, uint32_t did) argument 4206 lpfc_enable_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, int state) argument 4267 lpfc_drop_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) argument 4366 lpfc_check_sli_ndlp(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, struct lpfc_iocbq *iocb, struct lpfc_nodelist *ndlp) argument 4412 lpfc_no_rpi(struct lpfc_hba *phba, struct lpfc_nodelist *ndlp) argument 4470 struct lpfc_nodelist *ndlp; local 4489 lpfc_unreg_rpi(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) argument 4547 struct lpfc_nodelist *ndlp; local 4634 lpfc_cleanup_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) argument 4730 lpfc_nlp_remove(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) argument 4778 lpfc_matchdid(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, uint32_t did) argument 4826 struct lpfc_nodelist *ndlp; local 4855 struct lpfc_nodelist *ndlp; local 4868 struct lpfc_nodelist *ndlp; local 5131 lpfc_free_tx(struct lpfc_hba *phba, struct lpfc_nodelist *ndlp) argument 5179 struct lpfc_nodelist *ndlp, *next_ndlp; local 5246 struct lpfc_nodelist *ndlp, *next_ndlp; local 5476 struct lpfc_nodelist *ndlp = (struct lpfc_nodelist *) pmb->context2; local 5512 lpfc_filter_by_rpi(struct lpfc_nodelist *ndlp, void *param) argument 5524 lpfc_filter_by_wwpn(struct lpfc_nodelist *ndlp, void *param) argument 5533 struct lpfc_nodelist *ndlp; local 5568 struct lpfc_nodelist *ndlp; local 5585 struct lpfc_nodelist *ndlp; local 5644 lpfc_nlp_init(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, uint32_t did) argument 5678 struct lpfc_nodelist *ndlp = container_of(kref, struct lpfc_nodelist, local 5717 lpfc_nlp_get(struct lpfc_nodelist *ndlp) argument 5755 lpfc_nlp_put(struct lpfc_nodelist *ndlp) argument 5823 lpfc_nlp_not_used(struct lpfc_nodelist *ndlp) argument 5850 struct lpfc_nodelist *ndlp; local 5955 struct lpfc_nodelist *ndlp; local [all...] |
H A D | lpfc_vport.c | 293 struct lpfc_nodelist *ndlp; local 439 ndlp = lpfc_findnode_did(phba->pport, Fabric_DID); 440 if (ndlp && NLP_CHK_NODE_ACT(ndlp) && 441 ndlp->nlp_state == NLP_STE_UNMAPPED_NODE) { 468 struct lpfc_nodelist *ndlp = NULL, *next_ndlp = NULL; local 472 ndlp = lpfc_findnode_did(vport, Fabric_DID); 473 if (ndlp && NLP_CHK_NODE_ACT(ndlp) 477 if (!lpfc_issue_els_npiv_logo(vport, ndlp)) 520 struct lpfc_nodelist *ndlp = NULL; local 569 struct lpfc_nodelist *ndlp = NULL; local 839 struct lpfc_nodelist *ndlp = NULL, *next_ndlp = NULL; local 861 struct lpfc_nodelist *ndlp = NULL, *next_ndlp = NULL; local 894 struct lpfc_nodelist *ndlp = NULL, *next_ndlp = NULL; local [all...] |
H A D | lpfc_ct.c | 264 if (ctiocb->context_un.ndlp) { 265 lpfc_nlp_put(ctiocb->context_un.ndlp); 266 ctiocb->context_un.ndlp = NULL; 294 struct lpfc_nodelist *ndlp, uint32_t usr_flg, uint32_t num_entry, 323 geniocb->context_un.ndlp = lpfc_nlp_get(ndlp); 342 icmd->ulpContext = ndlp->nlp_rpi; 344 icmd->ulpContext = phba->sli4_hba.rpi_ids[ndlp->nlp_rpi]; 356 ndlp->nlp_DID, icmd->ulpIoTag, 374 struct lpfc_dmabuf *bmp, struct lpfc_nodelist *ndlp, 290 lpfc_gen_req(struct lpfc_vport *vport, struct lpfc_dmabuf *bmp, struct lpfc_dmabuf *inp, struct lpfc_dmabuf *outp, void (*cmpl) (struct lpfc_hba *, struct lpfc_iocbq *, struct lpfc_iocbq *), struct lpfc_nodelist *ndlp, uint32_t usr_flg, uint32_t num_entry, uint32_t tmo, uint8_t retry) argument 373 lpfc_ct_cmd(struct lpfc_vport *vport, struct lpfc_dmabuf *inmp, struct lpfc_dmabuf *bmp, struct lpfc_nodelist *ndlp, void (*cmpl) (struct lpfc_hba *, struct lpfc_iocbq *, struct lpfc_iocbq *), uint32_t rsp_size, uint8_t retry) argument 429 struct lpfc_nodelist *ndlp = NULL; local 581 struct lpfc_nodelist *ndlp; local 742 struct lpfc_nodelist *ndlp; local 863 struct lpfc_nodelist *ndlp; local 1093 struct lpfc_nodelist * ndlp; local 1294 struct lpfc_nodelist *ndlp; local 1351 lpfc_fdmi_cmd(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, int cmdcode) argument 1809 struct lpfc_nodelist *ndlp; local [all...] |
H A D | lpfc_attr.c | 2565 * @ndlp: pointer to fcp target node. 2945 * Update all the ndlp's dev loss tmo with the vport devloss tmo value. 2951 struct lpfc_nodelist *ndlp; local 2955 list_for_each_entry(ndlp, &vport->fc_nodes, nlp_listp) 2956 if (NLP_CHK_NODE_ACT(ndlp) && ndlp->rport) 2957 ndlp->rport->dev_loss_tmo = vport->cfg_devloss_tmo; 3615 struct lpfc_nodelist *ndlp = NULL; local 3624 list_for_each_entry(ndlp, &vport->fc_nodes, nlp_listp) { 3625 if (!NLP_CHK_NODE_ACT(ndlp) || !ndl 4479 struct lpfc_nodelist *ndlp, *next_ndlp; local 5528 struct lpfc_nodelist *ndlp; local 5551 struct lpfc_nodelist *ndlp = lpfc_get_node_by_target(starget); local 5565 struct lpfc_nodelist *ndlp = lpfc_get_node_by_target(starget); local 5580 struct lpfc_nodelist *ndlp = lpfc_get_node_by_target(starget); local [all...] |
H A D | lpfc_scsi.c | 249 * @ndlp: Pointer to FC node associated with the target. 260 struct lpfc_nodelist *ndlp, 279 if (ndlp && NLP_CHK_NODE_ACT(ndlp)) { 281 &ndlp->nlp_portname, sizeof(struct lpfc_name)); 283 &ndlp->nlp_nodename, sizeof(struct lpfc_name)); 637 * lpfc_sli4_vport_delete_fcp_xri_aborted -Remove all ndlp references for vport 641 * for an ndlp on removal. 680 struct lpfc_nodelist *ndlp; local 695 ndlp 258 lpfc_send_sdev_queuedepth_change_event(struct lpfc_hba *phba, struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, uint64_t lun, uint32_t old_val, uint32_t new_val) argument 1093 lpfc_get_scsi_buf_s3(struct lpfc_hba *phba, struct lpfc_nodelist *ndlp) argument 1126 lpfc_get_scsi_buf_s4(struct lpfc_hba *phba, struct lpfc_nodelist *ndlp) argument 1175 lpfc_get_scsi_buf(struct lpfc_hba *phba, struct lpfc_nodelist *ndlp) argument 1422 struct lpfc_nodelist *ndlp; local 4410 struct lpfc_nodelist *ndlp = rdata->pnode; local 4639 struct lpfc_nodelist *ndlp; local 5395 struct lpfc_nodelist *ndlp = NULL; local [all...] |
H A D | lpfc_bsg.c | 74 struct lpfc_nodelist *ndlp; member in struct:lpfc_bsg_iocb 303 struct lpfc_nodelist *ndlp; local 326 ndlp = iocb->ndlp; 364 lpfc_nlp_put(ndlp); 386 struct lpfc_nodelist *ndlp = rdata->pnode; local 412 if (!lpfc_nlp_get(ndlp)) { 417 if (ndlp->nlp_flag & NLP_ELS_SND_MASK) { 477 cmd->ulpContext = ndlp->nlp_rpi; 479 cmd->ulpContext = phba->sli4_hba.rpi_ids[ndlp 575 struct lpfc_nodelist *ndlp; local 656 struct lpfc_nodelist *ndlp = rdata->pnode; local 1388 struct lpfc_nodelist *ndlp; local 1469 struct lpfc_nodelist *ndlp = NULL; local [all...] |
H A D | lpfc_sli.c | 642 struct lpfc_nodelist *ndlp = NULL; local 644 if ((rrq->vport) && NLP_CHK_NODE_ACT(rrq->ndlp)) 645 ndlp = lpfc_findnode_did(rrq->vport, rrq->nlp_DID); 648 * we should use the ndlp from the findnode if it is 651 if ((!ndlp) && rrq->ndlp) 652 ndlp = rrq->ndlp; 654 if (!ndlp) 657 if (test_and_clear_bit(xritag, ndlp 759 lpfc_cleanup_vports_rrqs(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) argument 797 lpfc_test_rrq_active(struct lpfc_hba *phba, struct lpfc_nodelist *ndlp, uint16_t xritag) argument 826 lpfc_set_rrq_active(struct lpfc_hba *phba, struct lpfc_nodelist *ndlp, uint16_t xritag, uint16_t rxid, uint16_t send_rrq) argument 914 struct lpfc_nodelist *ndlp; local 2160 struct lpfc_nodelist *ndlp; local 8157 struct lpfc_nodelist *ndlp; local 8915 struct lpfc_nodelist *ndlp = NULL; local 8958 lpfc_sli4_abts_err_handler(struct lpfc_hba *phba, struct lpfc_nodelist *ndlp, struct sli4_wcqe_xri_aborted *axri) argument 10137 struct lpfc_nodelist *ndlp; local 10878 struct lpfc_nodelist *ndlp; local 11629 struct lpfc_nodelist *ndlp; local 14988 struct lpfc_nodelist *ndlp; local 15040 struct lpfc_nodelist *ndlp; local 15779 lpfc_sli4_resume_rpi(struct lpfc_nodelist *ndlp, void (*cmpl)(struct lpfc_hba *, LPFC_MBOXQ_t *), void *arg) argument 16836 struct lpfc_nodelist *ndlp; local [all...] |
H A D | lpfc_init.c | 2509 struct lpfc_nodelist *ndlp, *next_ndlp; local 2515 list_for_each_entry_safe(ndlp, next_ndlp, &vport->fc_nodes, nlp_listp) { 2516 if (!NLP_CHK_NODE_ACT(ndlp)) { 2517 ndlp = lpfc_enable_node(vport, ndlp, 2519 if (!ndlp) 2522 NLP_SET_FREE_REQ(ndlp); 2524 /* Trigger the release of the ndlp memory */ 2525 lpfc_nlp_put(ndlp); 2529 if (NLP_CHK_FREE_REQ(ndlp)) { 2746 struct lpfc_nodelist *ndlp, *next_ndlp; local 2881 struct lpfc_nodelist *ndlp, *next_ndlp; local 4133 struct lpfc_nodelist *ndlp; local 4212 struct lpfc_nodelist *ndlp; local [all...] |
H A D | lpfc_debugfs.c | 533 struct lpfc_nodelist *ndlp; local 539 list_for_each_entry(ndlp, &vport->fc_nodes, nlp_listp) { 546 switch (ndlp->nlp_state) { 578 statep, ndlp->nlp_DID); 579 name = (unsigned char *)&ndlp->nlp_portname; 584 name = (unsigned char *)&ndlp->nlp_nodename; 589 if (ndlp->nlp_flag & NLP_RPI_REGISTERED) 591 ndlp->nlp_rpi); 595 ndlp->nlp_flag); 596 if (!ndlp [all...] |
H A D | lpfc_sli.h | 94 struct lpfc_nodelist *ndlp; member in union:lpfc_iocbq::__anon5772
|
H A D | lpfc_mbox.c | 2313 * @ndlp: The nodelist structure that describes the RPI to resume. 2319 lpfc_resume_rpi(struct lpfcMboxq *mbox, struct lpfc_nodelist *ndlp) argument 2321 struct lpfc_hba *phba = ndlp->phba; 2328 phba->sli4_hba.rpi_ids[ndlp->nlp_rpi]); 2330 resume_rpi->event_tag = ndlp->phba->fc_eventTag;
|
H A D | lpfc_crtn.h | 101 int lpfc_nlp_not_used(struct lpfc_nodelist *ndlp);
|
H A D | lpfc_sli4.h | 630 struct lpfc_nodelist *ndlp; /* ndlp associated with IO */ member in struct:lpfc_sglq
|