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()
1084 beiscsi_process_async_pdu(struct beiscsi_conn *beiscsi_conn, in beiscsi_process_async_pdu() argument
1090 struct iscsi_conn *conn = beiscsi_conn->conn; in beiscsi_process_async_pdu()
1299 be_complete_io(struct beiscsi_conn *beiscsi_conn, in be_complete_io() argument
1306 struct iscsi_conn *conn = beiscsi_conn->conn; in be_complete_io()
1365 be_complete_logout(struct beiscsi_conn *beiscsi_conn, in be_complete_logout() argument
1371 struct iscsi_conn *conn = beiscsi_conn->conn; in be_complete_logout()
1392 be_complete_tmf(struct beiscsi_conn *beiscsi_conn, in be_complete_tmf() argument
1397 struct iscsi_conn *conn = beiscsi_conn->conn; in be_complete_tmf()
1413 hwi_complete_drvr_msgs(struct beiscsi_conn *beiscsi_conn, in hwi_complete_drvr_msgs() argument
1447 be_complete_nopin_resp(struct beiscsi_conn *beiscsi_conn, in be_complete_nopin_resp() argument
1452 struct iscsi_conn *conn = beiscsi_conn->conn; in be_complete_nopin_resp()
1520 static void hwi_complete_cmd(struct beiscsi_conn *beiscsi_conn, in hwi_complete_cmd() argument
1529 struct iscsi_conn *conn = beiscsi_conn->conn; in hwi_complete_cmd()
1555 be_complete_nopin_resp(beiscsi_conn, task, &csol_cqe); in hwi_complete_cmd()
1557 be_complete_io(beiscsi_conn, task, &csol_cqe); in hwi_complete_cmd()
1562 be_complete_logout(beiscsi_conn, task, &csol_cqe); in hwi_complete_cmd()
1564 be_complete_tmf(beiscsi_conn, task, &csol_cqe); in hwi_complete_cmd()
1575 be_complete_nopin_resp(beiscsi_conn, task, &csol_cqe); in hwi_complete_cmd()
1604 struct beiscsi_conn *beiscsi_conn, in hwi_get_async_handle() argument
1667 beiscsi_conn->beiscsi_conn_cid); in hwi_get_async_handle()
1853 struct beiscsi_conn *beiscsi_conn, in hwi_flush_default_pdu_buffer() argument
1861 beiscsi_conn->beiscsi_conn_cid); in hwi_flush_default_pdu_buffer()
1868 pasync_handle = hwi_get_async_handle(phba, beiscsi_conn, pasync_ctx, in hwi_flush_default_pdu_buffer()
1882 hwi_fwd_async_msg(struct beiscsi_conn *beiscsi_conn, in hwi_fwd_async_msg() argument
1913 status = beiscsi_process_async_pdu(beiscsi_conn, phba, in hwi_fwd_async_msg()
1922 hwi_gather_async_pdu(struct beiscsi_conn *beiscsi_conn, in hwi_gather_async_pdu() argument
1935 BE_GET_CRI_FROM_CID(beiscsi_conn-> in hwi_gather_async_pdu()
1965 status = hwi_fwd_async_msg(beiscsi_conn, phba, in hwi_gather_async_pdu()
1982 status = hwi_fwd_async_msg(beiscsi_conn, phba, in hwi_gather_async_pdu()
1989 static void hwi_process_default_pdu_ring(struct beiscsi_conn *beiscsi_conn, in hwi_process_default_pdu_ring() argument
1998 beiscsi_conn->beiscsi_conn_cid); in hwi_process_default_pdu_ring()
2005 pasync_handle = hwi_get_async_handle(phba, beiscsi_conn, pasync_ctx, in hwi_process_default_pdu_ring()
2012 hwi_gather_async_pdu(beiscsi_conn, phba, pasync_handle); in hwi_process_default_pdu_ring()
2078 struct beiscsi_conn *beiscsi_conn; in beiscsi_process_cq() local
2124 beiscsi_conn = beiscsi_ep->conn; in beiscsi_process_cq()
2135 hwi_complete_cmd(beiscsi_conn, phba, sol); in beiscsi_process_cq()
2144 hwi_complete_drvr_msgs(beiscsi_conn, phba, sol); in beiscsi_process_cq()
2153 hwi_process_default_pdu_ring(beiscsi_conn, phba, in beiscsi_process_cq()
2164 hwi_process_default_pdu_ring(beiscsi_conn, phba, in beiscsi_process_cq()
2195 hwi_flush_default_pdu_buffer(phba, beiscsi_conn, in beiscsi_process_cq()
2219 if (beiscsi_conn) in beiscsi_process_cq()
2220 iscsi_conn_failure(beiscsi_conn->conn, in beiscsi_process_cq()
2490 struct beiscsi_conn *beiscsi_conn = io_task->conn; in hwi_write_buffer() local
2491 struct beiscsi_hba *phba = beiscsi_conn->phba; in hwi_write_buffer()
4201 phba->conn_table = kzalloc(sizeof(struct beiscsi_conn *) * in hba_setup_cid_tbls()
4553 beiscsi_free_mgmt_task_handles(struct beiscsi_conn *beiscsi_conn, in beiscsi_free_mgmt_task_handles() argument
4557 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_free_mgmt_task_handles()
4561 beiscsi_conn->beiscsi_conn_cid); in beiscsi_free_mgmt_task_handles()
4600 struct beiscsi_conn *beiscsi_conn = conn->dd_data; in beiscsi_cleanup_task() local
4601 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_cleanup_task()
4602 struct beiscsi_session *beiscsi_sess = beiscsi_conn->beiscsi_sess; in beiscsi_cleanup_task()
4606 beiscsi_conn->beiscsi_conn_cid); in beiscsi_cleanup_task()
4636 if (!beiscsi_conn->login_in_progress) in beiscsi_cleanup_task()
4637 beiscsi_free_mgmt_task_handles(beiscsi_conn, task); in beiscsi_cleanup_task()
4642 beiscsi_offload_connection(struct beiscsi_conn *beiscsi_conn, in beiscsi_offload_connection() argument
4646 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_offload_connection()
4647 struct iscsi_task *task = beiscsi_conn->task; in beiscsi_offload_connection()
4655 beiscsi_conn->login_in_progress = 0; in beiscsi_offload_connection()
4660 pwrb_handle = alloc_wrb_handle(phba, beiscsi_conn->beiscsi_conn_cid); in beiscsi_offload_connection()
4672 doorbell |= beiscsi_conn->beiscsi_conn_cid & DB_WRB_POST_CID_MASK; in beiscsi_offload_connection()
4677 beiscsi_conn->doorbell_offset); in beiscsi_offload_connection()
4702 struct beiscsi_conn *beiscsi_conn = conn->dd_data; in beiscsi_alloc_pdu() local
4703 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_alloc_pdu()
4708 struct beiscsi_session *beiscsi_sess = beiscsi_conn->beiscsi_sess; in beiscsi_alloc_pdu()
4717 io_task->conn = beiscsi_conn; in beiscsi_alloc_pdu()
4733 beiscsi_conn->beiscsi_conn_cid); in beiscsi_alloc_pdu()
4737 beiscsi_conn->beiscsi_conn_cid); in beiscsi_alloc_pdu()
4743 beiscsi_conn->beiscsi_conn_cid); in beiscsi_alloc_pdu()
4749 beiscsi_conn->task = task; in beiscsi_alloc_pdu()
4750 if (!beiscsi_conn->login_in_progress) { in beiscsi_alloc_pdu()
4761 beiscsi_conn-> in beiscsi_alloc_pdu()
4766 beiscsi_conn->login_in_progress = 1; in beiscsi_alloc_pdu()
4767 beiscsi_conn->plogin_sgl_handle = in beiscsi_alloc_pdu()
4771 beiscsi_conn->beiscsi_conn_cid); in beiscsi_alloc_pdu()
4778 beiscsi_conn-> in beiscsi_alloc_pdu()
4782 beiscsi_conn->plogin_wrb_handle = in beiscsi_alloc_pdu()
4787 beiscsi_conn->plogin_sgl_handle; in beiscsi_alloc_pdu()
4789 beiscsi_conn->plogin_wrb_handle; in beiscsi_alloc_pdu()
4801 beiscsi_conn-> in beiscsi_alloc_pdu()
4807 beiscsi_conn->beiscsi_conn_cid); in beiscsi_alloc_pdu()
4813 beiscsi_conn->beiscsi_conn_cid); in beiscsi_alloc_pdu()
4840 beiscsi_conn->beiscsi_conn_cid); in beiscsi_alloc_pdu()
4857 struct beiscsi_conn *beiscsi_conn = conn->dd_data; in beiscsi_iotask_v2() local
4858 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_iotask_v2()
4897 doorbell |= beiscsi_conn->beiscsi_conn_cid & DB_WRB_POST_CID_MASK; in beiscsi_iotask_v2()
4903 beiscsi_conn->doorbell_offset); in beiscsi_iotask_v2()
4914 struct beiscsi_conn *beiscsi_conn = conn->dd_data; in beiscsi_iotask() local
4915 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_iotask()
4953 doorbell |= beiscsi_conn->beiscsi_conn_cid & DB_WRB_POST_CID_MASK; in beiscsi_iotask()
4959 beiscsi_conn->doorbell_offset); in beiscsi_iotask()
4967 struct beiscsi_conn *beiscsi_conn = conn->dd_data; in beiscsi_mtask() local
4968 struct beiscsi_hba *phba = beiscsi_conn->phba; in beiscsi_mtask()
4974 cid = beiscsi_conn->beiscsi_conn_cid; in beiscsi_mtask()
5062 beiscsi_conn->doorbell_offset); in beiscsi_mtask()
5075 phba = ((struct beiscsi_conn *)task->conn->dd_data)->phba; in beiscsi_task_xmit()
5086 phba = ((struct beiscsi_conn *)conn->dd_data)->phba; in beiscsi_task_xmit()