Lines Matching refs:cls_session
582 iscsi_sw_tcp_conn_create(struct iscsi_cls_session *cls_session, in iscsi_sw_tcp_conn_create() argument
591 cls_conn = iscsi_tcp_conn_setup(cls_session, sizeof(*tcp_sw_conn), in iscsi_sw_tcp_conn_create()
711 iscsi_sw_tcp_conn_bind(struct iscsi_cls_session *cls_session, in iscsi_sw_tcp_conn_bind() argument
730 err = iscsi_conn_bind(cls_session, cls_conn, is_leading); in iscsi_sw_tcp_conn_bind()
928 struct iscsi_cls_session *cls_session; in iscsi_sw_tcp_session_create() local
958 cls_session = iscsi_session_setup(&iscsi_sw_tcp_transport, shost, in iscsi_sw_tcp_session_create()
963 if (!cls_session) in iscsi_sw_tcp_session_create()
965 session = cls_session->dd_data; in iscsi_sw_tcp_session_create()
973 return cls_session; in iscsi_sw_tcp_session_create()
976 iscsi_session_teardown(cls_session); in iscsi_sw_tcp_session_create()
984 static void iscsi_sw_tcp_session_destroy(struct iscsi_cls_session *cls_session) in iscsi_sw_tcp_session_destroy() argument
986 struct Scsi_Host *shost = iscsi_session_to_shost(cls_session); in iscsi_sw_tcp_session_destroy()
987 struct iscsi_session *session = cls_session->dd_data; in iscsi_sw_tcp_session_destroy()
992 iscsi_session_remove(cls_session); in iscsi_sw_tcp_session_destroy()
1000 iscsi_tcp_r2tpool_free(cls_session->dd_data); in iscsi_sw_tcp_session_destroy()
1002 iscsi_session_free(cls_session); in iscsi_sw_tcp_session_destroy()