Lines Matching refs:cconn

1692 	struct cxgbi_conn *cconn = tcp_conn->dd_data;  in task_release_itt()  local
1693 struct cxgbi_hba *chba = cconn->chba; in task_release_itt()
1711 struct cxgbi_conn *cconn = tcp_conn->dd_data; in task_reserve_itt() local
1712 struct cxgbi_hba *chba = cconn->chba; in task_reserve_itt()
1714 u32 sw_tag = (sess->age << cconn->task_idx_bits) | task->itt; in task_reserve_itt()
1720 err = cxgbi_ddp_reserve(cconn->cep->csk, &tag, sw_tag, in task_reserve_itt()
1728 cconn->cep->csk, task, scsi_in(sc)->length, in task_reserve_itt()
1746 struct cxgbi_conn *cconn = tcp_conn->dd_data; in cxgbi_parse_pdu_itt() local
1747 struct cxgbi_device *cdev = cconn->chba->cdev; in cxgbi_parse_pdu_itt()
1753 *idx = sw_bits & ((1 << cconn->task_idx_bits) - 1); in cxgbi_parse_pdu_itt()
1755 *age = (sw_bits >> cconn->task_idx_bits) & ISCSI_AGE_MASK; in cxgbi_parse_pdu_itt()
2095 struct cxgbi_conn *cconn = tcp_conn->dd_data; in cxgbi_conn_alloc_pdu() local
2096 struct cxgbi_device *cdev = cconn->chba->cdev; in cxgbi_conn_alloc_pdu()
2117 struct cxgbi_sock *csk = cconn->cep->csk; in cxgbi_conn_alloc_pdu()
2260 struct cxgbi_conn *cconn = tcp_conn->dd_data; in cxgbi_conn_xmit_pdu() local
2274 err = cxgbi_sock_send_pdus(cconn->cep->csk, skb); in cxgbi_conn_xmit_pdu()
2356 struct cxgbi_conn *cconn = tcp_conn->dd_data; in cxgbi_conn_max_xmit_dlength() local
2357 struct cxgbi_device *cdev = cconn->chba->cdev; in cxgbi_conn_max_xmit_dlength()
2362 max = min(cconn->chba->cdev->tx_max_size, max); in cxgbi_conn_max_xmit_dlength()
2375 struct cxgbi_conn *cconn = tcp_conn->dd_data; in cxgbi_conn_max_recv_dlength() local
2376 unsigned int max = cconn->chba->cdev->rx_max_size; in cxgbi_conn_max_recv_dlength()
2399 struct cxgbi_conn *cconn = tcp_conn->dd_data; in cxgbi_set_conn_param() local
2400 struct cxgbi_sock *csk = cconn->cep->csk; in cxgbi_set_conn_param()
2504 struct cxgbi_conn *cconn; in cxgbi_create_conn() local
2506 cls_conn = iscsi_tcp_conn_setup(cls_session, sizeof(*cconn), cid); in cxgbi_create_conn()
2512 cconn = tcp_conn->dd_data; in cxgbi_create_conn()
2513 cconn->iconn = conn; in cxgbi_create_conn()
2517 cid, cid, cls_session, cls_conn, conn, tcp_conn, cconn); in cxgbi_create_conn()
2529 struct cxgbi_conn *cconn = tcp_conn->dd_data; in cxgbi_bind_conn() local
2551 cconn->task_idx_bits = (__ilog2_u32(conn->session->cmds_max - 1)) + 1; in cxgbi_bind_conn()
2555 cconn->chba = cep->chba; in cxgbi_bind_conn()
2556 cconn->cep = cep; in cxgbi_bind_conn()
2557 cep->cconn = cconn; in cxgbi_bind_conn()
2565 cls_session, cls_conn, ep, cconn, csk); in cxgbi_bind_conn()
2805 struct cxgbi_conn *cconn = cep->cconn; in cxgbi_ep_disconnect() local
2810 ep, cep, cconn, csk, csk->state, csk->flags); in cxgbi_ep_disconnect()
2812 if (cconn && cconn->iconn) { in cxgbi_ep_disconnect()
2813 iscsi_suspend_tx(cconn->iconn); in cxgbi_ep_disconnect()
2816 cconn->cep = NULL; in cxgbi_ep_disconnect()