Lines Matching defs:iscsi_transport
74 struct iscsi_transport { struct
75 struct module *owner;
76 char *name;
77 unsigned int caps;
79 struct iscsi_cls_session *(*create_session) (struct iscsi_endpoint *ep,
82 void (*destroy_session) (struct iscsi_cls_session *session);
83 struct iscsi_cls_conn *(*create_conn) (struct iscsi_cls_session *sess,
85 void (*unbind_conn) (struct iscsi_cls_conn *conn, bool is_active);
86 int (*bind_conn) (struct iscsi_cls_session *session,
89 int (*start_conn) (struct iscsi_cls_conn *conn);
90 void (*stop_conn) (struct iscsi_cls_conn *conn, int flag);
91 void (*destroy_conn) (struct iscsi_cls_conn *conn);
92 int (*set_param) (struct iscsi_cls_conn *conn, enum iscsi_param param,
94 int (*get_ep_param) (struct iscsi_endpoint *ep, enum iscsi_param param,
96 int (*get_conn_param) (struct iscsi_cls_conn *conn,
98 int (*get_session_param) (struct iscsi_cls_session *session,
100 int (*get_host_param) (struct Scsi_Host *shost,
102 int (*set_host_param) (struct Scsi_Host *shost,
105 int (*send_pdu) (struct iscsi_cls_conn *conn, struct iscsi_hdr *hdr,
107 void (*get_stats) (struct iscsi_cls_conn *conn,
110 int (*init_task) (struct iscsi_task *task);
111 int (*xmit_task) (struct iscsi_task *task);
112 void (*cleanup_task) (struct iscsi_task *task);
114 int (*alloc_pdu) (struct iscsi_task *task, uint8_t opcode);
115 int (*xmit_pdu) (struct iscsi_task *task);
116 int (*init_pdu) (struct iscsi_task *task, unsigned int offset,
118 void (*parse_pdu_itt) (struct iscsi_conn *conn, itt_t itt,
121 void (*session_recovery_timedout) (struct iscsi_cls_session *session);
122 struct iscsi_endpoint *(*ep_connect) (struct Scsi_Host *shost,
125 int (*ep_poll) (struct iscsi_endpoint *ep, int timeout_ms);
126 void (*ep_disconnect) (struct iscsi_endpoint *ep);
127 int (*tgt_dscvr) (struct Scsi_Host *shost, enum iscsi_tgt_dscvr type,
129 int (*set_path) (struct Scsi_Host *shost, struct iscsi_path *params);
130 int (*set_iface_param) (struct Scsi_Host *shost, void *data,
132 int (*get_iface_param) (struct iscsi_iface *iface,
135 umode_t (*attr_is_visible)(int param_type, int param);
136 int (*bsg_request)(struct bsg_job *job);
137 int (*send_ping) (struct Scsi_Host *shost, uint32_t iface_num,
140 int (*get_chap) (struct Scsi_Host *shost, uint16_t chap_tbl_idx,
164 extern struct scsi_transport_template *iscsi_register_transport(struct iscsi_transport *tt); argument