/titanic_41/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_fcp.c | 51 emlxs_handle_fcp_event(emlxs_hba_t *hba, CHANNEL *cp, IOCBQ *iocbq) in emlxs_handle_fcp_event() argument 78 cmd = &iocbq->iocb; in emlxs_handle_fcp_event() 92 sbp = (emlxs_buf_t *)iocbq->sbp; in emlxs_handle_fcp_event() 224 ndlp = (NODELIST *)iocbq->node; in emlxs_handle_fcp_event() 632 ndlp = (NODELIST *)iocbq->node; in emlxs_handle_fcp_event() 643 ndlp = (NODELIST *)iocbq->node; in emlxs_handle_fcp_event() 727 IOCBQ *iocbq; in emlxs_post_buffer() local 765 if ((iocbq = (IOCBQ *)emlxs_mem_get(hba, MEM_IOCB)) == 0) { in emlxs_post_buffer() 770 iocbq->channel = (void *)&hba->chan[rp->ringno]; in emlxs_post_buffer() 771 iocbq->port = (void *)port; in emlxs_post_buffer() [all …]
|
H A D | emlxs_clock.c | 284 IOCBQ *iocbq; in emlxs_timer_check_pkts() local 322 iocbq = (IOCBQ *)nlp->nlp_ptx[channelno].q_first; in emlxs_timer_check_pkts() 324 while (iocbq) { in emlxs_timer_check_pkts() 325 next = (IOCBQ *)iocbq->next; in emlxs_timer_check_pkts() 326 iocb = &iocbq->iocb; in emlxs_timer_check_pkts() 327 sbp = (emlxs_buf_t *)iocbq->sbp; in emlxs_timer_check_pkts() 344 iocbq->next = NULL; in emlxs_timer_check_pkts() 357 iocbq; in emlxs_timer_check_pkts() 359 (uint8_t *)iocbq; in emlxs_timer_check_pkts() 363 (uint8_t *)iocbq; in emlxs_timer_check_pkts() [all …]
|
H A D | emlxs_els.c | 40 IOCBQ *iocbq, MATCHMAP *mp, uint32_t size); 42 IOCBQ *iocbq, MATCHMAP *mp, uint32_t size); 44 IOCBQ *iocbq, MATCHMAP *mp, uint32_t size); 46 IOCBQ *iocbq, MATCHMAP *mp, uint32_t size); 48 IOCBQ *iocbq, MATCHMAP *mp, uint32_t size); 50 IOCBQ *iocbq, MATCHMAP *mp, uint32_t size); 52 IOCBQ *iocbq, MATCHMAP *mp, uint32_t size); 54 IOCBQ *iocbq, MATCHMAP *mp, uint32_t size); 56 IOCBQ *iocbq, MATCHMAP *mp, uint32_t size); 58 IOCBQ *iocbq, MATCHMAP *mp, uint32_t size); [all …]
|
H A D | emlxs_ip.c | 34 emlxs_ip_handle_event(emlxs_hba_t *hba, CHANNEL *cp, IOCBQ *iocbq) in emlxs_ip_handle_event() argument 41 cmd = &iocbq->iocb; in emlxs_ip_handle_event() 45 sbp = (emlxs_buf_t *)iocbq->sbp; in emlxs_ip_handle_event() 64 port = sbp->iocbq.port; in emlxs_ip_handle_event() 178 emlxs_ip_handle_unsol_req(emlxs_port_t *port, CHANNEL *cp, IOCBQ *iocbq, in emlxs_ip_handle_unsol_req() argument 194 cmd = &iocbq->iocb; in emlxs_ip_handle_unsol_req() 301 emlxs_ip_handle_rcv_seq_list(emlxs_hba_t *hba, CHANNEL *cp, IOCBQ *iocbq) in emlxs_ip_handle_rcv_seq_list() argument 315 cmd = &iocbq->iocb; in emlxs_ip_handle_rcv_seq_list() 329 hbqE = (HBQE_t *)&iocbq->iocb; in emlxs_ip_handle_rcv_seq_list() 379 emlxs_handle_create_xri(emlxs_hba_t *hba, CHANNEL *cp, IOCBQ *iocbq) in emlxs_handle_create_xri() argument [all …]
|
H A D | emlxs_sli3.c | 32 static void emlxs_sli3_issue_iocb(emlxs_hba_t *hba, RING *rp, IOCBQ *iocbq); 145 IOCBQ *iocbq); 149 fc_unsol_buf_t *ubp, IOCBQ *iocbq); 2349 IOCBQ *iocbq; in emlxs_sli2_bde_setup() local 2355 iocb = (IOCB *) & sbp->iocbq; in emlxs_sli2_bde_setup() 2378 iocbq = &sbp->iocbq; in emlxs_sli2_bde_setup() 2380 channelno = (iocbq->flag & IOCB_FCP_CMD)? FC_FCP_RING:cp->channelno; in emlxs_sli2_bde_setup() 2491 IOCBQ *iocbq; in emlxs_sli3_bde_setup() local 2516 iocbq = &sbp->iocbq; in emlxs_sli3_bde_setup() 2517 iocb = (IOCB *)iocbq; in emlxs_sli3_bde_setup() [all …]
|
H A D | emlxs_sli4.c | 133 IOCBQ *iocbq); 137 fc_unsol_buf_t *ubp, IOCBQ *iocbq); 2547 IOCBQ *iocbq; in emlxs_sli4_bde_setup() local 2554 iocbq = (IOCBQ *) &sbp->iocbq; in emlxs_sli4_bde_setup() 2555 wqe = &iocbq->wqe; in emlxs_sli4_bde_setup() 2568 iocbq = &sbp->iocbq; in emlxs_sli4_bde_setup() 2569 if (iocbq->flag & IOCB_FCP_CMD) { in emlxs_sli4_bde_setup() 2668 IOCBQ *iocbq; in emlxs_sli4_fct_bde_setup() local 2680 iocbq = &sbp->iocbq; in emlxs_sli4_fct_bde_setup() 2681 iocb = &iocbq->iocb; in emlxs_sli4_fct_bde_setup() [all …]
|
H A D | emlxs_fct.c | 92 CHANNEL *cp, IOCBQ *iocbq, MATCHMAP *mp, uint32_t size); 94 CHANNEL *cp, IOCBQ *iocbq, MATCHMAP *mp, uint32_t size); 623 IOCBQ iocbq; local 660 bzero((uint8_t *)&iocbq, sizeof (IOCBQ)); 661 iocbq.iocb.un.elsreq.remoteID = fx->fx_sid; 662 iocbq.iocb.un.elsreq.myID = fx->fx_did; 663 iocbq.iocb.ULPCONTEXT = (uint16_t)fx->rsvd2; 676 (void) emlxs_els_reply(port, &iocbq, 680 (void) emlxs_els_reply(port, &iocbq, 688 fx->fx_sid, iocbq.iocb.ULPCONTEXT); [all …]
|
H A D | emlxs_hba.c | 37 IOCBQ *iocbq); 2208 emlxs_handle_async_event(emlxs_hba_t *hba, CHANNEL *cp, IOCBQ *iocbq) in emlxs_handle_async_event() argument 2215 iocb = &iocbq->iocb; in emlxs_handle_async_event() 2344 IOCBQ *iocbq; in emlxs_proc_channel() local 2360 while ((iocbq = rsp_head) != NULL) { in emlxs_proc_channel() 2361 rsp_head = (IOCBQ *) iocbq->next; in emlxs_proc_channel() 2363 emlxs_proc_channel_event(hba, cp, iocbq); in emlxs_proc_channel() 2382 emlxs_proc_channel_event(emlxs_hba_t *hba, CHANNEL *cp, IOCBQ *iocbq) in emlxs_proc_channel_event() argument 2390 iocb = &iocbq->iocb; in emlxs_proc_channel_event() 2396 sbp = (emlxs_buf_t *)iocbq->sbp; in emlxs_proc_channel_event() [all …]
|
H A D | emlxs_solaris.c | 2170 sbp->iocbq.sbp = sbp; in emlxs_fca_pkt_init() 2207 bzero((void *)&sbp->iocbq, sizeof (IOCBQ)); in emlxs_initialize_pkt() 2208 sbp->iocbq.sbp = sbp; in emlxs_initialize_pkt() 3429 IOCBQ *iocbq; in emlxs_fca_pkt_abort() local 3436 iocbq = &sbp->iocbq; in emlxs_fca_pkt_abort() 3511 if (iocbq->flag & IOCB_PRIORITY) { in emlxs_fca_pkt_abort() 3517 if (next == iocbq) { in emlxs_fca_pkt_abort() 3520 prev->next = iocbq->next; in emlxs_fca_pkt_abort() 3524 (void *)iocbq) { in emlxs_fca_pkt_abort() 3530 (void *)iocbq) { in emlxs_fca_pkt_abort() [all …]
|
H A D | emlxs_mem.c | 1111 IOCBQ *iocbq; in emlxs_mem_get() local 1136 iocbq = (IOCBQ *)bp; in emlxs_mem_get() 1137 iocbq->flag |= IOCB_POOL_ALLOCATED; in emlxs_mem_get() 1157 IOCBQ *iocbq; in emlxs_mem_put() local 1183 iocbq = (IOCBQ *)bp; in emlxs_mem_put() 1185 if (!(iocbq->flag & IOCB_POOL_ALLOCATED)) { in emlxs_mem_put() 1191 if (iocbq->sbp) { in emlxs_mem_put()
|
H A D | emlxs_mbox.c | 3000 mbox_iocbq = (IOCBQ *)mbox_mbq->iocbq; in emlxs_mb_fini() 3078 fc_unsol_buf_t *ubp, IOCBQ *iocbq) in emlxs_mb_deferred_cmpl() argument 3119 if (iocbq == (IOCBQ *)1) { in emlxs_mb_deferred_cmpl() 3120 iocbq = NULL; in emlxs_mb_deferred_cmpl() 3124 if (iocbq) { in emlxs_mb_deferred_cmpl() 3129 iocbq->iocb.ULPSTATUS = IOSTAT_LOCAL_REJECT; in emlxs_mb_deferred_cmpl() 3130 iocbq->iocb.un.grsp.perr.statLocalError = in emlxs_mb_deferred_cmpl() 3133 emlxs_proc_channel_event(hba, iocbq->channel, in emlxs_mb_deferred_cmpl() 3134 iocbq); in emlxs_mb_deferred_cmpl() 3136 EMLXS_SLI_ISSUE_IOCB_CMD(hba, iocbq->channel, in emlxs_mb_deferred_cmpl() [all …]
|
H A D | emlxs_dhchap.c | 998 IOCBQ *iocbq, MATCHMAP *mp, in emlxs_dhchap_state_machine() argument 1019 rc = (func) (port, cp, iocbq, mp, ndlp, evt); in emlxs_dhchap_state_machine() 2011 IOCBQ *iocbq = (IOCBQ *) arg2; in emlxs_rcv_auth_msg_auth_negotiate_issue() local 2020 (void) emlxs_els_reply(port, iocbq, ELS_CMD_ACC, ELS_CMD_AUTH, 0, 0); in emlxs_rcv_auth_msg_auth_negotiate_issue() 2736 IOCBQ *iocbq = (IOCBQ *)arg2; in emlxs_rcv_auth_msg_auth_negotiate_cmpl_wait4next() local 2765 (void) emlxs_els_reply(port, iocbq, ELS_CMD_ACC, ELS_CMD_AUTH, 0, 0); in emlxs_rcv_auth_msg_auth_negotiate_cmpl_wait4next() 3204 IOCBQ *iocbq = (IOCBQ *)arg2; in emlxs_rcv_auth_msg_dhchap_reply_cmpl_wait4next() local 3239 (void) emlxs_els_reply(port, iocbq, ELS_CMD_ACC, ELS_CMD_AUTH, 0, 0); in emlxs_rcv_auth_msg_dhchap_reply_cmpl_wait4next() 3692 IOCBQ *iocbq = (IOCBQ *)arg2; in emlxs_rcv_auth_msg_dhchap_challenge_cmpl_wait4next() local 3714 (void) emlxs_els_reply(port, iocbq, ELS_CMD_ACC, ELS_CMD_AUTH, 0, 0); in emlxs_rcv_auth_msg_dhchap_challenge_cmpl_wait4next() [all …]
|
H A D | emlxs_pkt.c | 393 sbp->iocbq.sbp = sbp; in emlxs_pkt_alloc()
|
H A D | emlxs_dfc.c | 9078 emlxs_dfc_handle_event(emlxs_hba_t *hba, CHANNEL *cp, IOCBQ *iocbq) in emlxs_dfc_handle_event() argument 9084 cmd = &iocbq->iocb; in emlxs_dfc_handle_event() 9088 sbp = (emlxs_buf_t *)iocbq->sbp; in emlxs_dfc_handle_event() 9107 iocbq); in emlxs_dfc_handle_event() 9161 emlxs_dfc_handle_unsol_req(emlxs_port_t *port, CHANNEL *cp, IOCBQ *iocbq, in emlxs_dfc_handle_unsol_req() argument 9169 iocb = &iocbq->iocb; in emlxs_dfc_handle_unsol_req()
|
H A D | emlxs_fcf.c | 11984 IOCBQ *iocbq; in emlxs_deferred_cmpl_thread() local 11991 iocbq = (IOCBQ *)cmpl->arg3; in emlxs_deferred_cmpl_thread() 11995 emlxs_mb_deferred_cmpl(port, mbxStatus, sbp, ubp, iocbq); in emlxs_deferred_cmpl_thread() 15393 mbq->iocbq = rpip->cmpl->arg3; in emlxs_rpi_unreg_action() 15733 mbq->iocbq = rpip->cmpl->arg3; in emlxs_rpi_reg_action() 15978 mbq->iocbq = rpip->cmpl->arg3; in emlxs_rpi_resume_action()
|
/titanic_41/usr/src/uts/common/sys/fibre-channel/fca/emlxs/ |
H A D | emlxs_extern.h | 272 CHANNEL *cp, IOCBQ *iocbq, 352 CHANNEL *cp, IOCBQ *iocbq, 359 CHANNEL *cp, IOCBQ *iocbq, 362 IOCBQ *iocbq, uint32_t type, 370 IOCBQ *iocbq, MATCHMAP *mp, 374 IOCBQ *iocbq, MATCHMAP *mp, 382 CHANNEL *cp, IOCBQ *iocbq); 391 CHANNEL *cp, IOCBQ *iocbq, MATCHMAP *mp, 485 fc_unsol_buf_t *ubp, IOCBQ *iocbq); 589 CHANNEL *cp, IOCBQ *iocbq); [all …]
|
H A D | emlxs_fc.h | 48 IOCBQ iocbq; member
|
H A D | emlxs_mbox.h | 4663 void *iocbq; /* ptr to IOCBQ structure */ member
|