mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-27 04:54:41 +08:00
0873fe44e7
The structure iscsi_session naming is used by the iSCSI initiator driver. Rename the target session to iscsit_session to have more readable code. Link: https://lore.kernel.org/r/20220428092939.36768-3-mgurtovoy@nvidia.com Reviewed-by: Mike Christie <michael.christie@oracle.com> Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
27 lines
1.1 KiB
C
27 lines
1.1 KiB
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef ISCSI_TARGET_ERL2_H
|
|
#define ISCSI_TARGET_ERL2_H
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct iscsit_cmd;
|
|
struct iscsit_conn;
|
|
struct iscsi_conn_recovery;
|
|
struct iscsit_session;
|
|
|
|
extern void iscsit_create_conn_recovery_datain_values(struct iscsit_cmd *, __be32);
|
|
extern void iscsit_create_conn_recovery_dataout_values(struct iscsit_cmd *);
|
|
extern struct iscsi_conn_recovery *iscsit_get_inactive_connection_recovery_entry(
|
|
struct iscsit_session *, u16);
|
|
extern void iscsit_free_connection_recovery_entries(struct iscsit_session *);
|
|
extern int iscsit_remove_active_connection_recovery_entry(
|
|
struct iscsi_conn_recovery *, struct iscsit_session *);
|
|
extern int iscsit_remove_cmd_from_connection_recovery(struct iscsit_cmd *,
|
|
struct iscsit_session *);
|
|
extern void iscsit_discard_cr_cmds_by_expstatsn(struct iscsi_conn_recovery *, u32);
|
|
extern int iscsit_discard_unacknowledged_ooo_cmdsns_for_conn(struct iscsit_conn *);
|
|
extern int iscsit_prepare_cmds_for_reallegiance(struct iscsit_conn *);
|
|
extern int iscsit_connection_recovery_transport_reset(struct iscsit_conn *);
|
|
|
|
#endif /*** ISCSI_TARGET_ERL2_H ***/
|