Lines Matching refs:cls_session
579 iscsi_sw_tcp_conn_create(struct iscsi_cls_session *cls_session, in iscsi_sw_tcp_conn_create() argument
588 cls_conn = iscsi_tcp_conn_setup(cls_session, sizeof(*tcp_sw_conn), in iscsi_sw_tcp_conn_create()
708 iscsi_sw_tcp_conn_bind(struct iscsi_cls_session *cls_session, in iscsi_sw_tcp_conn_bind() argument
727 err = iscsi_conn_bind(cls_session, cls_conn, is_leading); in iscsi_sw_tcp_conn_bind()
923 struct iscsi_cls_session *cls_session; in iscsi_sw_tcp_session_create() local
953 cls_session = iscsi_session_setup(&iscsi_sw_tcp_transport, shost, in iscsi_sw_tcp_session_create()
958 if (!cls_session) in iscsi_sw_tcp_session_create()
960 session = cls_session->dd_data; in iscsi_sw_tcp_session_create()
966 return cls_session; in iscsi_sw_tcp_session_create()
969 iscsi_session_teardown(cls_session); in iscsi_sw_tcp_session_create()
977 static void iscsi_sw_tcp_session_destroy(struct iscsi_cls_session *cls_session) in iscsi_sw_tcp_session_destroy() argument
979 struct Scsi_Host *shost = iscsi_session_to_shost(cls_session); in iscsi_sw_tcp_session_destroy()
980 struct iscsi_session *session = cls_session->dd_data; in iscsi_sw_tcp_session_destroy()
985 iscsi_tcp_r2tpool_free(cls_session->dd_data); in iscsi_sw_tcp_session_destroy()
986 iscsi_session_teardown(cls_session); in iscsi_sw_tcp_session_destroy()