Merge tag 'chrome-platform-for-linus-4.13' of git://git.kernel.org/pub/scm/linux...
[linux/fpc-iii.git] / drivers / target / iscsi / iscsi_target_erl2.h
blob634d01e136521cd61fd34b89d98ad113a874d92d
1 #ifndef ISCSI_TARGET_ERL2_H
2 #define ISCSI_TARGET_ERL2_H
4 #include <linux/types.h>
6 struct iscsi_cmd;
7 struct iscsi_conn;
8 struct iscsi_conn_recovery;
9 struct iscsi_session;
11 extern void iscsit_create_conn_recovery_datain_values(struct iscsi_cmd *, __be32);
12 extern void iscsit_create_conn_recovery_dataout_values(struct iscsi_cmd *);
13 extern struct iscsi_conn_recovery *iscsit_get_inactive_connection_recovery_entry(
14 struct iscsi_session *, u16);
15 extern void iscsit_free_connection_recovery_entires(struct iscsi_session *);
16 extern int iscsit_remove_active_connection_recovery_entry(
17 struct iscsi_conn_recovery *, struct iscsi_session *);
18 extern int iscsit_remove_cmd_from_connection_recovery(struct iscsi_cmd *,
19 struct iscsi_session *);
20 extern void iscsit_discard_cr_cmds_by_expstatsn(struct iscsi_conn_recovery *, u32);
21 extern int iscsit_discard_unacknowledged_ooo_cmdsns_for_conn(struct iscsi_conn *);
22 extern int iscsit_prepare_cmds_for_reallegiance(struct iscsi_conn *);
23 extern int iscsit_connection_recovery_transport_reset(struct iscsi_conn *);
25 #endif /*** ISCSI_TARGET_ERL2_H ***/