/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/ |
H A D | emlxs_extern.h | 163 extern void emlxs_set_pkt_state(emlxs_buf_t *sbp, 178 extern void emlxs_pkt_complete(emlxs_buf_t *sbp, 183 extern void emlxs_update_sd_bucket(emlxs_buf_t *sbp); 190 extern void emlxs_swap_fcp_pkt(emlxs_buf_t *sbp); 191 extern void emlxs_swap_ct_pkt(emlxs_buf_t *sbp); 192 extern void emlxs_swap_els_pkt(emlxs_buf_t *sbp); 196 extern void emlxs_unswap_pkt(emlxs_buf_t *sbp); 248 emlxs_buf_t *sbp); 478 emlxs_buf_t *sbp); 484 uint32_t mbxStatus, emlxs_buf_t *sbp, [all …]
|
H A D | emlxs_fc.h | 133 } emlxs_buf_t; typedef 187 #define STALE_PACKET ((emlxs_buf_t *)0xFFFFFFFF) 1126 emlxs_buf_t *fct_wait_head; 1127 emlxs_buf_t *fct_wait_tail; 1142 emlxs_buf_t *clean_address_sbp; 1928 emlxs_buf_t *iodone_list; /* fc_packet being deferred */ 1929 emlxs_buf_t *iodone_tail; /* fc_packet being deferred */ 1947 emlxs_buf_t **fc_table; /* sc_buf pointers indexed by */
|
H A D | emlxs_fcf.h | 108 emlxs_buf_t *sbp;
|
H A D | emlxs_os.h | 407 #define PKT2PRIV(pkt) ((emlxs_buf_t *)(pkt)->pkt_fca_private)
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_pkt.c | 50 emlxs_buf_t *sbp; in emlxs_pkt_thread() 124 kmem_free(pkt, (sizeof (fc_packet_t) + sizeof (emlxs_buf_t) + in emlxs_pkt_free() 127 kmem_free(pkt, (sizeof (fc_packet_t) + sizeof (emlxs_buf_t))); in emlxs_pkt_free() 156 emlxs_buf_t *sbp; in emlxs_pkt_alloc() 162 sizeof (fc_packet_t) + sizeof (emlxs_buf_t) + in emlxs_pkt_alloc() 167 pkt_size = sizeof (fc_packet_t) + sizeof (emlxs_buf_t); in emlxs_pkt_alloc() 192 sizeof (emlxs_buf_t)); in emlxs_pkt_alloc() 387 bzero((void *)sbp, sizeof (emlxs_buf_t)); in emlxs_pkt_alloc()
|
H A D | emlxs_fct.c | 46 static emlxs_buf_t *emlxs_fct_cmd_init(emlxs_port_t *port, 87 static emlxs_buf_t *emlxs_fct_pkt_init(emlxs_port_t *port, 98 emlxs_buf_t *cmd_sbp); 761 emlxs_buf_t *cmd_sbp; in emlxs_fct_unsol_flush() 762 emlxs_buf_t *next; in emlxs_fct_unsol_flush() 1186 fct_port->port_fca_fcp_cmd_size = sizeof (emlxs_buf_t); in emlxs_fct_bind_port() 1188 fct_port->port_fca_sol_els_private_size = sizeof (emlxs_buf_t); in emlxs_fct_bind_port() 1189 fct_port->port_fca_sol_ct_private_size = sizeof (emlxs_buf_t); in emlxs_fct_bind_port() 1702 emlxs_buf_t *cmd_sbp; in emlxs_fct_send_cmd_rsp() 1721 cmd_sbp = (emlxs_buf_t *)fct_cmd->cmd_fca_private; in emlxs_fct_send_cmd_rsp() [all …]
|
H A D | emlxs_ip.c | 38 emlxs_buf_t *sbp; in emlxs_ip_handle_event() 45 sbp = (emlxs_buf_t *)iocbq->sbp; in emlxs_ip_handle_event() 385 emlxs_buf_t *sbp; in emlxs_handle_create_xri() 390 sbp = (emlxs_buf_t *)iocbq->sbp; in emlxs_handle_create_xri() 462 emlxs_buf_t *sbp; in emlxs_create_xri() 483 sbp = (emlxs_buf_t *)pkt->pkt_fca_private; in emlxs_create_xri()
|
H A D | emlxs_fcp.c | 36 static void emlxs_sbp_abort_add(emlxs_port_t *port, emlxs_buf_t *sbp, 37 Q *abort, uint8_t *flag, emlxs_buf_t *fpkt); 57 emlxs_buf_t *sbp; in emlxs_handle_fcp_event() 93 sbp = (emlxs_buf_t *)iocbq->sbp; in emlxs_handle_fcp_event() 2147 emlxs_register_pkt(CHANNEL *cp, emlxs_buf_t *sbp) in emlxs_register_pkt() 2200 extern emlxs_buf_t * 2204 emlxs_buf_t *sbp; in emlxs_unregister_pkt() 2257 emlxs_tx_channel_flush(emlxs_hba_t *hba, CHANNEL *cp, emlxs_buf_t *fpkt) in emlxs_tx_channel_flush() 2260 emlxs_buf_t *sbp; in emlxs_tx_channel_flush() 2390 sbp = (emlxs_buf_t *)iocbq->sbp; in emlxs_tx_channel_flush() [all …]
|
H A D | emlxs_clock.c | 54 static uint32_t emlxs_pkt_chip_timeout(emlxs_port_t *port, emlxs_buf_t *sbp, 285 emlxs_buf_t *sbp; in emlxs_timer_check_pkts() 327 sbp = (emlxs_buf_t *)iocbq->sbp; in emlxs_timer_check_pkts() 386 sbp = (emlxs_buf_t *)iocbq->sbp; in emlxs_timer_check_pkts() 484 sbp = (emlxs_buf_t *)iocbq->sbp; in emlxs_timer_check_pkts() 1032 emlxs_buf_t *sbp; in emlxs_timer_check_clean_address() 1068 emlxs_buf_t *sbp; in emlxs_timer_cancel_clean_address() 1160 emlxs_pkt_chip_timeout(emlxs_port_t *port, emlxs_buf_t *sbp, Q *abortq, in emlxs_pkt_chip_timeout() 1344 emlxs_buf_t *sbp; in emlxs_tx_watchdog() 1419 sbp = (emlxs_buf_t *)iocbq->sbp; in emlxs_tx_watchdog()
|
H A D | emlxs_els.c | 32 static void emlxs_handle_sol_flogi(emlxs_port_t *port, emlxs_buf_t *sbp); 33 static void emlxs_handle_sol_fdisc(emlxs_port_t *port, emlxs_buf_t *sbp); 34 static void emlxs_handle_sol_plogi(emlxs_port_t *port, emlxs_buf_t *sbp); 35 static void emlxs_handle_sol_adisc(emlxs_port_t *port, emlxs_buf_t *sbp); 36 static void emlxs_handle_sol_logo(emlxs_port_t *port, emlxs_buf_t *sbp); 37 static void emlxs_handle_sol_prli(emlxs_port_t *port, emlxs_buf_t *sbp); 63 static void emlxs_handle_acc(emlxs_port_t *port, emlxs_buf_t *sbp, 65 static void emlxs_handle_reject(emlxs_port_t *port, emlxs_buf_t *sbp, 89 emlxs_buf_t *sbp; in emlxs_els_handle_event() 101 sbp = (emlxs_buf_t *)iocbq->sbp; in emlxs_els_handle_event() [all …]
|
H A D | emlxs_sli3.c | 38 static uint32_t emlxs_fct_bde_setup(emlxs_port_t *port, emlxs_buf_t *sbp); 41 static uint32_t emlxs_bde_setup(emlxs_port_t *port, emlxs_buf_t *sbp); 63 emlxs_buf_t *sbp); 65 emlxs_buf_t *sbp); 67 emlxs_buf_t *sbp); 69 emlxs_buf_t *sbp); 83 emlxs_buf_t *cmd_sbp, int channel); 88 emlxs_buf_t *sbp, int ring); 91 emlxs_buf_t *sbp); 94 emlxs_buf_t *sbp); [all …]
|
H A D | emlxs_solaris.c | 44 static int32_t emlxs_send_menlo(emlxs_port_t *port, emlxs_buf_t *sbp); 52 static int32_t emlxs_send_fcp_cmd(emlxs_port_t *port, emlxs_buf_t *sbp, 54 static int32_t emlxs_send_fct_status(emlxs_port_t *port, emlxs_buf_t *sbp); 55 static int32_t emlxs_send_fct_abort(emlxs_port_t *port, emlxs_buf_t *sbp); 56 static int32_t emlxs_send_ip(emlxs_port_t *port, emlxs_buf_t *sbp); 57 static int32_t emlxs_send_els(emlxs_port_t *port, emlxs_buf_t *sbp); 58 static int32_t emlxs_send_els_rsp(emlxs_port_t *port, emlxs_buf_t *sbp); 59 static int32_t emlxs_send_ct(emlxs_port_t *port, emlxs_buf_t *sbp); 60 static int32_t emlxs_send_ct_rsp(emlxs_port_t *port, emlxs_buf_t *sbp); 62 static void emlxs_iodone(emlxs_buf_t *sbp); [all …]
|
H A D | emlxs_sli4.c | 87 emlxs_buf_t *sbp); 97 emlxs_buf_t *cmd_sbp, int channel); 99 emlxs_buf_t *sbp); 103 emlxs_buf_t *sbp, int ring); 105 emlxs_buf_t *sbp); 107 emlxs_buf_t *sbp); 109 emlxs_buf_t *sbp); 123 emlxs_buf_t *sbp, RPIobj_t *rpip, 154 emlxs_buf_t *sbp, fc_unsol_buf_t *ubp, 158 emlxs_node_t *node, emlxs_buf_t *sbp, [all …]
|
H A D | emlxs_dhchap.c | 1066 emlxs_buf_t *sbp; in emlxs_cmpl_dhchap_challenge_issue() 1071 sbp = (emlxs_buf_t *)pkt->pkt_fca_private; in emlxs_cmpl_dhchap_challenge_issue() 1116 emlxs_buf_t *sbp; in emlxs_cmpl_dhchap_success_issue() 1119 sbp = (emlxs_buf_t *)pkt->pkt_fca_private; in emlxs_cmpl_dhchap_success_issue() 1295 emlxs_buf_t *sbp; in emlxs_cmpl_auth_reject_issue() 1300 sbp = (emlxs_buf_t *)pkt->pkt_fca_private; in emlxs_cmpl_auth_reject_issue() 1875 emlxs_buf_t *sbp; in emlxs_cmpl_auth_negotiate_issue() 1881 sbp = (emlxs_buf_t *)pkt->pkt_fca_private; in emlxs_cmpl_auth_negotiate_issue() 2048 emlxs_buf_t *sbp; in emlxs_cmpl_dhchap_reply_issue() 2053 sbp = (emlxs_buf_t *)pkt->pkt_fca_private; in emlxs_cmpl_dhchap_reply_issue() [all …]
|
H A D | emlxs_mem.c | 60 buf_info->size = (hba->max_iotag * sizeof (emlxs_buf_t *)); in emlxs_mem_alloc_buffer() 378 buf_info->size = hba->max_iotag * sizeof (emlxs_buf_t *); in emlxs_mem_free_buffer()
|
H A D | emlxs_mbox.c | 2672 emlxs_mb_reg_vpi(emlxs_port_t *port, emlxs_buf_t *sbp) in emlxs_mb_reg_vpi() 3044 emlxs_buf_t *mbox_sbp; in emlxs_mb_fini() 3070 mbox_sbp = (emlxs_buf_t *)mbox_mbq->sbp; in emlxs_mb_fini() 3149 emlxs_mb_deferred_cmpl(emlxs_port_t *port, uint32_t mbxStatus, emlxs_buf_t *sbp, in emlxs_mb_deferred_cmpl()
|
H A D | emlxs_hba.c | 2412 emlxs_buf_t *sbp; in emlxs_proc_channel_event() 2421 sbp = (emlxs_buf_t *)iocbq->sbp; in emlxs_proc_channel_event()
|
H A D | emlxs_fcf.c | 11981 emlxs_buf_t *sbp; in emlxs_deferred_cmpl_thread() 11988 sbp = (emlxs_buf_t *)cmpl->arg1; in emlxs_deferred_cmpl_thread() 12588 emlxs_vpi_logi_notify(emlxs_port_t *port, emlxs_buf_t *sbp) in emlxs_vpi_logi_notify() 12753 emlxs_vpi_logi_failed_notify(emlxs_port_t *port, emlxs_buf_t *sbp) in emlxs_vpi_logi_failed_notify() 12871 emlxs_buf_t *sbp = (emlxs_buf_t *)arg1; in emlxs_vpi_logi_action() 14557 emlxs_rpi_resume_notify(emlxs_port_t *port, RPIobj_t *rpip, emlxs_buf_t *sbp) in emlxs_rpi_resume_notify() 15606 ((emlxs_buf_t *)mbq->sbp)->node = node; in emlxs_rpi_reg_mbcmpl()
|
H A D | emlxs_dfc.c | 9143 emlxs_buf_t *sbp; in emlxs_dfc_handle_event() 9149 sbp = (emlxs_buf_t *)iocbq->sbp; in emlxs_dfc_handle_event()
|