1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 2e48354ceSNicholas Bellinger #ifndef ISCSI_TARGET_TMR_H 3e48354ceSNicholas Bellinger #define ISCSI_TARGET_TMR_H 4e48354ceSNicholas Bellinger 58dcf07beSBart Van Assche #include <linux/types.h> 68dcf07beSBart Van Assche 766cd9d4eSMax Gurtovoy struct iscsit_cmd; 8*be36d683SMax Gurtovoy struct iscsit_conn; 98dcf07beSBart Van Assche struct iscsi_tmr_req; 108dcf07beSBart Van Assche 1166cd9d4eSMax Gurtovoy extern u8 iscsit_tmr_abort_task(struct iscsit_cmd *, unsigned char *); 12*be36d683SMax Gurtovoy extern int iscsit_tmr_task_warm_reset(struct iscsit_conn *, struct iscsi_tmr_req *, 13e48354ceSNicholas Bellinger unsigned char *); 14*be36d683SMax Gurtovoy extern int iscsit_tmr_task_cold_reset(struct iscsit_conn *, struct iscsi_tmr_req *, 15e48354ceSNicholas Bellinger unsigned char *); 1666cd9d4eSMax Gurtovoy extern u8 iscsit_tmr_task_reassign(struct iscsit_cmd *, unsigned char *); 17*be36d683SMax Gurtovoy extern int iscsit_tmr_post_handler(struct iscsit_cmd *, struct iscsit_conn *); 18e48354ceSNicholas Bellinger extern int iscsit_check_task_reassign_expdatasn(struct iscsi_tmr_req *, 19*be36d683SMax Gurtovoy struct iscsit_conn *); 20e48354ceSNicholas Bellinger 21e48354ceSNicholas Bellinger #endif /* ISCSI_TARGET_TMR_H */ 22