Lines Matching refs:beiscsi_conn

136 	struct beiscsi_conn *beiscsi_conn;  in beiscsi_conn_create()  local
148 cls_conn = iscsi_conn_setup(cls_session, sizeof(*beiscsi_conn), cid); in beiscsi_conn_create()
153 beiscsi_conn = conn->dd_data; in beiscsi_conn_create()
154 beiscsi_conn->ep = NULL; in beiscsi_conn_create()
155 beiscsi_conn->phba = phba; in beiscsi_conn_create()
156 beiscsi_conn->conn = conn; in beiscsi_conn_create()
159 beiscsi_conn->beiscsi_sess = beiscsi_sess; in beiscsi_conn_create()
177 struct beiscsi_conn *beiscsi_conn = conn->dd_data; in beiscsi_conn_bind() local
207 if (beiscsi_conn != phba->conn_table[cri_index] || in beiscsi_conn_bind()
213 beiscsi_conn, in beiscsi_conn_bind()
220 beiscsi_conn->beiscsi_conn_cid = beiscsi_ep->ep_cid; in beiscsi_conn_bind()
221 beiscsi_conn->ep = beiscsi_ep; in beiscsi_conn_bind()
222 beiscsi_ep->conn = beiscsi_conn; in beiscsi_conn_bind()
228 beiscsi_conn->doorbell_offset = pwrb_context->doorbell_offset; in beiscsi_conn_bind()
231 beiscsi_ep->ep_cid, cri_index, beiscsi_conn); in beiscsi_conn_bind()
232 phba->conn_table[cri_index] = beiscsi_conn; in beiscsi_conn_bind()
663 phba = ((struct beiscsi_conn *)conn->dd_data)->phba; in beiscsi_set_param()
834 phba = ((struct beiscsi_conn *)conn->dd_data)->phba; in beiscsi_conn_get_stats()
859 static void beiscsi_set_params_for_offld(struct beiscsi_conn *beiscsi_conn, in beiscsi_set_params_for_offld() argument
862 struct iscsi_conn *conn = beiscsi_conn->conn; in beiscsi_set_params_for_offld()
905 struct beiscsi_conn *beiscsi_conn = conn->dd_data; in beiscsi_conn_start() local
910 phba = ((struct beiscsi_conn *)conn->dd_data)->phba; in beiscsi_conn_start()
917 beiscsi_log(beiscsi_conn->phba, KERN_INFO, BEISCSI_LOG_CONFIG, in beiscsi_conn_start()
921 beiscsi_ep = beiscsi_conn->ep; in beiscsi_conn_start()
923 beiscsi_log(beiscsi_conn->phba, KERN_ERR, in beiscsi_conn_start()
927 beiscsi_conn->login_in_progress = 0; in beiscsi_conn_start()
928 beiscsi_set_params_for_offld(beiscsi_conn, &params); in beiscsi_conn_start()
929 beiscsi_offload_connection(beiscsi_conn, &params); in beiscsi_conn_start()
1013 struct beiscsi_conn *beiscsi_conn; in beiscsi_free_ep() local
1028 beiscsi_conn = beiscsi_ep->conn; in beiscsi_free_ep()
1034 if (beiscsi_conn->login_in_progress) { in beiscsi_free_ep()
1035 beiscsi_free_mgmt_task_handles(beiscsi_conn, in beiscsi_free_ep()
1036 beiscsi_conn->task); in beiscsi_free_ep()
1037 beiscsi_conn->login_in_progress = 0; in beiscsi_free_ep()