Linux-libre 4.14.82-gnu
[librecmc/linux-libre.git] / drivers / target / iscsi / iscsi_target_erl0.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef ISCSI_TARGET_ERL0_H
3 #define ISCSI_TARGET_ERL0_H
4
5 #include <linux/types.h>
6
7 struct iscsi_cmd;
8 struct iscsi_conn;
9 struct iscsi_session;
10
11 extern void iscsit_set_dataout_sequence_values(struct iscsi_cmd *);
12 extern int iscsit_check_pre_dataout(struct iscsi_cmd *, unsigned char *);
13 extern int iscsit_check_post_dataout(struct iscsi_cmd *, unsigned char *, u8);
14 extern void iscsit_start_time2retain_handler(struct iscsi_session *);
15 extern int iscsit_stop_time2retain_timer(struct iscsi_session *);
16 extern void iscsit_connection_reinstatement_rcfr(struct iscsi_conn *);
17 extern void iscsit_cause_connection_reinstatement(struct iscsi_conn *, int);
18 extern void iscsit_fall_back_to_erl0(struct iscsi_session *);
19 extern void iscsit_take_action_for_connection_exit(struct iscsi_conn *, bool *);
20
21 #endif   /*** ISCSI_TARGET_ERL0_H ***/