Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Nicholas Bellinger | e48354c | 2011-07-23 06:43:04 +0000 | [diff] [blame] | 2 | #ifndef ISCSI_TARGET_TMR_H |
| 3 | #define ISCSI_TARGET_TMR_H |
| 4 | |
Bart Van Assche | 8dcf07b | 2016-11-14 15:47:14 -0800 | [diff] [blame] | 5 | #include <linux/types.h> |
| 6 | |
| 7 | struct iscsi_cmd; |
| 8 | struct iscsi_conn; |
| 9 | struct iscsi_tmr_req; |
| 10 | |
Nicholas Bellinger | e48354c | 2011-07-23 06:43:04 +0000 | [diff] [blame] | 11 | extern u8 iscsit_tmr_abort_task(struct iscsi_cmd *, unsigned char *); |
| 12 | extern int iscsit_tmr_task_warm_reset(struct iscsi_conn *, struct iscsi_tmr_req *, |
| 13 | unsigned char *); |
| 14 | extern int iscsit_tmr_task_cold_reset(struct iscsi_conn *, struct iscsi_tmr_req *, |
| 15 | unsigned char *); |
| 16 | extern u8 iscsit_tmr_task_reassign(struct iscsi_cmd *, unsigned char *); |
| 17 | extern int iscsit_tmr_post_handler(struct iscsi_cmd *, struct iscsi_conn *); |
| 18 | extern int iscsit_check_task_reassign_expdatasn(struct iscsi_tmr_req *, |
| 19 | struct iscsi_conn *); |
| 20 | |
| 21 | #endif /* ISCSI_TARGET_TMR_H */ |