Lines Matching refs:beiscsi_conn
222 struct beiscsi_conn *beiscsi_conn; in beiscsi_eh_abort() local
242 beiscsi_conn = conn->dd_data; in beiscsi_eh_abort()
243 phba = beiscsi_conn->phba; in beiscsi_eh_abort()
252 inv_tbl.cid = beiscsi_conn->beiscsi_conn_cid; in beiscsi_eh_abort()
275 struct beiscsi_conn *beiscsi_conn; in beiscsi_eh_device_reset() local
294 beiscsi_conn = conn->dd_data; in beiscsi_eh_device_reset()
295 phba = beiscsi_conn->phba; in beiscsi_eh_device_reset()
335 inv_tbl->tbl[nents].cid = beiscsi_conn->beiscsi_conn_cid; in beiscsi_eh_device_reset()
357 beiscsi_conn->beiscsi_conn_cid); in beiscsi_eh_device_reset()
1100 be_complete_io(struct beiscsi_conn *beiscsi_conn, in be_complete_io() argument
1107 struct iscsi_conn *conn = beiscsi_conn->conn; in be_complete_io()
1168 be_complete_logout(struct beiscsi_conn *beiscsi_conn, in be_complete_logout() argument
1174 struct iscsi_conn *conn = beiscsi_conn->conn; in be_complete_logout()
1195 be_complete_tmf(struct beiscsi_conn *beiscsi_conn, in be_complete_tmf() argument
1200 struct iscsi_conn *conn = beiscsi_conn->conn; in be_complete_tmf()
1216 hwi_complete_drvr_msgs(struct beiscsi_conn *beiscsi_conn, in hwi_complete_drvr_msgs() argument
1242 session = beiscsi_conn->conn->session; in hwi_complete_drvr_msgs()
1251 be_complete_nopin_resp(struct beiscsi_conn *beiscsi_conn, in be_complete_nopin_resp() argument
1256 struct iscsi_conn *conn = beiscsi_conn->conn; in be_complete_nopin_resp()
1324 static void hwi_complete_cmd(struct beiscsi_conn *beiscsi_conn, in hwi_complete_cmd() argument
1327 struct iscsi_conn *conn = beiscsi_conn->conn; in hwi_complete_cmd()
1361 be_complete_nopin_resp(beiscsi_conn, task, &csol_cqe); in hwi_complete_cmd()
1363 be_complete_io(beiscsi_conn, task, &csol_cqe); in hwi_complete_cmd()
1368 be_complete_logout(beiscsi_conn, task, &csol_cqe); in hwi_complete_cmd()
1370 be_complete_tmf(beiscsi_conn, task, &csol_cqe); in hwi_complete_cmd()
1381 be_complete_nopin_resp(beiscsi_conn, task, &csol_cqe); in hwi_complete_cmd()
1407 beiscsi_complete_pdu(struct beiscsi_conn *beiscsi_conn, in beiscsi_complete_pdu() argument
1410 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_complete_pdu()
1411 struct iscsi_conn *conn = beiscsi_conn->conn; in beiscsi_complete_pdu()
1479 beiscsi_hdl_get_handle(struct beiscsi_conn *beiscsi_conn, in beiscsi_hdl_get_handle() argument
1484 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_hdl_get_handle()
1491 cid = beiscsi_conn->beiscsi_conn_cid; in beiscsi_hdl_get_handle()
1587 beiscsi_hdl_fwd_pdu(struct beiscsi_conn *beiscsi_conn, in beiscsi_hdl_fwd_pdu() argument
1591 struct iscsi_session *session = beiscsi_conn->conn->session; in beiscsi_hdl_fwd_pdu()
1593 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_hdl_fwd_pdu()
1626 beiscsi_conn->beiscsi_conn_cid, plast_handle, in beiscsi_hdl_fwd_pdu()
1633 status = beiscsi_complete_pdu(beiscsi_conn, phdr, pdata, dlen); in beiscsi_hdl_fwd_pdu()
1640 beiscsi_hdl_gather_pdu(struct beiscsi_conn *beiscsi_conn, in beiscsi_hdl_gather_pdu() argument
1651 phba = beiscsi_conn->phba; in beiscsi_hdl_gather_pdu()
1670 status = beiscsi_hdl_fwd_pdu(beiscsi_conn, in beiscsi_hdl_gather_pdu()
1686 status = beiscsi_hdl_fwd_pdu(beiscsi_conn, in beiscsi_hdl_gather_pdu()
1694 beiscsi_conn->beiscsi_conn_cid, err, in beiscsi_hdl_gather_pdu()
1764 beiscsi_hdq_process_compl(struct beiscsi_conn *beiscsi_conn, in beiscsi_hdq_process_compl() argument
1767 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_hdq_process_compl()
1775 cid_cri = BE_GET_CRI_FROM_CID(beiscsi_conn->beiscsi_conn_cid); in beiscsi_hdq_process_compl()
1778 pasync_handle = beiscsi_hdl_get_handle(beiscsi_conn, pasync_ctx, in beiscsi_hdq_process_compl()
1787 beiscsi_hdl_gather_pdu(beiscsi_conn, pasync_ctx, pasync_handle); in beiscsi_hdq_process_compl()
1857 struct beiscsi_conn *beiscsi_conn; in beiscsi_process_cq() local
1906 beiscsi_conn = beiscsi_ep->conn; in beiscsi_process_cq()
1917 hwi_complete_cmd(beiscsi_conn, phba, sol); in beiscsi_process_cq()
1925 hwi_complete_drvr_msgs(beiscsi_conn, phba, sol); in beiscsi_process_cq()
1934 beiscsi_hdq_process_compl(beiscsi_conn, in beiscsi_process_cq()
1945 beiscsi_hdq_process_compl(beiscsi_conn, in beiscsi_process_cq()
1983 beiscsi_hdq_process_compl(beiscsi_conn, in beiscsi_process_cq()
2006 if (beiscsi_conn) in beiscsi_process_cq()
2007 iscsi_conn_failure(beiscsi_conn->conn, in beiscsi_process_cq()
2265 struct beiscsi_conn *beiscsi_conn = io_task->conn; in hwi_write_buffer() local
2266 struct beiscsi_hba *phba = beiscsi_conn->phba; in hwi_write_buffer()
4045 sizeof(struct beiscsi_conn *), in hba_setup_cid_tbls()
4214 beiscsi_free_mgmt_task_handles(struct beiscsi_conn *beiscsi_conn, in beiscsi_free_mgmt_task_handles() argument
4218 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_free_mgmt_task_handles()
4222 beiscsi_conn->beiscsi_conn_cid); in beiscsi_free_mgmt_task_handles()
4257 struct beiscsi_conn *beiscsi_conn = conn->dd_data; in beiscsi_cleanup_task() local
4258 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_cleanup_task()
4259 struct beiscsi_session *beiscsi_sess = beiscsi_conn->beiscsi_sess; in beiscsi_cleanup_task()
4263 beiscsi_conn->beiscsi_conn_cid); in beiscsi_cleanup_task()
4293 if (!beiscsi_conn->login_in_progress) in beiscsi_cleanup_task()
4294 beiscsi_free_mgmt_task_handles(beiscsi_conn, task); in beiscsi_cleanup_task()
4299 beiscsi_offload_connection(struct beiscsi_conn *beiscsi_conn, in beiscsi_offload_connection() argument
4304 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_offload_connection()
4305 struct iscsi_task *task = beiscsi_conn->task; in beiscsi_offload_connection()
4313 beiscsi_conn->login_in_progress = 0; in beiscsi_offload_connection()
4318 pwrb_handle = alloc_wrb_handle(phba, beiscsi_conn->beiscsi_conn_cid, in beiscsi_offload_connection()
4333 doorbell |= beiscsi_conn->beiscsi_conn_cid & DB_WRB_POST_CID_MASK; in beiscsi_offload_connection()
4338 beiscsi_conn->doorbell_offset); in beiscsi_offload_connection()
4377 struct beiscsi_conn *beiscsi_conn = conn->dd_data; in beiscsi_alloc_pdu() local
4378 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_alloc_pdu()
4383 struct beiscsi_session *beiscsi_sess = beiscsi_conn->beiscsi_sess; in beiscsi_alloc_pdu()
4392 io_task->conn = beiscsi_conn; in beiscsi_alloc_pdu()
4406 beiscsi_conn->beiscsi_conn_cid); in beiscsi_alloc_pdu()
4410 beiscsi_conn->beiscsi_conn_cid, in beiscsi_alloc_pdu()
4417 beiscsi_conn->beiscsi_conn_cid); in beiscsi_alloc_pdu()
4423 beiscsi_conn->task = task; in beiscsi_alloc_pdu()
4424 if (!beiscsi_conn->login_in_progress) { in beiscsi_alloc_pdu()
4433 beiscsi_conn-> in beiscsi_alloc_pdu()
4438 beiscsi_conn->login_in_progress = 1; in beiscsi_alloc_pdu()
4439 beiscsi_conn->plogin_sgl_handle = in beiscsi_alloc_pdu()
4443 beiscsi_conn->beiscsi_conn_cid, in beiscsi_alloc_pdu()
4451 beiscsi_conn-> in beiscsi_alloc_pdu()
4455 beiscsi_conn->plogin_wrb_handle = in beiscsi_alloc_pdu()
4460 beiscsi_conn->plogin_sgl_handle; in beiscsi_alloc_pdu()
4462 beiscsi_conn->plogin_wrb_handle; in beiscsi_alloc_pdu()
4472 beiscsi_conn-> in beiscsi_alloc_pdu()
4478 beiscsi_conn->beiscsi_conn_cid, in beiscsi_alloc_pdu()
4485 beiscsi_conn->beiscsi_conn_cid); in beiscsi_alloc_pdu()
4508 beiscsi_conn->beiscsi_conn_cid); in beiscsi_alloc_pdu()
4525 struct beiscsi_conn *beiscsi_conn = conn->dd_data; in beiscsi_iotask_v2() local
4526 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_iotask_v2()
4569 doorbell |= beiscsi_conn->beiscsi_conn_cid & DB_WRB_POST_CID_MASK; in beiscsi_iotask_v2()
4575 beiscsi_conn->doorbell_offset); in beiscsi_iotask_v2()
4586 struct beiscsi_conn *beiscsi_conn = conn->dd_data; in beiscsi_iotask() local
4587 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_iotask()
4630 doorbell |= beiscsi_conn->beiscsi_conn_cid & DB_WRB_POST_CID_MASK; in beiscsi_iotask()
4636 beiscsi_conn->doorbell_offset); in beiscsi_iotask()
4644 struct beiscsi_conn *beiscsi_conn = conn->dd_data; in beiscsi_mtask() local
4645 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_mtask()
4652 cid = beiscsi_conn->beiscsi_conn_cid; in beiscsi_mtask()
4754 beiscsi_conn->doorbell_offset); in beiscsi_mtask()