Lines Matching refs:tinc
45 struct rds_tcp_incoming *tinc; in rds_tcp_inc_purge() local
46 tinc = container_of(inc, struct rds_tcp_incoming, ti_inc); in rds_tcp_inc_purge()
47 rdsdebug("purging tinc %p inc %p\n", tinc, inc); in rds_tcp_inc_purge()
48 skb_queue_purge(&tinc->ti_skb_list); in rds_tcp_inc_purge()
53 struct rds_tcp_incoming *tinc; in rds_tcp_inc_free() local
54 tinc = container_of(inc, struct rds_tcp_incoming, ti_inc); in rds_tcp_inc_free()
56 rdsdebug("freeing tinc %p inc %p\n", tinc, inc); in rds_tcp_inc_free()
57 kmem_cache_free(rds_tcp_incoming_slab, tinc); in rds_tcp_inc_free()
65 struct rds_tcp_incoming *tinc; in rds_tcp_inc_copy_to_user() local
72 tinc = container_of(inc, struct rds_tcp_incoming, ti_inc); in rds_tcp_inc_copy_to_user()
74 skb_queue_walk(&tinc->ti_skb_list, skb) { in rds_tcp_inc_copy_to_user()
107 struct rds_tcp_incoming *tinc) in rds_tcp_cong_recv() argument
117 if (be32_to_cpu(tinc->ti_inc.i_hdr.h_len) != RDS_CONG_MAP_BYTES) in rds_tcp_cong_recv()
124 skb_queue_walk(&tinc->ti_skb_list, skb) { in rds_tcp_cong_recv()
161 struct rds_tcp_incoming *tinc = tc->t_tinc; in rds_tcp_data_recv() local
173 if (!tinc) { in rds_tcp_data_recv()
174 tinc = kmem_cache_alloc(rds_tcp_incoming_slab, in rds_tcp_data_recv()
176 if (!tinc) { in rds_tcp_data_recv()
180 tc->t_tinc = tinc; in rds_tcp_data_recv()
181 rdsdebug("allocated tinc %p\n", tinc); in rds_tcp_data_recv()
182 rds_inc_path_init(&tinc->ti_inc, cp, in rds_tcp_data_recv()
184 tinc->ti_inc.i_rx_lat_trace[RDS_MSG_RX_HDR] = in rds_tcp_data_recv()
191 skb_queue_head_init(&tinc->ti_skb_list); in rds_tcp_data_recv()
199 (char *)&tinc->ti_inc.i_hdr + in rds_tcp_data_recv()
210 be32_to_cpu(tinc->ti_inc.i_hdr.h_len); in rds_tcp_data_recv()
211 tinc->ti_inc.i_rx_lat_trace[RDS_MSG_RX_START] = in rds_tcp_data_recv()
225 skb_queue_tail(&tinc->ti_skb_list, clone); in rds_tcp_data_recv()
240 if (tinc->ti_inc.i_hdr.h_flags == RDS_FLAG_CONG_BITMAP) in rds_tcp_data_recv()
241 rds_tcp_cong_recv(conn, tinc); in rds_tcp_data_recv()
245 &tinc->ti_inc, in rds_tcp_data_recv()
251 rds_inc_put(&tinc->ti_inc); in rds_tcp_data_recv()
252 tinc = NULL; in rds_tcp_data_recv()