Lines Matching refs:beiscsi_conn

224 	struct beiscsi_conn *beiscsi_conn;  in beiscsi_eh_abort()  local
255 beiscsi_conn = conn->dd_data; in beiscsi_eh_abort()
256 phba = beiscsi_conn->phba; in beiscsi_eh_abort()
259 cid = beiscsi_conn->beiscsi_conn_cid; in beiscsi_eh_abort()
301 struct beiscsi_conn *beiscsi_conn; in beiscsi_eh_device_reset() local
319 beiscsi_conn = conn->dd_data; in beiscsi_eh_device_reset()
320 phba = beiscsi_conn->phba; in beiscsi_eh_device_reset()
321 cid = beiscsi_conn->beiscsi_conn_cid; in beiscsi_eh_device_reset()
1096 beiscsi_process_async_pdu(struct beiscsi_conn *beiscsi_conn, in beiscsi_process_async_pdu() argument
1102 struct iscsi_conn *conn = beiscsi_conn->conn; in beiscsi_process_async_pdu()
1313 be_complete_io(struct beiscsi_conn *beiscsi_conn, in be_complete_io() argument
1320 struct iscsi_conn *conn = beiscsi_conn->conn; in be_complete_io()
1381 be_complete_logout(struct beiscsi_conn *beiscsi_conn, in be_complete_logout() argument
1387 struct iscsi_conn *conn = beiscsi_conn->conn; in be_complete_logout()
1408 be_complete_tmf(struct beiscsi_conn *beiscsi_conn, in be_complete_tmf() argument
1413 struct iscsi_conn *conn = beiscsi_conn->conn; in be_complete_tmf()
1429 hwi_complete_drvr_msgs(struct beiscsi_conn *beiscsi_conn, in hwi_complete_drvr_msgs() argument
1463 be_complete_nopin_resp(struct beiscsi_conn *beiscsi_conn, in be_complete_nopin_resp() argument
1468 struct iscsi_conn *conn = beiscsi_conn->conn; in be_complete_nopin_resp()
1536 static void hwi_complete_cmd(struct beiscsi_conn *beiscsi_conn, in hwi_complete_cmd() argument
1545 struct iscsi_conn *conn = beiscsi_conn->conn; in hwi_complete_cmd()
1571 be_complete_nopin_resp(beiscsi_conn, task, &csol_cqe); in hwi_complete_cmd()
1573 be_complete_io(beiscsi_conn, task, &csol_cqe); in hwi_complete_cmd()
1578 be_complete_logout(beiscsi_conn, task, &csol_cqe); in hwi_complete_cmd()
1580 be_complete_tmf(beiscsi_conn, task, &csol_cqe); in hwi_complete_cmd()
1591 be_complete_nopin_resp(beiscsi_conn, task, &csol_cqe); in hwi_complete_cmd()
1620 struct beiscsi_conn *beiscsi_conn, in hwi_get_async_handle() argument
1683 beiscsi_conn->beiscsi_conn_cid); in hwi_get_async_handle()
1869 struct beiscsi_conn *beiscsi_conn, in hwi_flush_default_pdu_buffer() argument
1877 beiscsi_conn->beiscsi_conn_cid); in hwi_flush_default_pdu_buffer()
1884 pasync_handle = hwi_get_async_handle(phba, beiscsi_conn, pasync_ctx, in hwi_flush_default_pdu_buffer()
1898 hwi_fwd_async_msg(struct beiscsi_conn *beiscsi_conn, in hwi_fwd_async_msg() argument
1929 status = beiscsi_process_async_pdu(beiscsi_conn, phba, in hwi_fwd_async_msg()
1938 hwi_gather_async_pdu(struct beiscsi_conn *beiscsi_conn, in hwi_gather_async_pdu() argument
1951 BE_GET_CRI_FROM_CID(beiscsi_conn-> in hwi_gather_async_pdu()
1981 status = hwi_fwd_async_msg(beiscsi_conn, phba, in hwi_gather_async_pdu()
1998 status = hwi_fwd_async_msg(beiscsi_conn, phba, in hwi_gather_async_pdu()
2005 static void hwi_process_default_pdu_ring(struct beiscsi_conn *beiscsi_conn, in hwi_process_default_pdu_ring() argument
2014 beiscsi_conn->beiscsi_conn_cid); in hwi_process_default_pdu_ring()
2021 pasync_handle = hwi_get_async_handle(phba, beiscsi_conn, pasync_ctx, in hwi_process_default_pdu_ring()
2028 hwi_gather_async_pdu(beiscsi_conn, phba, pasync_handle); in hwi_process_default_pdu_ring()
2099 struct beiscsi_conn *beiscsi_conn; in beiscsi_process_cq() local
2145 beiscsi_conn = beiscsi_ep->conn; in beiscsi_process_cq()
2156 hwi_complete_cmd(beiscsi_conn, phba, sol); in beiscsi_process_cq()
2165 hwi_complete_drvr_msgs(beiscsi_conn, phba, sol); in beiscsi_process_cq()
2174 hwi_process_default_pdu_ring(beiscsi_conn, phba, in beiscsi_process_cq()
2185 hwi_process_default_pdu_ring(beiscsi_conn, phba, in beiscsi_process_cq()
2216 hwi_flush_default_pdu_buffer(phba, beiscsi_conn, in beiscsi_process_cq()
2240 if (beiscsi_conn) in beiscsi_process_cq()
2241 iscsi_conn_failure(beiscsi_conn->conn, in beiscsi_process_cq()
2511 struct beiscsi_conn *beiscsi_conn = io_task->conn; in hwi_write_buffer() local
2512 struct beiscsi_hba *phba = beiscsi_conn->phba; in hwi_write_buffer()
4228 phba->conn_table = kzalloc(sizeof(struct beiscsi_conn *) * in hba_setup_cid_tbls()
4589 beiscsi_free_mgmt_task_handles(struct beiscsi_conn *beiscsi_conn, in beiscsi_free_mgmt_task_handles() argument
4593 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_free_mgmt_task_handles()
4597 beiscsi_conn->beiscsi_conn_cid); in beiscsi_free_mgmt_task_handles()
4638 struct beiscsi_conn *beiscsi_conn = conn->dd_data; in beiscsi_cleanup_task() local
4639 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_cleanup_task()
4640 struct beiscsi_session *beiscsi_sess = beiscsi_conn->beiscsi_sess; in beiscsi_cleanup_task()
4644 beiscsi_conn->beiscsi_conn_cid); in beiscsi_cleanup_task()
4674 if (!beiscsi_conn->login_in_progress) in beiscsi_cleanup_task()
4675 beiscsi_free_mgmt_task_handles(beiscsi_conn, task); in beiscsi_cleanup_task()
4680 beiscsi_offload_connection(struct beiscsi_conn *beiscsi_conn, in beiscsi_offload_connection() argument
4685 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_offload_connection()
4686 struct iscsi_task *task = beiscsi_conn->task; in beiscsi_offload_connection()
4694 beiscsi_conn->login_in_progress = 0; in beiscsi_offload_connection()
4699 pwrb_handle = alloc_wrb_handle(phba, beiscsi_conn->beiscsi_conn_cid, in beiscsi_offload_connection()
4714 doorbell |= beiscsi_conn->beiscsi_conn_cid & DB_WRB_POST_CID_MASK; in beiscsi_offload_connection()
4719 beiscsi_conn->doorbell_offset); in beiscsi_offload_connection()
4744 struct beiscsi_conn *beiscsi_conn = conn->dd_data; in beiscsi_alloc_pdu() local
4745 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_alloc_pdu()
4750 struct beiscsi_session *beiscsi_sess = beiscsi_conn->beiscsi_sess; in beiscsi_alloc_pdu()
4759 io_task->conn = beiscsi_conn; in beiscsi_alloc_pdu()
4775 beiscsi_conn->beiscsi_conn_cid); in beiscsi_alloc_pdu()
4779 beiscsi_conn->beiscsi_conn_cid, in beiscsi_alloc_pdu()
4786 beiscsi_conn->beiscsi_conn_cid); in beiscsi_alloc_pdu()
4792 beiscsi_conn->task = task; in beiscsi_alloc_pdu()
4793 if (!beiscsi_conn->login_in_progress) { in beiscsi_alloc_pdu()
4804 beiscsi_conn-> in beiscsi_alloc_pdu()
4809 beiscsi_conn->login_in_progress = 1; in beiscsi_alloc_pdu()
4810 beiscsi_conn->plogin_sgl_handle = in beiscsi_alloc_pdu()
4814 beiscsi_conn->beiscsi_conn_cid, in beiscsi_alloc_pdu()
4822 beiscsi_conn-> in beiscsi_alloc_pdu()
4826 beiscsi_conn->plogin_wrb_handle = in beiscsi_alloc_pdu()
4831 beiscsi_conn->plogin_sgl_handle; in beiscsi_alloc_pdu()
4833 beiscsi_conn->plogin_wrb_handle; in beiscsi_alloc_pdu()
4845 beiscsi_conn-> in beiscsi_alloc_pdu()
4851 beiscsi_conn->beiscsi_conn_cid, in beiscsi_alloc_pdu()
4858 beiscsi_conn->beiscsi_conn_cid); in beiscsi_alloc_pdu()
4885 beiscsi_conn->beiscsi_conn_cid); in beiscsi_alloc_pdu()
4902 struct beiscsi_conn *beiscsi_conn = conn->dd_data; in beiscsi_iotask_v2() local
4903 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_iotask_v2()
4947 doorbell |= beiscsi_conn->beiscsi_conn_cid & DB_WRB_POST_CID_MASK; in beiscsi_iotask_v2()
4953 beiscsi_conn->doorbell_offset); in beiscsi_iotask_v2()
4964 struct beiscsi_conn *beiscsi_conn = conn->dd_data; in beiscsi_iotask() local
4965 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_iotask()
5009 doorbell |= beiscsi_conn->beiscsi_conn_cid & DB_WRB_POST_CID_MASK; in beiscsi_iotask()
5015 beiscsi_conn->doorbell_offset); in beiscsi_iotask()
5023 struct beiscsi_conn *beiscsi_conn = conn->dd_data; in beiscsi_mtask() local
5024 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_mtask()
5030 cid = beiscsi_conn->beiscsi_conn_cid; in beiscsi_mtask()
5130 beiscsi_conn->doorbell_offset); in beiscsi_mtask()
5143 phba = ((struct beiscsi_conn *)task->conn->dd_data)->phba; in beiscsi_task_xmit()
5154 phba = ((struct beiscsi_conn *)conn->dd_data)->phba; in beiscsi_task_xmit()