beiscsi_conn
struct beiscsi_conn *beiscsi_conn;
beiscsi_conn = beiscsi_ep->conn;
if (beiscsi_conn->login_in_progress) {
beiscsi_free_mgmt_task_handles(beiscsi_conn,
beiscsi_conn->task);
beiscsi_conn->login_in_progress = 0;
struct beiscsi_conn *beiscsi_conn;
cls_conn = iscsi_conn_setup(cls_session, sizeof(*beiscsi_conn), cid);
beiscsi_conn = conn->dd_data;
beiscsi_conn->ep = NULL;
beiscsi_conn->phba = phba;
beiscsi_conn->conn = conn;
beiscsi_conn->beiscsi_sess = beiscsi_sess;
struct beiscsi_conn *beiscsi_conn = conn->dd_data;
if (beiscsi_conn != phba->conn_table[cri_index] ||
beiscsi_conn,
beiscsi_conn->beiscsi_conn_cid = beiscsi_ep->ep_cid;
beiscsi_conn->ep = beiscsi_ep;
beiscsi_ep->conn = beiscsi_conn;
beiscsi_conn->doorbell_offset = pwrb_context->doorbell_offset;
beiscsi_ep->ep_cid, cri_index, beiscsi_conn);
phba->conn_table[cri_index] = beiscsi_conn;
phba = ((struct beiscsi_conn *)conn->dd_data)->phba;
phba = ((struct beiscsi_conn *)conn->dd_data)->phba;
static void beiscsi_set_params_for_offld(struct beiscsi_conn *beiscsi_conn,
struct iscsi_conn *conn = beiscsi_conn->conn;
struct beiscsi_conn *beiscsi_conn = conn->dd_data;
phba = ((struct beiscsi_conn *)conn->dd_data)->phba;
beiscsi_log(beiscsi_conn->phba, KERN_INFO, BEISCSI_LOG_CONFIG,
beiscsi_ep = beiscsi_conn->ep;
beiscsi_log(beiscsi_conn->phba, KERN_ERR,
beiscsi_conn->login_in_progress = 0;
beiscsi_set_params_for_offld(beiscsi_conn, ¶ms);
beiscsi_offload_connection(beiscsi_conn, ¶ms);
void beiscsi_offload_connection(struct beiscsi_conn *beiscsi_conn,
struct beiscsi_conn *beiscsi_conn,
be_complete_io(struct beiscsi_conn *beiscsi_conn,
struct iscsi_conn *conn = beiscsi_conn->conn;
be_complete_logout(struct beiscsi_conn *beiscsi_conn,
struct iscsi_conn *conn = beiscsi_conn->conn;
be_complete_tmf(struct beiscsi_conn *beiscsi_conn,
struct iscsi_conn *conn = beiscsi_conn->conn;
hwi_complete_drvr_msgs(struct beiscsi_conn *beiscsi_conn,
session = beiscsi_conn->conn->session;
be_complete_nopin_resp(struct beiscsi_conn *beiscsi_conn,
struct iscsi_conn *conn = beiscsi_conn->conn;
static void hwi_complete_cmd(struct beiscsi_conn *beiscsi_conn,
struct iscsi_conn *conn = beiscsi_conn->conn;
be_complete_nopin_resp(beiscsi_conn, task, &csol_cqe);
be_complete_io(beiscsi_conn, task, &csol_cqe);
be_complete_logout(beiscsi_conn, task, &csol_cqe);
be_complete_tmf(beiscsi_conn, task, &csol_cqe);
be_complete_nopin_resp(beiscsi_conn, task, &csol_cqe);
beiscsi_complete_pdu(struct beiscsi_conn *beiscsi_conn,
struct beiscsi_hba *phba = beiscsi_conn->phba;
struct iscsi_conn *conn = beiscsi_conn->conn;
beiscsi_hdl_get_handle(struct beiscsi_conn *beiscsi_conn,
struct beiscsi_hba *phba = beiscsi_conn->phba;
cid = beiscsi_conn->beiscsi_conn_cid;
beiscsi_hdl_fwd_pdu(struct beiscsi_conn *beiscsi_conn,
struct iscsi_session *session = beiscsi_conn->conn->session;
struct beiscsi_hba *phba = beiscsi_conn->phba;
beiscsi_conn->beiscsi_conn_cid, plast_handle,
status = beiscsi_complete_pdu(beiscsi_conn, phdr, pdata, dlen);
beiscsi_hdl_gather_pdu(struct beiscsi_conn *beiscsi_conn,
phba = beiscsi_conn->phba;
status = beiscsi_hdl_fwd_pdu(beiscsi_conn,
status = beiscsi_hdl_fwd_pdu(beiscsi_conn,
beiscsi_conn->beiscsi_conn_cid, err,
beiscsi_hdq_process_compl(struct beiscsi_conn *beiscsi_conn,
struct beiscsi_hba *phba = beiscsi_conn->phba;
cid_cri = BE_GET_CRI_FROM_CID(beiscsi_conn->beiscsi_conn_cid);
pasync_handle = beiscsi_hdl_get_handle(beiscsi_conn, pasync_ctx,
beiscsi_hdl_gather_pdu(beiscsi_conn, pasync_ctx, pasync_handle);
struct beiscsi_conn *beiscsi_conn;
beiscsi_conn = beiscsi_ep->conn;
hwi_complete_cmd(beiscsi_conn, phba, sol);
hwi_complete_drvr_msgs(beiscsi_conn, phba, sol);
beiscsi_hdq_process_compl(beiscsi_conn,
beiscsi_hdq_process_compl(beiscsi_conn,
beiscsi_hdq_process_compl(beiscsi_conn,
if (beiscsi_conn)
iscsi_conn_failure(beiscsi_conn->conn,
struct beiscsi_conn *beiscsi_conn;
struct beiscsi_conn *beiscsi_conn = io_task->conn;
struct beiscsi_hba *phba = beiscsi_conn->phba;
beiscsi_conn = conn->dd_data;
phba = beiscsi_conn->phba;
inv_tbl.cid = beiscsi_conn->beiscsi_conn_cid;
struct beiscsi_conn *beiscsi_conn;
beiscsi_conn = conn->dd_data;
phba = beiscsi_conn->phba;
inv_tbl->tbl[nents].cid = beiscsi_conn->beiscsi_conn_cid;
beiscsi_conn->beiscsi_conn_cid);
phba->conn_table = kzalloc_objs(struct beiscsi_conn *,
beiscsi_free_mgmt_task_handles(struct beiscsi_conn *beiscsi_conn,
struct beiscsi_hba *phba = beiscsi_conn->phba;
beiscsi_conn->beiscsi_conn_cid);
struct beiscsi_conn *beiscsi_conn = conn->dd_data;
struct beiscsi_hba *phba = beiscsi_conn->phba;
struct beiscsi_session *beiscsi_sess = beiscsi_conn->beiscsi_sess;
beiscsi_conn->beiscsi_conn_cid);
if (!beiscsi_conn->login_in_progress)
beiscsi_free_mgmt_task_handles(beiscsi_conn, task);
beiscsi_offload_connection(struct beiscsi_conn *beiscsi_conn,
struct beiscsi_hba *phba = beiscsi_conn->phba;
struct iscsi_task *task = beiscsi_conn->task;
beiscsi_conn->login_in_progress = 0;
pwrb_handle = alloc_wrb_handle(phba, beiscsi_conn->beiscsi_conn_cid,
doorbell |= beiscsi_conn->beiscsi_conn_cid & DB_WRB_POST_CID_MASK;
beiscsi_conn->doorbell_offset);
struct beiscsi_conn *beiscsi_conn = conn->dd_data;
struct beiscsi_hba *phba = beiscsi_conn->phba;
struct beiscsi_session *beiscsi_sess = beiscsi_conn->beiscsi_sess;
io_task->conn = beiscsi_conn;
beiscsi_conn->beiscsi_conn_cid);
beiscsi_conn->beiscsi_conn_cid,
beiscsi_conn->beiscsi_conn_cid);
beiscsi_conn->task = task;
if (!beiscsi_conn->login_in_progress) {
beiscsi_conn->beiscsi_conn_cid);
beiscsi_conn->login_in_progress = 1;
beiscsi_conn->plogin_sgl_handle =
beiscsi_conn->beiscsi_conn_cid,
beiscsi_conn->beiscsi_conn_cid);
beiscsi_conn->plogin_wrb_handle =
beiscsi_conn->plogin_sgl_handle;
beiscsi_conn->plogin_wrb_handle;
beiscsi_conn->beiscsi_conn_cid);
beiscsi_conn->beiscsi_conn_cid,
beiscsi_conn->beiscsi_conn_cid);
beiscsi_conn->beiscsi_conn_cid);
struct beiscsi_conn *beiscsi_conn = conn->dd_data;
struct beiscsi_hba *phba = beiscsi_conn->phba;
doorbell |= beiscsi_conn->beiscsi_conn_cid & DB_WRB_POST_CID_MASK;
beiscsi_conn->doorbell_offset);
struct beiscsi_conn *beiscsi_conn = conn->dd_data;
struct beiscsi_hba *phba = beiscsi_conn->phba;
doorbell |= beiscsi_conn->beiscsi_conn_cid & DB_WRB_POST_CID_MASK;
beiscsi_conn->doorbell_offset);
struct beiscsi_conn *beiscsi_conn = conn->dd_data;
struct beiscsi_hba *phba = beiscsi_conn->phba;
cid = beiscsi_conn->beiscsi_conn_cid;
beiscsi_conn->doorbell_offset);
struct beiscsi_conn **conn_table;
struct beiscsi_conn *conn;
void beiscsi_free_mgmt_task_handles(struct beiscsi_conn *beiscsi_conn,
struct beiscsi_conn *conn;