/titanic_50/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 | 131 } emlxs_buf_t; typedef 185 #define STALE_PACKET ((emlxs_buf_t *)0xFFFFFFFF) 1122 emlxs_buf_t *fct_wait_head; 1123 emlxs_buf_t *fct_wait_tail; 1138 emlxs_buf_t *clean_address_sbp; 1914 emlxs_buf_t *iodone_list; /* fc_packet being deferred */ 1915 emlxs_buf_t *iodone_tail; /* fc_packet being deferred */ 1933 emlxs_buf_t **fc_table; /* sc_buf pointers indexed by */
|
H A D | emlxs_fcf.h | 106 emlxs_buf_t *sbp;
|
H A D | emlxs_os.h | 407 #define PKT2PRIV(pkt) ((emlxs_buf_t *)(pkt)->pkt_fca_private)
|
/titanic_50/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 | 44 static emlxs_buf_t *emlxs_fct_cmd_init(emlxs_port_t *port, 85 static emlxs_buf_t *emlxs_fct_pkt_init(emlxs_port_t *port, 96 emlxs_buf_t *cmd_sbp); 758 emlxs_buf_t *cmd_sbp; 759 emlxs_buf_t *next; 1183 fct_port->port_fca_fcp_cmd_size = sizeof (emlxs_buf_t); 1185 fct_port->port_fca_sol_els_private_size = sizeof (emlxs_buf_t); 1186 fct_port->port_fca_sol_ct_private_size = sizeof (emlxs_buf_t); 1691 emlxs_buf_t *cmd_sbp; 1710 cmd_sbp = (emlxs_buf_t *)fct_cmd->cmd_fca_private; [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 | 35 static void emlxs_sbp_abort_add(emlxs_port_t *port, emlxs_buf_t *sbp, 36 Q *abort, uint8_t *flag, emlxs_buf_t *fpkt); 56 emlxs_buf_t *sbp; in emlxs_handle_fcp_event() 92 sbp = (emlxs_buf_t *)iocbq->sbp; in emlxs_handle_fcp_event() 2138 emlxs_register_pkt(CHANNEL *cp, emlxs_buf_t *sbp) in emlxs_register_pkt() 2191 extern emlxs_buf_t * 2195 emlxs_buf_t *sbp; in emlxs_unregister_pkt() 2248 emlxs_tx_channel_flush(emlxs_hba_t *hba, CHANNEL *cp, emlxs_buf_t *fpkt) in emlxs_tx_channel_flush() 2251 emlxs_buf_t *sbp; in emlxs_tx_channel_flush() 2381 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() 1025 emlxs_buf_t *sbp; in emlxs_timer_check_clean_address() 1061 emlxs_buf_t *sbp; in emlxs_timer_cancel_clean_address() 1153 emlxs_pkt_chip_timeout(emlxs_port_t *port, emlxs_buf_t *sbp, Q *abortq, in emlxs_pkt_chip_timeout() 1337 emlxs_buf_t *sbp; in emlxs_tx_watchdog() 1412 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 | 37 static uint32_t emlxs_fct_bde_setup(emlxs_port_t *port, emlxs_buf_t *sbp); 40 static uint32_t emlxs_bde_setup(emlxs_port_t *port, emlxs_buf_t *sbp); 62 emlxs_buf_t *sbp); 64 emlxs_buf_t *sbp); 66 emlxs_buf_t *sbp); 68 emlxs_buf_t *sbp); 82 emlxs_buf_t *cmd_sbp, int channel); 87 emlxs_buf_t *sbp, int ring); 90 emlxs_buf_t *sbp); 93 emlxs_buf_t *sbp); [all …]
|
H A D | emlxs_solaris.c | 43 static int32_t emlxs_send_menlo(emlxs_port_t *port, emlxs_buf_t *sbp); 51 static int32_t emlxs_send_fcp_cmd(emlxs_port_t *port, emlxs_buf_t *sbp, 53 static int32_t emlxs_send_fct_status(emlxs_port_t *port, emlxs_buf_t *sbp); 54 static int32_t emlxs_send_fct_abort(emlxs_port_t *port, emlxs_buf_t *sbp); 55 static int32_t emlxs_send_ip(emlxs_port_t *port, emlxs_buf_t *sbp); 56 static int32_t emlxs_send_els(emlxs_port_t *port, emlxs_buf_t *sbp); 57 static int32_t emlxs_send_els_rsp(emlxs_port_t *port, emlxs_buf_t *sbp); 58 static int32_t emlxs_send_ct(emlxs_port_t *port, emlxs_buf_t *sbp); 59 static int32_t emlxs_send_ct_rsp(emlxs_port_t *port, emlxs_buf_t *sbp); 61 static void emlxs_iodone(emlxs_buf_t *sbp); [all …]
|
H A D | emlxs_sli4.c | 78 emlxs_buf_t *sbp); 88 emlxs_buf_t *cmd_sbp, int channel); 90 emlxs_buf_t *sbp); 94 emlxs_buf_t *sbp, int ring); 96 emlxs_buf_t *sbp); 98 emlxs_buf_t *sbp); 100 emlxs_buf_t *sbp); 114 emlxs_buf_t *sbp, RPIobj_t *rpip, 132 emlxs_buf_t *sbp, fc_unsol_buf_t *ubp, 136 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 | 58 buf_info->size = (hba->max_iotag * sizeof (emlxs_buf_t *)); in emlxs_mem_alloc_buffer() 340 buf_info->size = hba->max_iotag * sizeof (emlxs_buf_t *); in emlxs_mem_free_buffer()
|
H A D | emlxs_mbox.c | 2600 emlxs_mb_reg_vpi(emlxs_port_t *port, emlxs_buf_t *sbp) in emlxs_mb_reg_vpi() 2972 emlxs_buf_t *mbox_sbp; in emlxs_mb_fini() 2998 mbox_sbp = (emlxs_buf_t *)mbox_mbq->sbp; in emlxs_mb_fini() 3077 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 | 2387 emlxs_buf_t *sbp; in emlxs_proc_channel_event() 2396 sbp = (emlxs_buf_t *)iocbq->sbp; in emlxs_proc_channel_event()
|
H A D | emlxs_fcf.c | 11982 emlxs_buf_t *sbp; in emlxs_deferred_cmpl_thread() 11989 sbp = (emlxs_buf_t *)cmpl->arg1; in emlxs_deferred_cmpl_thread() 12587 emlxs_vpi_logi_notify(emlxs_port_t *port, emlxs_buf_t *sbp) in emlxs_vpi_logi_notify() 12752 emlxs_vpi_logi_failed_notify(emlxs_port_t *port, emlxs_buf_t *sbp) in emlxs_vpi_logi_failed_notify() 12870 emlxs_buf_t *sbp = (emlxs_buf_t *)arg1; in emlxs_vpi_logi_action() 14556 emlxs_rpi_resume_notify(emlxs_port_t *port, RPIobj_t *rpip, emlxs_buf_t *sbp) in emlxs_rpi_resume_notify() 15605 ((emlxs_buf_t *)mbq->sbp)->node = node; in emlxs_rpi_reg_mbcmpl()
|
H A D | emlxs_dfc.c | 9082 emlxs_buf_t *sbp; in emlxs_dfc_handle_event() 9088 sbp = (emlxs_buf_t *)iocbq->sbp; in emlxs_dfc_handle_event()
|