| 1 |
/* SPDX-License-Identifier: GPL-2.0 */ |
| 2 |
#ifndef ISCSI_TARGET_ERL2_H |
| 3 |
#define ISCSI_TARGET_ERL2_H |
| 4 |
|
| 5 |
#include <linux/types.h> |
| 6 |
|
| 7 |
struct iscsit_cmd; |
| 8 |
struct iscsit_conn; |
| 9 |
struct iscsi_conn_recovery; |
| 10 |
struct iscsit_session; |
| 11 |
|
| 12 |
extern struct iscsi_conn_recovery *iscsit_get_inactive_connection_recovery_entry( |
| 13 |
struct iscsit_session *, u16); |
| 14 |
extern void iscsit_free_connection_recovery_entries(struct iscsit_session *); |
| 15 |
extern int iscsit_remove_active_connection_recovery_entry( |
| 16 |
struct iscsi_conn_recovery *, struct iscsit_session *); |
| 17 |
extern int iscsit_remove_cmd_from_connection_recovery(struct iscsit_cmd *, |
| 18 |
struct iscsit_session *); |
| 19 |
extern void iscsit_discard_cr_cmds_by_expstatsn(struct iscsi_conn_recovery *, u32); |
| 20 |
extern int iscsit_discard_unacknowledged_ooo_cmdsns_for_conn(struct iscsit_conn *); |
| 21 |
extern int iscsit_prepare_cmds_for_reallegiance(struct iscsit_conn *); |
| 22 |
extern int iscsit_connection_recovery_transport_reset(struct iscsit_conn *); |
| 23 |
|
| 24 |
#endif /*** ISCSI_TARGET_ERL2_H ***/ |