Home
last modified time | relevance | path

Searched refs:emlxs_buf_t (Results 1 – 19 of 19) sorted by relevance

/titanic_50/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_extern.h163 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 Demlxs_fc.h131 } 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 Demlxs_fcf.h106 emlxs_buf_t *sbp;
H A Demlxs_os.h407 #define PKT2PRIV(pkt) ((emlxs_buf_t *)(pkt)->pkt_fca_private)
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_pkt.c50 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 Demlxs_fct.c44 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 Demlxs_ip.c38 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 Demlxs_fcp.c35 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 Demlxs_clock.c54 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 Demlxs_els.c32 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 Demlxs_sli3.c37 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 Demlxs_solaris.c43 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 Demlxs_sli4.c78 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 Demlxs_dhchap.c1066 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 Demlxs_mem.c58 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 Demlxs_mbox.c2600 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 Demlxs_hba.c2387 emlxs_buf_t *sbp; in emlxs_proc_channel_event()
2396 sbp = (emlxs_buf_t *)iocbq->sbp; in emlxs_proc_channel_event()
H A Demlxs_fcf.c11982 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 Demlxs_dfc.c9082 emlxs_buf_t *sbp; in emlxs_dfc_handle_event()
9088 sbp = (emlxs_buf_t *)iocbq->sbp; in emlxs_dfc_handle_event()