Lines Matching refs:cconn

1688 	struct cxgbi_conn *cconn = tcp_conn->dd_data;  in task_release_itt()  local
1689 struct cxgbi_hba *chba = cconn->chba; in task_release_itt()
1707 struct cxgbi_conn *cconn = tcp_conn->dd_data; in task_reserve_itt() local
1708 struct cxgbi_hba *chba = cconn->chba; in task_reserve_itt()
1710 u32 sw_tag = (sess->age << cconn->task_idx_bits) | task->itt; in task_reserve_itt()
1716 err = cxgbi_ddp_reserve(cconn->cep->csk, &tag, sw_tag, in task_reserve_itt()
1724 cconn->cep->csk, task, scsi_in(sc)->length, in task_reserve_itt()
1742 struct cxgbi_conn *cconn = tcp_conn->dd_data; in cxgbi_parse_pdu_itt() local
1743 struct cxgbi_device *cdev = cconn->chba->cdev; in cxgbi_parse_pdu_itt()
1749 *idx = sw_bits & ((1 << cconn->task_idx_bits) - 1); in cxgbi_parse_pdu_itt()
1751 *age = (sw_bits >> cconn->task_idx_bits) & ISCSI_AGE_MASK; in cxgbi_parse_pdu_itt()
2091 struct cxgbi_conn *cconn = tcp_conn->dd_data; in cxgbi_conn_alloc_pdu() local
2092 struct cxgbi_device *cdev = cconn->chba->cdev; in cxgbi_conn_alloc_pdu()
2113 struct cxgbi_sock *csk = cconn->cep->csk; in cxgbi_conn_alloc_pdu()
2256 struct cxgbi_conn *cconn = tcp_conn->dd_data; in cxgbi_conn_xmit_pdu() local
2270 err = cxgbi_sock_send_pdus(cconn->cep->csk, skb); in cxgbi_conn_xmit_pdu()
2352 struct cxgbi_conn *cconn = tcp_conn->dd_data; in cxgbi_conn_max_xmit_dlength() local
2353 struct cxgbi_device *cdev = cconn->chba->cdev; in cxgbi_conn_max_xmit_dlength()
2358 max = min(cconn->chba->cdev->tx_max_size, max); in cxgbi_conn_max_xmit_dlength()
2371 struct cxgbi_conn *cconn = tcp_conn->dd_data; in cxgbi_conn_max_recv_dlength() local
2372 unsigned int max = cconn->chba->cdev->rx_max_size; in cxgbi_conn_max_recv_dlength()
2395 struct cxgbi_conn *cconn = tcp_conn->dd_data; in cxgbi_set_conn_param() local
2396 struct cxgbi_sock *csk = cconn->cep->csk; in cxgbi_set_conn_param()
2500 struct cxgbi_conn *cconn; in cxgbi_create_conn() local
2502 cls_conn = iscsi_tcp_conn_setup(cls_session, sizeof(*cconn), cid); in cxgbi_create_conn()
2508 cconn = tcp_conn->dd_data; in cxgbi_create_conn()
2509 cconn->iconn = conn; in cxgbi_create_conn()
2513 cid, cid, cls_session, cls_conn, conn, tcp_conn, cconn); in cxgbi_create_conn()
2525 struct cxgbi_conn *cconn = tcp_conn->dd_data; in cxgbi_bind_conn() local
2547 cconn->task_idx_bits = (__ilog2_u32(conn->session->cmds_max - 1)) + 1; in cxgbi_bind_conn()
2551 cconn->chba = cep->chba; in cxgbi_bind_conn()
2552 cconn->cep = cep; in cxgbi_bind_conn()
2553 cep->cconn = cconn; in cxgbi_bind_conn()
2561 cls_session, cls_conn, ep, cconn, csk); in cxgbi_bind_conn()
2801 struct cxgbi_conn *cconn = cep->cconn; in cxgbi_ep_disconnect() local
2806 ep, cep, cconn, csk, csk->state, csk->flags); in cxgbi_ep_disconnect()
2808 if (cconn && cconn->iconn) { in cxgbi_ep_disconnect()
2809 iscsi_suspend_tx(cconn->iconn); in cxgbi_ep_disconnect()
2812 cconn->cep = NULL; in cxgbi_ep_disconnect()