Lines Matching refs:beiscsi_conn
224 struct beiscsi_conn *beiscsi_conn; in beiscsi_eh_abort() local
251 beiscsi_conn = conn->dd_data; in beiscsi_eh_abort()
252 phba = beiscsi_conn->phba; in beiscsi_eh_abort()
261 inv_tbl.cid = beiscsi_conn->beiscsi_conn_cid; in beiscsi_eh_abort()
284 struct beiscsi_conn *beiscsi_conn; in beiscsi_eh_device_reset() local
303 beiscsi_conn = conn->dd_data; in beiscsi_eh_device_reset()
304 phba = beiscsi_conn->phba; in beiscsi_eh_device_reset()
352 inv_tbl->tbl[nents].cid = beiscsi_conn->beiscsi_conn_cid; in beiscsi_eh_device_reset()
374 beiscsi_conn->beiscsi_conn_cid); in beiscsi_eh_device_reset()
1117 be_complete_io(struct beiscsi_conn *beiscsi_conn, in be_complete_io() argument
1124 struct iscsi_conn *conn = beiscsi_conn->conn; in be_complete_io()
1185 be_complete_logout(struct beiscsi_conn *beiscsi_conn, in be_complete_logout() argument
1191 struct iscsi_conn *conn = beiscsi_conn->conn; in be_complete_logout()
1212 be_complete_tmf(struct beiscsi_conn *beiscsi_conn, in be_complete_tmf() argument
1217 struct iscsi_conn *conn = beiscsi_conn->conn; in be_complete_tmf()
1233 hwi_complete_drvr_msgs(struct beiscsi_conn *beiscsi_conn, in hwi_complete_drvr_msgs() argument
1259 session = beiscsi_conn->conn->session; in hwi_complete_drvr_msgs()
1268 be_complete_nopin_resp(struct beiscsi_conn *beiscsi_conn, in be_complete_nopin_resp() argument
1273 struct iscsi_conn *conn = beiscsi_conn->conn; in be_complete_nopin_resp()
1341 static void hwi_complete_cmd(struct beiscsi_conn *beiscsi_conn, in hwi_complete_cmd() argument
1344 struct iscsi_conn *conn = beiscsi_conn->conn; in hwi_complete_cmd()
1378 be_complete_nopin_resp(beiscsi_conn, task, &csol_cqe); in hwi_complete_cmd()
1380 be_complete_io(beiscsi_conn, task, &csol_cqe); in hwi_complete_cmd()
1385 be_complete_logout(beiscsi_conn, task, &csol_cqe); in hwi_complete_cmd()
1387 be_complete_tmf(beiscsi_conn, task, &csol_cqe); in hwi_complete_cmd()
1398 be_complete_nopin_resp(beiscsi_conn, task, &csol_cqe); in hwi_complete_cmd()
1424 beiscsi_complete_pdu(struct beiscsi_conn *beiscsi_conn, in beiscsi_complete_pdu() argument
1427 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_complete_pdu()
1428 struct iscsi_conn *conn = beiscsi_conn->conn; in beiscsi_complete_pdu()
1496 beiscsi_hdl_get_handle(struct beiscsi_conn *beiscsi_conn, in beiscsi_hdl_get_handle() argument
1501 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_hdl_get_handle()
1508 cid = beiscsi_conn->beiscsi_conn_cid; in beiscsi_hdl_get_handle()
1604 beiscsi_hdl_fwd_pdu(struct beiscsi_conn *beiscsi_conn, in beiscsi_hdl_fwd_pdu() argument
1608 struct iscsi_session *session = beiscsi_conn->conn->session; in beiscsi_hdl_fwd_pdu()
1610 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_hdl_fwd_pdu()
1643 beiscsi_conn->beiscsi_conn_cid, plast_handle, in beiscsi_hdl_fwd_pdu()
1650 status = beiscsi_complete_pdu(beiscsi_conn, phdr, pdata, dlen); in beiscsi_hdl_fwd_pdu()
1657 beiscsi_hdl_gather_pdu(struct beiscsi_conn *beiscsi_conn, in beiscsi_hdl_gather_pdu() argument
1668 phba = beiscsi_conn->phba; in beiscsi_hdl_gather_pdu()
1687 status = beiscsi_hdl_fwd_pdu(beiscsi_conn, in beiscsi_hdl_gather_pdu()
1703 status = beiscsi_hdl_fwd_pdu(beiscsi_conn, in beiscsi_hdl_gather_pdu()
1711 beiscsi_conn->beiscsi_conn_cid, err, in beiscsi_hdl_gather_pdu()
1781 beiscsi_hdq_process_compl(struct beiscsi_conn *beiscsi_conn, in beiscsi_hdq_process_compl() argument
1784 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_hdq_process_compl()
1792 cid_cri = BE_GET_CRI_FROM_CID(beiscsi_conn->beiscsi_conn_cid); in beiscsi_hdq_process_compl()
1795 pasync_handle = beiscsi_hdl_get_handle(beiscsi_conn, pasync_ctx, in beiscsi_hdq_process_compl()
1804 beiscsi_hdl_gather_pdu(beiscsi_conn, pasync_ctx, pasync_handle); in beiscsi_hdq_process_compl()
1874 struct beiscsi_conn *beiscsi_conn; in beiscsi_process_cq() local
1923 beiscsi_conn = beiscsi_ep->conn; in beiscsi_process_cq()
1934 hwi_complete_cmd(beiscsi_conn, phba, sol); in beiscsi_process_cq()
1942 hwi_complete_drvr_msgs(beiscsi_conn, phba, sol); in beiscsi_process_cq()
1951 beiscsi_hdq_process_compl(beiscsi_conn, in beiscsi_process_cq()
1962 beiscsi_hdq_process_compl(beiscsi_conn, in beiscsi_process_cq()
2000 beiscsi_hdq_process_compl(beiscsi_conn, in beiscsi_process_cq()
2023 if (beiscsi_conn) in beiscsi_process_cq()
2024 iscsi_conn_failure(beiscsi_conn->conn, in beiscsi_process_cq()
2281 struct beiscsi_conn *beiscsi_conn = io_task->conn; in hwi_write_buffer() local
2282 struct beiscsi_hba *phba = beiscsi_conn->phba; in hwi_write_buffer()
4044 sizeof(struct beiscsi_conn *), in hba_setup_cid_tbls()
4209 beiscsi_free_mgmt_task_handles(struct beiscsi_conn *beiscsi_conn, in beiscsi_free_mgmt_task_handles() argument
4213 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_free_mgmt_task_handles()
4217 beiscsi_conn->beiscsi_conn_cid); in beiscsi_free_mgmt_task_handles()
4252 struct beiscsi_conn *beiscsi_conn = conn->dd_data; in beiscsi_cleanup_task() local
4253 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_cleanup_task()
4254 struct beiscsi_session *beiscsi_sess = beiscsi_conn->beiscsi_sess; in beiscsi_cleanup_task()
4258 beiscsi_conn->beiscsi_conn_cid); in beiscsi_cleanup_task()
4288 if (!beiscsi_conn->login_in_progress) in beiscsi_cleanup_task()
4289 beiscsi_free_mgmt_task_handles(beiscsi_conn, task); in beiscsi_cleanup_task()
4294 beiscsi_offload_connection(struct beiscsi_conn *beiscsi_conn, in beiscsi_offload_connection() argument
4299 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_offload_connection()
4300 struct iscsi_task *task = beiscsi_conn->task; in beiscsi_offload_connection()
4308 beiscsi_conn->login_in_progress = 0; in beiscsi_offload_connection()
4313 pwrb_handle = alloc_wrb_handle(phba, beiscsi_conn->beiscsi_conn_cid, in beiscsi_offload_connection()
4328 doorbell |= beiscsi_conn->beiscsi_conn_cid & DB_WRB_POST_CID_MASK; in beiscsi_offload_connection()
4333 beiscsi_conn->doorbell_offset); in beiscsi_offload_connection()
4372 struct beiscsi_conn *beiscsi_conn = conn->dd_data; in beiscsi_alloc_pdu() local
4373 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_alloc_pdu()
4378 struct beiscsi_session *beiscsi_sess = beiscsi_conn->beiscsi_sess; in beiscsi_alloc_pdu()
4387 io_task->conn = beiscsi_conn; in beiscsi_alloc_pdu()
4401 beiscsi_conn->beiscsi_conn_cid); in beiscsi_alloc_pdu()
4405 beiscsi_conn->beiscsi_conn_cid, in beiscsi_alloc_pdu()
4412 beiscsi_conn->beiscsi_conn_cid); in beiscsi_alloc_pdu()
4418 beiscsi_conn->task = task; in beiscsi_alloc_pdu()
4419 if (!beiscsi_conn->login_in_progress) { in beiscsi_alloc_pdu()
4428 beiscsi_conn->beiscsi_conn_cid); in beiscsi_alloc_pdu()
4432 beiscsi_conn->login_in_progress = 1; in beiscsi_alloc_pdu()
4433 beiscsi_conn->plogin_sgl_handle = in beiscsi_alloc_pdu()
4437 beiscsi_conn->beiscsi_conn_cid, in beiscsi_alloc_pdu()
4445 beiscsi_conn->beiscsi_conn_cid); in beiscsi_alloc_pdu()
4448 beiscsi_conn->plogin_wrb_handle = in beiscsi_alloc_pdu()
4453 beiscsi_conn->plogin_sgl_handle; in beiscsi_alloc_pdu()
4455 beiscsi_conn->plogin_wrb_handle; in beiscsi_alloc_pdu()
4465 beiscsi_conn->beiscsi_conn_cid); in beiscsi_alloc_pdu()
4470 beiscsi_conn->beiscsi_conn_cid, in beiscsi_alloc_pdu()
4477 beiscsi_conn->beiscsi_conn_cid); in beiscsi_alloc_pdu()
4500 beiscsi_conn->beiscsi_conn_cid); in beiscsi_alloc_pdu()
4517 struct beiscsi_conn *beiscsi_conn = conn->dd_data; in beiscsi_iotask_v2() local
4518 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_iotask_v2()
4561 doorbell |= beiscsi_conn->beiscsi_conn_cid & DB_WRB_POST_CID_MASK; in beiscsi_iotask_v2()
4567 beiscsi_conn->doorbell_offset); in beiscsi_iotask_v2()
4578 struct beiscsi_conn *beiscsi_conn = conn->dd_data; in beiscsi_iotask() local
4579 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_iotask()
4622 doorbell |= beiscsi_conn->beiscsi_conn_cid & DB_WRB_POST_CID_MASK; in beiscsi_iotask()
4628 beiscsi_conn->doorbell_offset); in beiscsi_iotask()
4636 struct beiscsi_conn *beiscsi_conn = conn->dd_data; in beiscsi_mtask() local
4637 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_mtask()
4644 cid = beiscsi_conn->beiscsi_conn_cid; in beiscsi_mtask()
4746 beiscsi_conn->doorbell_offset); in beiscsi_mtask()