Lines Matching refs:cls_session
2644 cxgbi_create_conn(struct iscsi_cls_session *cls_session, u32 cid) in cxgbi_create_conn() argument
2651 cls_conn = iscsi_tcp_conn_setup(cls_session, sizeof(*cconn), cid); in cxgbi_create_conn()
2662 cid, cid, cls_session, cls_conn, conn, tcp_conn, cconn); in cxgbi_create_conn()
2668 int cxgbi_bind_conn(struct iscsi_cls_session *cls_session, in cxgbi_bind_conn() argument
2695 err = iscsi_conn_bind(cls_session, cls_conn, is_leading); in cxgbi_bind_conn()
2716 cls_session, cls_conn, ep, cconn, csk); in cxgbi_bind_conn()
2733 struct iscsi_cls_session *cls_session; in cxgbi_create_session() local
2747 cls_session = iscsi_session_setup(chba->cdev->itp, shost, in cxgbi_create_session()
2752 if (!cls_session) in cxgbi_create_session()
2755 session = cls_session->dd_data; in cxgbi_create_session()
2760 "ep 0x%p, cls sess 0x%p.\n", ep, cls_session); in cxgbi_create_session()
2761 return cls_session; in cxgbi_create_session()
2764 iscsi_session_teardown(cls_session); in cxgbi_create_session()
2769 void cxgbi_destroy_session(struct iscsi_cls_session *cls_session) in cxgbi_destroy_session() argument
2772 "cls sess 0x%p.\n", cls_session); in cxgbi_destroy_session()
2774 iscsi_tcp_r2tpool_free(cls_session->dd_data); in cxgbi_destroy_session()
2775 iscsi_session_teardown(cls_session); in cxgbi_destroy_session()