1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 2e48354ceSNicholas Bellinger #ifndef ISCSI_TARGET_ERL0_H 3e48354ceSNicholas Bellinger #define ISCSI_TARGET_ERL0_H 4e48354ceSNicholas Bellinger 58dcf07beSBart Van Assche #include <linux/types.h> 68dcf07beSBart Van Assche 766cd9d4eSMax Gurtovoy struct iscsit_cmd; 8be36d683SMax Gurtovoy struct iscsit_conn; 9*0873fe44SMax Gurtovoy struct iscsit_session; 108dcf07beSBart Van Assche 1166cd9d4eSMax Gurtovoy extern void iscsit_set_dataout_sequence_values(struct iscsit_cmd *); 1266cd9d4eSMax Gurtovoy extern int iscsit_check_pre_dataout(struct iscsit_cmd *, unsigned char *); 1366cd9d4eSMax Gurtovoy extern int iscsit_check_post_dataout(struct iscsit_cmd *, unsigned char *, u8); 14*0873fe44SMax Gurtovoy extern void iscsit_start_time2retain_handler(struct iscsit_session *); 15f7c9564aSKees Cook extern void iscsit_handle_time2retain_timeout(struct timer_list *t); 16*0873fe44SMax Gurtovoy extern int iscsit_stop_time2retain_timer(struct iscsit_session *); 17be36d683SMax Gurtovoy extern void iscsit_connection_reinstatement_rcfr(struct iscsit_conn *); 18be36d683SMax Gurtovoy extern void iscsit_cause_connection_reinstatement(struct iscsit_conn *, int); 19*0873fe44SMax Gurtovoy extern void iscsit_fall_back_to_erl0(struct iscsit_session *); 20be36d683SMax Gurtovoy extern void iscsit_take_action_for_connection_exit(struct iscsit_conn *, bool *); 21e48354ceSNicholas Bellinger 22e48354ceSNicholas Bellinger #endif /*** ISCSI_TARGET_ERL0_H ***/ 23