Lines Matching refs:cconn
1260 static int cxgbi_ddp_reserve(struct cxgbi_conn *cconn, in cxgbi_ddp_reserve() argument
1264 struct cxgbi_sock *csk = cconn->cep->csk; in cxgbi_ddp_reserve()
1303 cconn->ddp_full++; in cxgbi_ddp_reserve()
1355 struct cxgbi_conn *cconn = tcp_conn->dd_data; in task_release_itt() local
1356 struct cxgbi_device *cdev = cconn->chba->cdev; in task_release_itt()
1388 struct cxgbi_conn *cconn = tcp_conn->dd_data; in task_reserve_itt() local
1389 struct cxgbi_device *cdev = cconn->chba->cdev; in task_reserve_itt()
1401 err = cxgbi_ddp_reserve(cconn, tdata, sw_tag, tdata->dlen); in task_reserve_itt()
1407 cconn->cep->csk, task, tdata->dlen, in task_reserve_itt()
1428 struct cxgbi_conn *cconn = tcp_conn->dd_data; in cxgbi_parse_pdu_itt() local
1429 struct cxgbi_device *cdev = cconn->chba->cdev; in cxgbi_parse_pdu_itt()
1890 struct cxgbi_conn *cconn = tcp_conn->dd_data; in cxgbi_conn_alloc_pdu() local
1891 struct cxgbi_device *cdev = cconn->chba->cdev; in cxgbi_conn_alloc_pdu()
1892 struct cxgbi_sock *csk = cconn->cep ? cconn->cep->csk : NULL; in cxgbi_conn_alloc_pdu()
2364 struct cxgbi_conn *cconn = tcp_conn->dd_data; in cxgbi_conn_xmit_pdu() local
2388 if (cconn && cconn->cep) in cxgbi_conn_xmit_pdu()
2389 csk = cconn->cep->csk; in cxgbi_conn_xmit_pdu()
2530 struct cxgbi_conn *cconn = tcp_conn->dd_data; in cxgbi_conn_max_xmit_dlength() local
2531 struct cxgbi_device *cdev = cconn->chba->cdev; in cxgbi_conn_max_xmit_dlength()
2536 max = min(cconn->chba->cdev->tx_max_size, max); in cxgbi_conn_max_xmit_dlength()
2549 struct cxgbi_conn *cconn = tcp_conn->dd_data; in cxgbi_conn_max_recv_dlength() local
2550 unsigned int max = cconn->chba->cdev->rx_max_size; in cxgbi_conn_max_recv_dlength()
2573 struct cxgbi_conn *cconn = tcp_conn->dd_data; in cxgbi_set_conn_param() local
2574 struct cxgbi_sock *csk = cconn->cep->csk; in cxgbi_set_conn_param()
2649 struct cxgbi_conn *cconn; in cxgbi_create_conn() local
2651 cls_conn = iscsi_tcp_conn_setup(cls_session, sizeof(*cconn), cid); in cxgbi_create_conn()
2657 cconn = tcp_conn->dd_data; in cxgbi_create_conn()
2658 cconn->iconn = conn; in cxgbi_create_conn()
2662 cid, cid, cls_session, cls_conn, conn, tcp_conn, cconn); in cxgbi_create_conn()
2674 struct cxgbi_conn *cconn = tcp_conn->dd_data; in cxgbi_bind_conn() local
2702 cconn->task_idx_bits = (__ilog2_u32(conn->session->cmds_max - 1)) + 1; in cxgbi_bind_conn()
2706 cconn->chba = cep->chba; in cxgbi_bind_conn()
2707 cconn->cep = cep; in cxgbi_bind_conn()
2708 cep->cconn = cconn; in cxgbi_bind_conn()
2716 cls_session, cls_conn, ep, cconn, csk); in cxgbi_bind_conn()
2967 struct cxgbi_conn *cconn = cep->cconn; in cxgbi_ep_disconnect() local
2972 ep, cep, cconn, csk, csk->state, csk->flags); in cxgbi_ep_disconnect()
2974 if (cconn && cconn->iconn) { in cxgbi_ep_disconnect()
2977 cconn->cep = NULL; in cxgbi_ep_disconnect()