Lines Matching defs:conn

114 		if ((start_bd_offset > task->conn->session->first_burst) ||
118 iscsi_conn_printk(KERN_ALERT, task->conn,
124 iscsi_conn_printk(KERN_ALERT, task->conn,
190 bd_count = bnx2i_map_scsi_sg(cmd->conn->hba, cmd);
229 * bnx2i_bind_conn_to_iscsi_cid - bind conn structure to 'iscsi_cid'
244 "conn bind - entry #%d not free\n", iscsi_cid);
254 * bnx2i_get_conn_from_id - maps an iscsi cid to corresponding conn ptr
262 printk(KERN_ERR "bnx2i: ERROR - missing conn<->cid table\n");
321 * allocates memory for iscsi cid queue & 'cid - conn ptr' mapping table,
427 if (bnx2i_ep->conn) {
428 bnx2i_ep->conn->ep = NULL;
429 bnx2i_ep->conn = NULL;
636 * pending conn offload completion queue manager
652 * pending conn offload completion queue manager
727 * current active conn queue manager
743 * current active conn queue manager
1082 struct bnx2i_conn *bnx2i_conn = cmd->conn;
1158 struct iscsi_conn *conn = task->conn;
1159 struct bnx2i_conn *bnx2i_conn = conn->dd_data;
1173 spin_unlock_bh(&conn->session->back_lock);
1176 spin_lock_bh(&conn->session->back_lock);
1183 * @conn: transport layer conn structure pointer
1187 bnx2i_mtask_xmit(struct iscsi_conn *conn, struct iscsi_task *task)
1189 struct bnx2i_conn *bnx2i_conn = conn->dd_data;
1208 cmd->conn = conn->dd_data;
1221 struct iscsi_conn *conn = task->conn;
1222 struct iscsi_session *session = conn->session;
1225 struct bnx2i_conn *bnx2i_conn = conn->dd_data;
1238 return bnx2i_mtask_xmit(conn, task);
1242 cmd->conn = bnx2i_conn;
1361 struct iscsi_conn *conn;
1367 conn = cls_conn->dd_data;
1369 bnx2i_conn = conn->dd_data;
1380 iscsi_conn_printk(KERN_ALERT, conn,
1393 * bnx2i_conn_bind - binds iscsi sess, conn and ep objects together
1395 * @cls_conn: pointer to iscsi cls conn
1401 * TCP connection does not belong on the device iSCSI sess/conn
1408 struct iscsi_conn *conn = cls_conn->dd_data;
1409 struct bnx2i_conn *bnx2i_conn = conn->dd_data;
1445 "conn bind, ep=0x%p (%s) does not",
1453 bnx2i_ep->conn = bnx2i_conn;
1476 * @cls_conn: pointer to iscsi cls conn
1483 struct iscsi_conn *conn = cls_conn->dd_data;
1484 struct bnx2i_conn *bnx2i_conn = conn->dd_data;
1502 if (work->session == conn->session &&
1604 * @cls_conn: pointer to iscsi cls conn
1606 * last call in FFP migration to handover iscsi conn to the driver
1610 struct iscsi_conn *conn = cls_conn->dd_data;
1611 struct bnx2i_conn *bnx2i_conn = conn->dd_data;
1614 bnx2i_update_iscsi_conn(conn);
1623 /* update iSCSI context for this conn, wait for CNIC to complete */
1638 * @cls_conn: pointer to iscsi cls conn
1644 struct iscsi_conn *conn = cls_conn->dd_data;
1646 stats->txdata_octets = conn->txdata_octets;
1647 stats->rxdata_octets = conn->rxdata_octets;
1648 stats->scsicmd_pdus = conn->scsicmd_pdus_cnt;
1649 stats->dataout_pdus = conn->dataout_pdus_cnt;
1650 stats->scsirsp_pdus = conn->scsirsp_pdus_cnt;
1651 stats->datain_pdus = conn->datain_pdus_cnt;
1652 stats->r2t_pdus = conn->r2t_pdus_cnt;
1653 stats->tmfcmd_pdus = conn->tmfcmd_pdus_cnt;
1654 stats->tmfrsp_pdus = conn->tmfrsp_pdus_cnt;
1658 stats->custom[0].value = conn->eh_abort_cnt;
1719 if (ep->conn && ep->conn->cls_conn &&
1720 ep->conn->cls_conn->dd_data) {
1721 struct iscsi_conn *conn = ep->conn->cls_conn->dd_data;
1724 set_bit(ISCSI_CONN_FLAG_SUSPEND_RX, &conn->flags);
1758 printk(KERN_ALERT "bnx2i - conn destroy failed\n");
1852 printk(KERN_ALERT "bnx2i (%s): unable to send conn offld kwqe"
1858 /* Wait for CNIC hardware to setup conn context and return 'cid' */
2034 struct iscsi_conn *conn = NULL;
2053 if (bnx2i_ep->conn) {
2054 conn = bnx2i_ep->conn->cls_conn->dd_data;
2055 session = conn->session;
2096 /* wait for option-2 conn teardown */
2137 if (bnx2i_ep->conn)
2138 bnx2i_conn = bnx2i_ep->conn;