Home
last modified time | relevance | path

Searched refs:iscsi_session (Results 1 – 25 of 44) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/target/iscsi/
Discsi_target_util.h13 struct iscsi_session;
31 extern int iscsit_find_cmd_for_recovery(struct iscsi_session *, struct iscsi_cmd **,
43 extern int iscsit_check_session_usage_count(struct iscsi_session *);
44 extern void iscsit_dec_session_usage_count(struct iscsi_session *);
45 extern void iscsit_inc_session_usage_count(struct iscsi_session *);
46 extern struct iscsi_conn *iscsit_get_conn_from_cid(struct iscsi_session *, u16);
47 extern struct iscsi_conn *iscsit_get_conn_from_cid_rcfr(struct iscsi_session *, u16);
62 extern void iscsit_print_session_params(struct iscsi_session *);
70 extern void iscsit_fill_cxn_timeout_err_stats(struct iscsi_session *);
Discsi_target_erl2.h10 struct iscsi_session;
15 struct iscsi_session *, u16);
16 extern void iscsit_free_connection_recovery_entries(struct iscsi_session *);
18 struct iscsi_conn_recovery *, struct iscsi_session *);
20 struct iscsi_session *);
Discsi_target_erl1.h13 struct iscsi_session;
28 extern void iscsit_free_all_ooo_cmdsns(struct iscsi_session *);
29 extern int iscsit_execute_ooo_cmdsns(struct iscsi_session *);
31 extern int iscsit_handle_ooo_cmdsn(struct iscsi_session *, struct iscsi_cmd *, u32);
32 extern void iscsit_remove_ooo_cmdsn(struct iscsi_session *, struct iscsi_ooo_cmdsn *);
Discsi_target_erl0.h9 struct iscsi_session;
14 extern void iscsit_start_time2retain_handler(struct iscsi_session *);
16 extern int iscsit_stop_time2retain_timer(struct iscsi_session *);
19 extern void iscsit_fall_back_to_erl0(struct iscsi_session *);
Discsi_target_device.h6 struct iscsi_session;
8 extern void iscsit_determine_maxcmdsn(struct iscsi_session *);
9 extern void iscsit_increment_maxcmdsn(struct iscsi_cmd *, struct iscsi_session *);
Discsi_target.h12 struct iscsi_session;
44 extern int iscsit_close_session(struct iscsi_session *);
45 extern void iscsit_fail_session(struct iscsi_session *);
46 extern void iscsit_stop_session(struct iscsi_session *, int, int);
Discsi_target_erl2.c77 struct iscsi_session *sess, in iscsit_attach_active_connection_recovery_entry()
88 struct iscsi_session *sess, in iscsit_attach_inactive_connection_recovery_entry()
103 struct iscsi_session *sess, in iscsit_get_inactive_connection_recovery_entry()
120 void iscsit_free_connection_recovery_entries(struct iscsi_session *sess) in iscsit_free_connection_recovery_entries()
172 struct iscsi_session *sess) in iscsit_remove_active_connection_recovery_entry()
189 struct iscsi_session *sess) in iscsit_remove_inactive_connection_recovery_entry()
201 struct iscsi_session *sess) in iscsit_remove_cmd_from_connection_recovery()
222 struct iscsi_session *sess = cr->sess; in iscsit_discard_cr_cmds_by_expstatsn()
271 struct iscsi_session *sess = conn->sess; in iscsit_discard_unacknowledged_ooo_cmdsns_for_conn()
Discsi_target_device.c20 void iscsit_determine_maxcmdsn(struct iscsi_session *sess) in iscsit_determine_maxcmdsn()
45 void iscsit_increment_maxcmdsn(struct iscsi_cmd *cmd, struct iscsi_session *sess) in iscsit_increment_maxcmdsn()
Discsi_target_tpg.h8 struct iscsi_session;
31 extern struct iscsi_node_attrib *iscsit_tpg_get_node_attrib(struct iscsi_session *);
Discsi_target_util.c258 static inline int iscsit_check_received_cmdsn(struct iscsi_session *sess, u32 cmdsn) in iscsit_check_received_cmdsn()
466 struct iscsi_session *sess, in iscsit_find_cmd_for_recovery()
716 struct iscsi_session *sess; in iscsit_release_cmd()
782 int iscsit_check_session_usage_count(struct iscsi_session *sess) in iscsit_check_session_usage_count()
799 void iscsit_dec_session_usage_count(struct iscsi_session *sess) in iscsit_dec_session_usage_count()
810 void iscsit_inc_session_usage_count(struct iscsi_session *sess) in iscsit_inc_session_usage_count()
817 struct iscsi_conn *iscsit_get_conn_from_cid(struct iscsi_session *sess, u16 cid) in iscsit_get_conn_from_cid()
835 struct iscsi_conn *iscsit_get_conn_from_cid_rcfr(struct iscsi_session *sess, u16 cid) in iscsit_get_conn_from_cid_rcfr()
915 struct iscsi_session *sess = conn->sess; in iscsit_handle_nopin_response_timeout()
940 struct iscsi_session *sess = conn->sess; in iscsit_mod_nopin_response_timer()
[all …]
Discsi_target_stat.c603 struct iscsi_session *sess; in iscsi_stat_sess_node_show()
624 struct iscsi_session *sess; in iscsi_stat_sess_indx_show()
646 struct iscsi_session *sess; in iscsi_stat_sess_cmd_pdus_show()
668 struct iscsi_session *sess; in iscsi_stat_sess_rsp_pdus_show()
690 struct iscsi_session *sess; in iscsi_stat_sess_txdata_octs_show()
712 struct iscsi_session *sess; in iscsi_stat_sess_rxdata_octs_show()
734 struct iscsi_session *sess; in iscsi_stat_sess_conn_digest_errors_show()
756 struct iscsi_session *sess; in iscsi_stat_sess_conn_timeout_errors_show()
Discsi_target_erl1.c770 struct iscsi_session *sess, in iscsit_attach_ooo_cmdsn()
821 struct iscsi_session *sess, in iscsit_remove_ooo_cmdsn()
831 struct iscsi_session *sess = conn->sess; in iscsit_clear_ooo_cmdsns_for_conn()
843 int iscsit_execute_ooo_cmdsns(struct iscsi_session *sess) in iscsit_execute_ooo_cmdsns()
999 void iscsit_free_all_ooo_cmdsns(struct iscsi_session *sess) in iscsit_free_all_ooo_cmdsns()
1014 struct iscsi_session *sess, in iscsit_handle_ooo_cmdsn()
1102 struct iscsi_session *sess = NULL; in iscsit_handle_dataout_timeout()
1187 struct iscsi_session *sess = conn->sess; in iscsit_mod_dataout_timer()
1207 struct iscsi_session *sess = conn->sess; in iscsit_start_dataout_timer()
Discsi_target_login.c136 struct iscsi_session *sess = NULL, *sess_p = NULL; in iscsi_check_for_session_reinstatement()
207 struct iscsi_session *sess, in iscsi_login_set_conn_values()
259 struct iscsi_session *sess = NULL; in iscsi_login_zero_tsih_s1()
263 sess = kzalloc(sizeof(struct iscsi_session), GFP_KERNEL); in iscsi_login_zero_tsih_s1()
343 struct iscsi_session *sess = conn->sess; in iscsi_login_zero_tsih_s2()
477 struct iscsi_session *sess = NULL, *sess_p = NULL; in iscsi_login_non_zero_tsih_s2()
487 sess_p = (struct iscsi_session *)se_sess->fabric_sess_ptr; in iscsi_login_non_zero_tsih_s2()
555 struct iscsi_session *sess = conn->sess; in iscsi_login_post_auth_non_zero_tsih()
617 struct iscsi_session *sess = conn->sess; in iscsi_post_login_start_timers()
680 struct iscsi_session *sess = conn->sess; in iscsi_post_login_handler()
Discsi_target_erl0.c746 struct iscsi_session *sess = from_timer(sess, t, time2retain_timer); in iscsit_handle_time2retain_timeout()
771 void iscsit_start_time2retain_handler(struct iscsi_session *sess) in iscsit_start_time2retain_handler()
797 int iscsit_stop_time2retain_timer(struct iscsi_session *sess) in iscsit_stop_time2retain_timer()
883 void iscsit_fall_back_to_erl0(struct iscsi_session *sess) in iscsit_fall_back_to_erl0()
893 struct iscsi_session *sess = conn->sess; in iscsit_handle_connection_cleanup()
Discsi_target_tmr.c70 struct iscsi_session *sess = conn->sess; in iscsit_tmr_task_warm_reset()
90 struct iscsi_session *sess = conn->sess; in iscsit_tmr_task_cold_reset()
180 struct iscsi_session *sess) in iscsit_task_reassign_remove_cmd()
/kernel/linux/linux-5.10/drivers/scsi/
Dlibiscsi.c96 static void __iscsi_update_cmdsn(struct iscsi_session *session, in __iscsi_update_cmdsn()
115 void iscsi_update_cmdsn(struct iscsi_session *session, struct iscsi_nopin *hdr) in iscsi_update_cmdsn()
233 struct iscsi_session *session = task->conn->session; in iscsi_check_tmf_restrictions()
305 struct iscsi_session *session = conn->session; in iscsi_prep_scsi_cmd_pdu()
445 struct iscsi_session *session = conn->session; in iscsi_free_task()
490 struct iscsi_session *session = task->conn->session; in iscsi_put_task()
623 struct iscsi_session *session = conn->session; in iscsi_prep_mgmt_task()
670 struct iscsi_session *session = conn->session; in __iscsi_conn_send_pdu()
779 struct iscsi_session *session = conn->session; in iscsi_conn_send_pdu()
806 struct iscsi_session *session = conn->session; in iscsi_scsi_cmd_rsp()
[all …]
Discsi_tcp.h52 struct iscsi_session *session;
Dlibiscsi_tcp.c531 struct iscsi_session *session = conn->session; in iscsi_tcp_r2t_rsp()
1068 struct iscsi_session *session = conn->session; in iscsi_tcp_task_xmit()
1150 int iscsi_tcp_r2tpool_alloc(struct iscsi_session *session) in iscsi_tcp_r2tpool_alloc()
1199 void iscsi_tcp_r2tpool_free(struct iscsi_session *session) in iscsi_tcp_r2tpool_free()
1215 struct iscsi_session *session = conn->session; in iscsi_tcp_set_max_r2t()
/kernel/linux/linux-5.10/include/scsi/
Dlibiscsi.h34 struct iscsi_session;
159 struct iscsi_session *session; /* parent session */
259 struct iscsi_session { struct
428 extern void iscsi_session_failure(struct iscsi_session *session,
445 extern void iscsi_update_cmdsn(struct iscsi_session *, struct iscsi_nopin *);
Dlibiscsi_tcp.h121 extern int iscsi_tcp_r2tpool_alloc(struct iscsi_session *session);
122 extern void iscsi_tcp_r2tpool_free(struct iscsi_session *session);
/kernel/linux/linux-5.10/include/target/iscsi/
Discsi_target_core.h485 struct iscsi_session *sess;
600 struct iscsi_session *sess;
620 struct iscsi_session *sess;
624 struct iscsi_session { struct
886 static inline u32 session_get_next_ttt(struct iscsi_session *session) in session_get_next_ttt()
Discsi_transport.h108 extern void iscsit_increment_maxcmdsn(struct iscsi_cmd *, struct iscsi_session *);
/kernel/linux/linux-5.10/drivers/scsi/bnx2i/
Dbnx2i_hwi.c1336 int bnx2i_process_scsi_cmd_resp(struct iscsi_session *session, in bnx2i_process_scsi_cmd_resp()
1433 static int bnx2i_process_login_resp(struct iscsi_session *session, in bnx2i_process_login_resp()
1501 static int bnx2i_process_text_resp(struct iscsi_session *session, in bnx2i_process_text_resp()
1562 static int bnx2i_process_tmf_resp(struct iscsi_session *session, in bnx2i_process_tmf_resp()
1601 static int bnx2i_process_logout_resp(struct iscsi_session *session, in bnx2i_process_logout_resp()
1647 static void bnx2i_process_nopin_local_cmpl(struct iscsi_session *session, in bnx2i_process_nopin_local_cmpl()
1688 static int bnx2i_process_nopin_mesg(struct iscsi_session *session, in bnx2i_process_nopin_mesg()
1740 static void bnx2i_process_async_mesg(struct iscsi_session *session, in bnx2i_process_async_mesg()
1790 static void bnx2i_process_reject_mesg(struct iscsi_session *session, in bnx2i_process_reject_mesg()
1827 static void bnx2i_process_cmd_cleanup_resp(struct iscsi_session *session, in bnx2i_process_cmd_cleanup_resp()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/qedi/
Dqedi_fw.c37 struct iscsi_session *session = conn->session; in qedi_process_logout_resp()
87 struct iscsi_session *session = conn->session; in qedi_process_text_resp()
155 struct iscsi_session *session = conn->session; in qedi_tmf_resp_work()
182 struct iscsi_session *session = conn->session; in qedi_process_tmf_resp()
252 struct iscsi_session *session = conn->session; in qedi_process_login_resp()
403 struct iscsi_session *session = conn->session; in qedi_process_nopin_mesg()
475 struct iscsi_session *session = conn->session; in qedi_process_async_mesg()
529 struct iscsi_session *session = conn->session; in qedi_process_reject_mesg()
571 struct iscsi_session *session = conn->session; in qedi_scsi_completion()
711 struct iscsi_session *session = conn->session; in qedi_process_nopin_local_cmpl()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/be2iscsi/
Dbe_iscsi.c44 struct iscsi_session *sess; in beiscsi_session_create()
107 struct iscsi_session *sess = cls_session->dd_data; in beiscsi_session_destroy()
138 struct iscsi_session *sess; in beiscsi_conn_create()
655 struct iscsi_session *session = conn->session; in beiscsi_set_param()
859 struct iscsi_session *session = conn->session; in beiscsi_set_params_for_offld()

12