Lines Matching refs:beiscsi_conn

228 	struct beiscsi_conn *beiscsi_conn;  in beiscsi_eh_abort()  local
248 beiscsi_conn = conn->dd_data; in beiscsi_eh_abort()
249 phba = beiscsi_conn->phba; in beiscsi_eh_abort()
258 inv_tbl.cid = beiscsi_conn->beiscsi_conn_cid; in beiscsi_eh_abort()
281 struct beiscsi_conn *beiscsi_conn; in beiscsi_eh_device_reset() local
300 beiscsi_conn = conn->dd_data; in beiscsi_eh_device_reset()
301 phba = beiscsi_conn->phba; in beiscsi_eh_device_reset()
341 inv_tbl->tbl[nents].cid = beiscsi_conn->beiscsi_conn_cid; in beiscsi_eh_device_reset()
363 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()
1603 beiscsi_hdl_fwd_pdu(struct beiscsi_conn *beiscsi_conn, in beiscsi_hdl_fwd_pdu() argument
1607 struct iscsi_session *session = beiscsi_conn->conn->session; in beiscsi_hdl_fwd_pdu()
1609 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_hdl_fwd_pdu()
1642 beiscsi_conn->beiscsi_conn_cid, plast_handle, in beiscsi_hdl_fwd_pdu()
1649 status = beiscsi_complete_pdu(beiscsi_conn, phdr, pdata, dlen); in beiscsi_hdl_fwd_pdu()
1656 beiscsi_hdl_gather_pdu(struct beiscsi_conn *beiscsi_conn, in beiscsi_hdl_gather_pdu() argument
1667 phba = beiscsi_conn->phba; in beiscsi_hdl_gather_pdu()
1686 status = beiscsi_hdl_fwd_pdu(beiscsi_conn, in beiscsi_hdl_gather_pdu()
1702 status = beiscsi_hdl_fwd_pdu(beiscsi_conn, in beiscsi_hdl_gather_pdu()
1710 beiscsi_conn->beiscsi_conn_cid, err, in beiscsi_hdl_gather_pdu()
1780 beiscsi_hdq_process_compl(struct beiscsi_conn *beiscsi_conn, in beiscsi_hdq_process_compl() argument
1783 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_hdq_process_compl()
1791 cid_cri = BE_GET_CRI_FROM_CID(beiscsi_conn->beiscsi_conn_cid); in beiscsi_hdq_process_compl()
1794 pasync_handle = beiscsi_hdl_get_handle(beiscsi_conn, pasync_ctx, in beiscsi_hdq_process_compl()
1803 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()
1943 hwi_complete_drvr_msgs(beiscsi_conn, phba, sol); in beiscsi_process_cq()
1952 beiscsi_hdq_process_compl(beiscsi_conn, in beiscsi_process_cq()
1963 beiscsi_hdq_process_compl(beiscsi_conn, in beiscsi_process_cq()
2001 beiscsi_hdq_process_compl(beiscsi_conn, in beiscsi_process_cq()
2024 if (beiscsi_conn) in beiscsi_process_cq()
2025 iscsi_conn_failure(beiscsi_conn->conn, in beiscsi_process_cq()
2283 struct beiscsi_conn *beiscsi_conn = io_task->conn; in hwi_write_buffer() local
2284 struct beiscsi_hba *phba = beiscsi_conn->phba; in hwi_write_buffer()
4063 sizeof(struct beiscsi_conn *), in hba_setup_cid_tbls()
4232 beiscsi_free_mgmt_task_handles(struct beiscsi_conn *beiscsi_conn, in beiscsi_free_mgmt_task_handles() argument
4236 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_free_mgmt_task_handles()
4240 beiscsi_conn->beiscsi_conn_cid); in beiscsi_free_mgmt_task_handles()
4275 struct beiscsi_conn *beiscsi_conn = conn->dd_data; in beiscsi_cleanup_task() local
4276 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_cleanup_task()
4277 struct beiscsi_session *beiscsi_sess = beiscsi_conn->beiscsi_sess; in beiscsi_cleanup_task()
4281 beiscsi_conn->beiscsi_conn_cid); in beiscsi_cleanup_task()
4311 if (!beiscsi_conn->login_in_progress) in beiscsi_cleanup_task()
4312 beiscsi_free_mgmt_task_handles(beiscsi_conn, task); in beiscsi_cleanup_task()
4317 beiscsi_offload_connection(struct beiscsi_conn *beiscsi_conn, in beiscsi_offload_connection() argument
4322 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_offload_connection()
4323 struct iscsi_task *task = beiscsi_conn->task; in beiscsi_offload_connection()
4331 beiscsi_conn->login_in_progress = 0; in beiscsi_offload_connection()
4336 pwrb_handle = alloc_wrb_handle(phba, beiscsi_conn->beiscsi_conn_cid, in beiscsi_offload_connection()
4351 doorbell |= beiscsi_conn->beiscsi_conn_cid & DB_WRB_POST_CID_MASK; in beiscsi_offload_connection()
4356 beiscsi_conn->doorbell_offset); in beiscsi_offload_connection()
4395 struct beiscsi_conn *beiscsi_conn = conn->dd_data; in beiscsi_alloc_pdu() local
4396 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_alloc_pdu()
4401 struct beiscsi_session *beiscsi_sess = beiscsi_conn->beiscsi_sess; in beiscsi_alloc_pdu()
4410 io_task->conn = beiscsi_conn; in beiscsi_alloc_pdu()
4424 beiscsi_conn->beiscsi_conn_cid); in beiscsi_alloc_pdu()
4428 beiscsi_conn->beiscsi_conn_cid, in beiscsi_alloc_pdu()
4435 beiscsi_conn->beiscsi_conn_cid); in beiscsi_alloc_pdu()
4441 beiscsi_conn->task = task; in beiscsi_alloc_pdu()
4442 if (!beiscsi_conn->login_in_progress) { in beiscsi_alloc_pdu()
4451 beiscsi_conn-> in beiscsi_alloc_pdu()
4456 beiscsi_conn->login_in_progress = 1; in beiscsi_alloc_pdu()
4457 beiscsi_conn->plogin_sgl_handle = in beiscsi_alloc_pdu()
4461 beiscsi_conn->beiscsi_conn_cid, in beiscsi_alloc_pdu()
4469 beiscsi_conn-> in beiscsi_alloc_pdu()
4473 beiscsi_conn->plogin_wrb_handle = in beiscsi_alloc_pdu()
4478 beiscsi_conn->plogin_sgl_handle; in beiscsi_alloc_pdu()
4480 beiscsi_conn->plogin_wrb_handle; in beiscsi_alloc_pdu()
4490 beiscsi_conn-> in beiscsi_alloc_pdu()
4496 beiscsi_conn->beiscsi_conn_cid, in beiscsi_alloc_pdu()
4503 beiscsi_conn->beiscsi_conn_cid); in beiscsi_alloc_pdu()
4526 beiscsi_conn->beiscsi_conn_cid); in beiscsi_alloc_pdu()
4543 struct beiscsi_conn *beiscsi_conn = conn->dd_data; in beiscsi_iotask_v2() local
4544 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_iotask_v2()
4587 doorbell |= beiscsi_conn->beiscsi_conn_cid & DB_WRB_POST_CID_MASK; in beiscsi_iotask_v2()
4593 beiscsi_conn->doorbell_offset); in beiscsi_iotask_v2()
4604 struct beiscsi_conn *beiscsi_conn = conn->dd_data; in beiscsi_iotask() local
4605 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_iotask()
4648 doorbell |= beiscsi_conn->beiscsi_conn_cid & DB_WRB_POST_CID_MASK; in beiscsi_iotask()
4654 beiscsi_conn->doorbell_offset); in beiscsi_iotask()
4662 struct beiscsi_conn *beiscsi_conn = conn->dd_data; in beiscsi_mtask() local
4663 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_mtask()
4670 cid = beiscsi_conn->beiscsi_conn_cid; in beiscsi_mtask()
4772 beiscsi_conn->doorbell_offset); in beiscsi_mtask()