Home
last modified time | relevance | path

Searched refs:fc_packet_t (Results 1 – 25 of 36) sorted by relevance

12

/titanic_41/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_pkt.c48 fc_packet_t *pkt = (fc_packet_t *)arg1; in emlxs_pkt_thread()
79 emlxs_pkt_send(fc_packet_t *pkt, uint32_t now) in emlxs_pkt_send()
100 emlxs_pkt_free(fc_packet_t *pkt) in emlxs_pkt_free()
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()
137 emlxs_pkt_callback(fc_packet_t *pkt) in emlxs_pkt_callback()
147 extern fc_packet_t *
152 fc_packet_t *pkt; 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()
[all …]
H A Demlxs_els.c90 fc_packet_t *pkt; in emlxs_els_handle_event()
564 fc_packet_t *pkt; in emlxs_handle_sol_flogi()
759 fc_packet_t *pkt; in emlxs_handle_sol_fdisc()
829 fc_packet_t *pkt; in emlxs_handle_sol_plogi()
910 fc_packet_t *pkt; in emlxs_handle_sol_adisc()
954 fc_packet_t *pkt; in emlxs_handle_sol_prli()
1043 fc_packet_t *pkt; in emlxs_handle_sol_logo()
2131 fc_packet_t *pkt; in emlxs_handle_unsol_echo()
2206 fc_packet_t *pkt; in emlxs_handle_unsol_rtv()
2282 fc_packet_t *pkt = (fc_packet_t *)arg2; in emlxs_rls_rsp_thread()
[all …]
H A Demlxs_diag.c118 emlxs_diag_pkt_callback(fc_packet_t *pkt) in emlxs_diag_pkt_callback()
140 fc_packet_t *pkt; in emlxs_diag_echo_run()
H A Demlxs_fct.c70 static void emlxs_fct_pkt_comp(fc_packet_t *pkt);
86 fct_cmd_t *fct_cmd, fc_packet_t *pkt);
1809 fc_packet_t *pkt = NULL;
2623 fc_packet_t *pkt;
2779 fc_packet_t *pkt;
2861 fc_packet_t *pkt;
3088 fc_packet_t *pkt;
3445 fc_packet_t *pkt)
3705 fc_packet_t *pkt;
3737 fc_packet_t *pkt;
[all …]
H A Demlxs_ip.c384 fc_packet_t *pkt; in emlxs_handle_create_xri()
461 fc_packet_t *pkt; in emlxs_create_xri()
H A Demlxs_clock.c286 fc_packet_t *pkt; in emlxs_timer_check_pkts()
1159 fc_packet_t *pkt; in emlxs_pkt_chip_timeout()
1338 fc_packet_t *pkt = NULL; in emlxs_tx_watchdog()
H A Demlxs_solaris.c2154 emlxs_fca_pkt_init(opaque_t fca_port_handle, fc_packet_t *pkt, int32_t sleep) in emlxs_fca_pkt_init()
2183 fc_packet_t *pkt = PRIV2PKT(sbp); in emlxs_initialize_pkt()
2249 emlxs_fca_pkt_uninit(opaque_t fca_port_handle, fc_packet_t *pkt) in emlxs_fca_pkt_uninit()
2464 emlxs_fca_transport(opaque_t fca_port_handle, fc_packet_t *pkt) in emlxs_fca_transport()
2623 fc_packet_t *pkt = PRIV2PKT(sbp); in emlxs_poll()
3067 fc_packet_t *pkt; in emlxs_ub_els_reject()
3414 emlxs_fca_pkt_abort(opaque_t fca_port_handle, fc_packet_t *pkt, int32_t sleep) in emlxs_fca_pkt_abort()
3829 fc_packet_t *pkt; in emlxs_abort_all()
8484 fc_packet_t *pkt; in emlxs_fast_target_reset()
8555 fc_packet_t *pkt; in emlxs_send_fcp_cmd()
[all …]
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/fcoei/
H A Dfcoei_lv.c81 static void fcoei_fill_els_logi_cmd(fc_packet_t *fpkt, fcoe_frame_t *frm);
82 static void fcoei_fill_els_prli_cmd(fc_packet_t *fpkt, fcoe_frame_t *frm);
83 static void fcoei_fill_els_logo_cmd(fc_packet_t *fpkt, fcoe_frame_t *frm);
84 static void fcoei_fill_els_scr_cmd(fc_packet_t *fpkt, fcoe_frame_t *frm);
85 static void fcoei_fill_els_adisc_cmd(fc_packet_t *fpkt, fcoe_frame_t *frm);
86 static void fcoei_fill_els_linit_cmd(fc_packet_t *fpkt, fcoe_frame_t *frm);
87 static void fcoei_fill_els_rls_cmd(fc_packet_t *fpkt, fcoe_frame_t *frm);
88 static void fcoei_fill_els_rnid_cmd(fc_packet_t *fpkt, fcoe_frame_t *frm);
90 static void fcoei_fill_els_acc_resp(fc_packet_t *fpkt, fcoe_frame_t *frm);
91 static void fcoei_fill_els_rjt_resp(fc_packet_t *fpkt, fcoe_frame_t *frm);
[all …]
H A Dfcoei.h237 fc_packet_t *xch_fpkt;
H A Dfcoei_eth.c569 fc_packet_t *fpkt = NULL; in fcoei_process_sol_fcp_resp()
669 fc_packet_t *fpkt; in fcoei_process_sol_els_rsp()
737 fc_packet_t *fpkt; in fcoei_process_sol_ct_rsp()
/titanic_41/usr/src/uts/common/sys/fibre-channel/impl/
H A Dfp.h257 fc_packet_t cmd_pkt;
261 fc_packet_t *cmd_ulp_pkt;
263 int (*cmd_transport) (opaque_t fca_handle, fc_packet_t *);
311 static int fp_retry_cmd(fc_packet_t *pkt);
313 static int fp_handle_reject(fc_packet_t *pkt);
330 fc_packet_t *ulp_pkt);
353 static int fp_common_intr(fc_packet_t *pkt, int iodone);
354 static void fp_flogi_intr(fc_packet_t *pkt);
355 static void fp_plogi_intr(fc_packet_t *pkt);
356 static void fp_adisc_intr(fc_packet_t *pkt);
[all …]
H A Dfc_fcaif.h171 int (*fca_init_pkt) (opaque_t fca_handle, fc_packet_t *pkt, int sleep);
173 int (*fca_un_init_pkt) (opaque_t fca_handle, fc_packet_t *pkt);
175 int (*fca_els_send) (opaque_t fca_handle, fc_packet_t *pkt);
183 int (*fca_transport) (opaque_t fca_handle, fc_packet_t *pkt);
194 int (*fca_abort) (opaque_t fca_handle, fc_packet_t *pkt, int flags);
209 int fc_fca_update_errors(fc_packet_t *pkt);
211 int fc_fca_pkt_error(fc_packet_t *pkt, char **state, char **reason,
H A Dfc_ulpif.h150 int fc_ulp_init_packet(opaque_t port_handle, fc_packet_t *pkt, int sleep);
151 int fc_ulp_uninit_packet(opaque_t port_handle, fc_packet_t *pkt);
154 int fc_ulp_login(opaque_t port_handle, fc_packet_t **ulp_pkt,
159 int fc_ulp_transport(opaque_t port_handle, fc_packet_t *pkt);
160 int fc_ulp_issue_els(opaque_t port_handle, fc_packet_t *pkt);
167 int fc_ulp_abort(opaque_t port_handle, fc_packet_t *pkt, int flags);
175 int fc_ulp_pkt_error(fc_packet_t *pkt, char **state, char **reason,
H A Dfctl.h209 } fc_packet_t; typedef
H A Dfc_portif.h189 fc_packet_t **job_ulp_pkts;
/titanic_41/usr/src/uts/common/sys/fibre-channel/ulp/
H A Dfcsm.h133 fc_packet_t *cmd_fp_pkt;
141 int (*cmd_transport)(opaque_t, fc_packet_t *);
143 fc_packet_t cmd_fc_packet;
346 static void fcsm_pkt_common_intr(fc_packet_t *);
361 fc_packet_t *, const char *, ...);
H A Dfcip.h334 fc_packet_t *fcip_pkt_fcpktp; /* the actual fc packet */
343 fc_packet_t fcip_pkt_fcpkt; /* the actual fc packet */
/titanic_41/usr/src/uts/common/sys/fc4/
H A Dfc_transport.h94 } fc_packet_t; typedef
217 fc_packet_t *(*fc_pkt_alloc)(
/titanic_41/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_extern.h147 fc_packet_t *pkt, int32_t sleep);
173 fc_packet_t *pkt);
175 fc_packet_t *pkt);
177 fc_packet_t *pkt, int32_t sleep);
252 extern int32_t emlxs_pkt_send(fc_packet_t *pkt, uint32_t now);
253 extern void emlxs_pkt_free(fc_packet_t *pkt);
254 extern void emlxs_pkt_callback(fc_packet_t *pkt);
255 extern fc_packet_t *emlxs_pkt_alloc(emlxs_port_t *port,
/titanic_41/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcsm.c1825 fcsm_display(int level, int flags, fcsm_t *fcsm, fc_packet_t *pkt, in fcsm_display()
1964 fc_packet_t *pkt; in fcsm_cmd_cache_constructor()
2018 fc_packet_t *pkt; in fcsm_cmd_cache_destructor()
2038 fc_packet_t *pkt; in fcsm_alloc_cmd()
2262 fc_packet_t *pkt; in fcsm_free_cmd_dma()
2731 fc_packet_t *pkt; in fcsm_ct_init()
2772 fc_packet_t *pkt; in fcsm_ct_intr()
3065 fc_packet_t *pkt; in fcsm_els_init()
3094 fc_packet_t *pkt; in fcsm_xlogi_init()
3134 fc_packet_t *pkt; in fcsm_xlogi_intr()
[all …]
H A Dfcp.c437 static void fcp_unsol_callback(fc_packet_t *fpkt);
438 static void fcp_unsol_resp_init(fc_packet_t *pkt, fc_unsol_buf_t *buf,
452 static void fcp_icmd_callback(fc_packet_t *fpkt);
455 static int fcp_check_reportlun(struct fcp_rsp *rsp, fc_packet_t *fpkt);
456 static void fcp_scsi_callback(fc_packet_t *fpkt);
457 static void fcp_retry_scsi_cmd(fc_packet_t *fpkt);
458 static void fcp_handle_inquiry(fc_packet_t *fpkt, struct fcp_ipkt *icmd);
459 static void fcp_handle_reportlun(fc_packet_t *fpkt, struct fcp_ipkt *icmd);
487 static void fcp_cmd_callback(fc_packet_t *fpkt);
488 static void fcp_complete_pkt(fc_packet_t *fpkt);
[all …]
H A Dfcip.c244 static void fcip_ipkt_callback(fc_packet_t *fc_pkt);
246 static void fcip_pkt_callback(fc_packet_t *fc_pkt);
2670 fc_packet_t *fc_pkt; in fcip_handle_farp_request()
4078 fc_packet_t *fc_pkt; in fcip_start()
4320 fc_packet_t *fc_pkt; in fcip_transport()
4430 fcip_pkt_callback(fc_packet_t *fc_pkt) in fcip_pkt_callback()
5836 fc_packet_t *fc_pkt; in fcip_cache_constructor()
5896 fc_packet_t *fc_pkt; in fcip_cache_destructor()
6207 fc_packet_t *fc_pkt; in fcip_do_farp()
6372 fc_packet_t *fc_pkt; in fcip_do_plogi()
[all …]
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_api.c78 static int ql_init_pkt(opaque_t, fc_packet_t *, int);
79 static int ql_un_init_pkt(opaque_t, fc_packet_t *);
80 static int ql_els_send(opaque_t, fc_packet_t *);
84 static int ql_transport(opaque_t, fc_packet_t *);
88 static int ql_abort(opaque_t, fc_packet_t *, int);
97 static void ql_task_mgmt(ql_adapter_state_t *, ql_tgt_t *, fc_packet_t *,
109 static int ql_els_plogi(ql_adapter_state_t *, fc_packet_t *);
110 static int ql_els_flogi(ql_adapter_state_t *, fc_packet_t *);
111 static int ql_els_logo(ql_adapter_state_t *, fc_packet_t *);
112 static int ql_els_prli(ql_adapter_state_t *, fc_packet_t *);
[all …]
/titanic_41/usr/src/uts/common/io/fibre-channel/impl/
H A Dfp.c1870 fc_packet_t *pkt; in fp_cache_constructor()
1921 fc_packet_t *pkt; in fp_cache_destructor()
1971 fc_packet_t *pkt; in fp_alloc_pkt()
2167 fc_packet_t *pkt; in fp_free_pkt()
2215 fc_packet_t *pkt = &cmd->cmd_pkt; in fp_free_dma()
3241 fp_retry_cmd(fc_packet_t *pkt) in fp_retry_cmd()
3294 fp_handle_reject(fc_packet_t *pkt) in fp_handle_reject()
3520 fc_packet_t *ulp_pkt = cmd->cmd_ulp_pkt; in fp_iodone()
3589 sizeof (fc_packet_t *) * job->job_ulp_listlen); in fp_jobdone()
4049 int cmd_flag, int sleep, fc_remote_port_t *pd, fc_packet_t *ulp_pkt) in fp_port_login()
[all …]
H A Dfctl.c844 fc_ulp_init_packet(opaque_t port_handle, fc_packet_t *pkt, int sleep) in fc_ulp_init_packet()
882 fc_ulp_uninit_packet(opaque_t port_handle, fc_packet_t *pkt) in fc_ulp_uninit_packet()
1039 fc_ulp_login(opaque_t port_handle, fc_packet_t **ulp_pkt, uint32_t listlen) in fc_ulp_login()
1044 fc_packet_t **tmp_array; in fc_ulp_login()
1111 fc_packet_t *pkt; in fc_ulp_login()
1359 fc_ulp_transport(opaque_t port_handle, fc_packet_t *pkt) in fc_ulp_transport()
1482 fc_ulp_issue_els(opaque_t port_handle, fc_packet_t *pkt) in fc_ulp_issue_els()
1578 fc_ulp_abort(opaque_t port_handle, fc_packet_t *pkt, int flags) in fc_ulp_abort()
1751 fc_ulp_pkt_error(fc_packet_t *pkt, char **state, char **reason, in fc_ulp_pkt_error()
1972 fc_fca_update_errors(fc_packet_t *pkt) in fc_fca_update_errors()
[all …]

12