Home
last modified time | relevance | path

Searched refs:ndlp (Results 1 – 13 of 13) sorted by relevance

/titanic_41/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_node.c39 emlxs_node_close(emlxs_port_t *port, NODELIST *ndlp, uint32_t channelno, in emlxs_node_close() argument
53 if (!ndlp || !ndlp->nlp_active) { in emlxs_node_close()
71 ndlp->nlp_Xri = 0; in emlxs_node_close()
75 if (ndlp->nlp_flag[channelno] & NLP_CLOSED) { in emlxs_node_close()
76 if (ndlp->nlp_flag[channelno] & NLP_OFFLINE) { in emlxs_node_close()
82 ndlp->nlp_tics[channelno] = hba->timer_tics + timeout; in emlxs_node_close()
83 ndlp->nlp_flag[channelno] |= NLP_OFFLINE; in emlxs_node_close()
88 ndlp, ndlp->nlp_DID, channelno, timeout); in emlxs_node_close()
91 ndlp->nlp_tics[channelno] = hba->timer_tics + timeout; in emlxs_node_close()
96 ndlp, ndlp->nlp_DID, channelno, timeout); in emlxs_node_close()
[all …]
H A Demlxs_dhchap.c54 static uint32_t emlxs_check_dhgp(emlxs_port_t *port, NODELIST *ndlp,
57 emlxs_node_t *ndlp, uint32_t status);
87 static void emlxs_get_random_bytes(NODELIST *ndlp, uint8_t *rdn,
94 emlxs_node_t *ndlp, uint32_t status);
95 static void emlxs_log_auth_event(emlxs_port_t *port, NODELIST *ndlp,
98 emlxs_node_t *ndlp, uint8_t retry);
101 emlxs_port_dhc_t *port_dhc, NODELIST *ndlp, uint32_t tran_id,
108 emlxs_port_dhc_t *port_dhc, NODELIST *ndlp, uint32_t tran_id,
114 NODELIST *ndlp, void *hash_val, uint32_t tran_id,
119 NODELIST *ndlp, uint8_t *dhval, uint32_t *dhvallen,
[all …]
H A Demlxs_ip.c39 NODELIST *ndlp; in emlxs_ip_handle_event() local
143 ndlp = (NODELIST *)sbp->node; in emlxs_ip_handle_event()
144 if ((cmd->ULPCONTEXT == ndlp->nlp_Xri) && in emlxs_ip_handle_event()
145 !(ndlp->nlp_flag[hba->channel_ip] & in emlxs_ip_handle_event()
147 ndlp->nlp_Xri = 0; in emlxs_ip_handle_event()
148 (void) emlxs_create_xri(port, cp, ndlp); in emlxs_ip_handle_event()
185 NODELIST *ndlp; in emlxs_ip_handle_unsol_req() local
228 ndlp = emlxs_node_find_mac(port, mac); in emlxs_ip_handle_unsol_req()
230 if (ndlp) { in emlxs_ip_handle_unsol_req()
231 sid = ndlp->nlp_DID; in emlxs_ip_handle_unsol_req()
[all …]
H A Demlxs_els.c93 NODELIST *ndlp; in emlxs_els_handle_event() local
244 ndlp = emlxs_node_find_did(port, did, 1); in emlxs_els_handle_event()
245 if (ndlp) { in emlxs_els_handle_event()
247 (HBA_WWN *)&ndlp->nlp_portname, in emlxs_els_handle_event()
279 ndlp = emlxs_node_find_did(port, did, 1); in emlxs_els_handle_event()
281 if (ndlp && ndlp->nlp_active) { in emlxs_els_handle_event()
283 emlxs_node_open(port, ndlp, in emlxs_els_handle_event()
285 emlxs_node_open(port, ndlp, in emlxs_els_handle_event()
289 emlxs_dhc_state(port, ndlp, in emlxs_els_handle_event()
301 ndlp = emlxs_node_find_did(port, did, 1); in emlxs_els_handle_event()
[all …]
H A Demlxs_fcp.c59 NODELIST *ndlp; in emlxs_handle_fcp_event() local
224 ndlp = (NODELIST *)iocbq->node; in emlxs_handle_fcp_event()
227 (HBA_WWN *)&ndlp->nlp_portname, sbp->lun); in emlxs_handle_fcp_event()
231 (HBA_WWN *)&ndlp->nlp_portname, sbp->lun); in emlxs_handle_fcp_event()
288 (HBA_WWN *)&ndlp->nlp_portname, sbp->lun, in emlxs_handle_fcp_event()
325 (HBA_WWN *)&ndlp->nlp_portname, sbp->lun, in emlxs_handle_fcp_event()
490 (HBA_WWN *)&ndlp->nlp_portname, sbp->lun, in emlxs_handle_fcp_event()
632 ndlp = (NODELIST *)iocbq->node; in emlxs_handle_fcp_event()
633 emlxs_log_sd_fc_bsy_event(port, (HBA_WWN *)&ndlp->nlp_portname); in emlxs_handle_fcp_event()
643 ndlp = (NODELIST *)iocbq->node; in emlxs_handle_fcp_event()
[all …]
H A Demlxs_solaris.c5672 NODELIST *ndlp; in emlxs_fca_port_manage() local
5692 ndlp = emlxs_node_find_did(port, in emlxs_fca_port_manage()
5698 port->rdid, ndlp); in emlxs_fca_port_manage()
5699 if (ndlp) { in emlxs_fca_port_manage()
5700 bcopy(&ndlp->nlp_portname, in emlxs_fca_port_manage()
5703 bcopy(&ndlp->nlp_nodename, in emlxs_fca_port_manage()
8454 emlxs_select_fcp_channel(emlxs_hba_t *hba, NODELIST *ndlp, int reset) in emlxs_select_fcp_channel() argument
8461 if ((ndlp->nlp_fcp_info & NLP_FCP_2_DEVICE) || reset) { in emlxs_select_fcp_channel()
8472 if (ndlp->nlp_flag[channel] & NLP_CLOSED) { in emlxs_select_fcp_channel()
8481 emlxs_fast_target_reset(emlxs_port_t *port, emlxs_buf_t *sbp, NODELIST *ndlp) in emlxs_fast_target_reset() argument
[all …]
H A Demlxs_diag.c147 NODELIST *ndlp; in emlxs_diag_echo_run() local
164 ndlp = emlxs_node_find_did(port, port->did, 1); in emlxs_diag_echo_run()
166 if (!ndlp || !ndlp->nlp_active) { in emlxs_diag_echo_run()
H A Demlxs_clock.c1444 NODELIST *ndlp = NULL; in emlxs_timer_check_dhchap() local
1447 ndlp = port->node_table[i]; in emlxs_timer_check_dhchap()
1449 if (!ndlp) { in emlxs_timer_check_dhchap()
1454 if (ndlp->node_dhc.nlp_authrsp_tmo && in emlxs_timer_check_dhchap()
1455 (hba->timer_tics >= ndlp->node_dhc.nlp_authrsp_tmo)) { in emlxs_timer_check_dhchap()
1457 (void) emlxs_dhc_authrsp_timeout(port, ndlp, NULL); in emlxs_timer_check_dhchap()
1461 if (ndlp->node_dhc.nlp_reauth_tmo && in emlxs_timer_check_dhchap()
1462 (hba->timer_tics >= ndlp->node_dhc.nlp_reauth_tmo)) { in emlxs_timer_check_dhchap()
1464 emlxs_dhc_reauth_timeout(port, NULL, ndlp); in emlxs_timer_check_dhchap()
H A Demlxs_dfc.c1934 emlxs_node_t *ndlp; in emlxs_fcio_get_logi_params() local
1951 ndlp = emlxs_node_find_wwpn(port, wwpn, 1); in emlxs_fcio_get_logi_params()
1953 if (ndlp) { in emlxs_fcio_get_logi_params()
1954 bcopy((caddr_t)&ndlp->sparm, in emlxs_fcio_get_logi_params()
1976 emlxs_node_t *ndlp; in emlxs_fcio_get_state() local
1994 ndlp = emlxs_node_find_wwpn(port, wwpn, 1); in emlxs_fcio_get_state()
1996 if (ndlp) { in emlxs_fcio_get_state()
2016 emlxs_node_t *ndlp; in emlxs_fcio_get_topology() local
2030 ndlp = emlxs_node_find_did(port, FABRIC_DID, 1); in emlxs_fcio_get_topology()
2033 if (ndlp) { in emlxs_fcio_get_topology()
[all …]
H A Demlxs_fct.c98 emlxs_node_t *ndlp, uint16_t xid, uint32_t class, emlxs_fcp_cmd_t *fcp_cmd);
2038 emlxs_node_t *ndlp; local
2177 ndlp = (emlxs_node_t *)cmd_sbp->node;
2179 if (ndlp) {
2185 hdl = ndlp->nlp_Rpi;
2254 emlxs_node_t *ndlp; local
2275 ndlp = *((emlxs_node_t **)remote_port->rp_fca_private);
2278 if (ndlp) {
2279 (void) EMLXS_SLI_UNREG_NODE(port, ndlp, NULL,
2299 emlxs_node_t *ndlp; local
[all …]
H A Demlxs_sli3.c3587 emlxs_node_t *ndlp; in emlxs_sli3_prep_fct_iocb() local
3616 ndlp = cmd_sbp->node; in emlxs_sli3_prep_fct_iocb()
3621 iocbq->node = (void *)ndlp; in emlxs_sli3_prep_fct_iocb()
3657 ndlp = cmd_sbp->node; in emlxs_sli3_prep_fct_iocb()
3662 iocbq->node = (void *)ndlp; in emlxs_sli3_prep_fct_iocb()
3710 ndlp = *(emlxs_node_t **)fct_cmd->cmd_rp->rp_fca_private; in emlxs_sli3_prep_fct_iocb()
3737 iocbq->node = (void *)ndlp; in emlxs_sli3_prep_fct_iocb()
3777 NODELIST *ndlp; in emlxs_sli3_prep_fcp_iocb() local
3789 ndlp = (NODELIST *)iocbq->node; in emlxs_sli3_prep_fcp_iocb()
3823 iocb->ULPCONTEXT = ndlp->nlp_Rpi; in emlxs_sli3_prep_fcp_iocb()
[all …]
H A Demlxs_sli4.c3853 emlxs_node_t *ndlp; in emlxs_sli4_prep_fct_iocb() local
3877 ndlp = cmd_sbp->node; in emlxs_sli4_prep_fct_iocb()
3878 rpip = EMLXS_NODE_TO_RPI(port, ndlp); in emlxs_sli4_prep_fct_iocb()
3907 iocbq->node = (void *)ndlp; in emlxs_sli4_prep_fct_iocb()
3943 ndlp = cmd_sbp->node; in emlxs_sli4_prep_fct_iocb()
3944 if (!ndlp) { in emlxs_sli4_prep_fct_iocb()
3957 iocbq->node = (void *)ndlp; in emlxs_sli4_prep_fct_iocb()
4011 wqe->ContextTag = ndlp->nlp_Rpi; in emlxs_sli4_prep_fct_iocb()
4057 ndlp = *(emlxs_node_t **)fct_cmd->cmd_rp->rp_fca_private; in emlxs_sli4_prep_fct_iocb()
4058 if (!ndlp) { in emlxs_sli4_prep_fct_iocb()
[all …]
/titanic_41/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_extern.h292 emlxs_node_t *ndlp, uint32_t reason,
295 emlxs_node_t *ndlp, uint32_t state,
327 NODELIST *ndlp, uint32_t ringno);
329 NODELIST *ndlp, uint32_t ringno);
331 NODELIST *ndlp, uint32_t ringno,
341 NODELIST *ndlp);
394 CHANNEL *cp, NODELIST *ndlp);
741 NODELIST *ndlp, uint16_t iotag,
745 NODELIST *ndlp, uint16_t iotag,
748 NODELIST *ndlp, uint16_t xid,
[all …]