18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef ISCSI_TARGET_TMR_H 38c2ecf20Sopenharmony_ci#define ISCSI_TARGET_TMR_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci#include <linux/types.h> 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_cistruct iscsi_cmd; 88c2ecf20Sopenharmony_cistruct iscsi_conn; 98c2ecf20Sopenharmony_cistruct iscsi_tmr_req; 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ciextern u8 iscsit_tmr_abort_task(struct iscsi_cmd *, unsigned char *); 128c2ecf20Sopenharmony_ciextern int iscsit_tmr_task_warm_reset(struct iscsi_conn *, struct iscsi_tmr_req *, 138c2ecf20Sopenharmony_ci unsigned char *); 148c2ecf20Sopenharmony_ciextern int iscsit_tmr_task_cold_reset(struct iscsi_conn *, struct iscsi_tmr_req *, 158c2ecf20Sopenharmony_ci unsigned char *); 168c2ecf20Sopenharmony_ciextern u8 iscsit_tmr_task_reassign(struct iscsi_cmd *, unsigned char *); 178c2ecf20Sopenharmony_ciextern int iscsit_tmr_post_handler(struct iscsi_cmd *, struct iscsi_conn *); 188c2ecf20Sopenharmony_ciextern int iscsit_check_task_reassign_expdatasn(struct iscsi_tmr_req *, 198c2ecf20Sopenharmony_ci struct iscsi_conn *); 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci#endif /* ISCSI_TARGET_TMR_H */ 22