/net/rds/ |
H A D | tcp.c | 84 u32 rds_tcp_snd_nxt(struct rds_tcp_connection *tc) argument 86 return tcp_sk(tc->t_sock->sk)->snd_nxt; 89 u32 rds_tcp_snd_una(struct rds_tcp_connection *tc) argument 91 return tcp_sk(tc->t_sock->sk)->snd_una; 95 struct rds_tcp_connection *tc) 97 rdsdebug("restoring sock %p callbacks from tc %p\n", sock, tc); 102 list_del_init(&tc->t_list_item); 106 tc->t_sock = NULL; 108 sock->sk->sk_write_space = tc 94 rds_tcp_restore_callbacks(struct socket *sock, struct rds_tcp_connection *tc) argument 123 struct rds_tcp_connection *tc = conn->c_transport_data; local 157 struct rds_tcp_connection *tc; local 201 struct rds_tcp_connection *tc; local 224 struct rds_tcp_connection *tc = arg; local 237 struct rds_tcp_connection *tc, *_tc; local [all...] |
H A D | tcp_send.c | 53 struct rds_tcp_connection *tc = conn->c_transport_data; local 55 rds_tcp_cork(tc->t_sock, 1); 60 struct rds_tcp_connection *tc = conn->c_transport_data; local 62 rds_tcp_cork(tc->t_sock, 0); 83 struct rds_tcp_connection *tc = conn->c_transport_data; local 92 tc->t_last_sent_nxt = rds_tcp_snd_nxt(tc); 93 rm->m_ack_seq = tc->t_last_sent_nxt + 98 tc->t_last_expected_una = rm->m_ack_seq + 1; 101 rm, rds_tcp_snd_nxt(tc), 175 struct rds_tcp_connection *tc; local [all...] |
H A D | tcp_connect.c | 44 struct rds_tcp_connection *tc; local 52 tc = conn->c_transport_data; 53 state_change = tc->t_orig_state_change; 55 rdsdebug("sock %p state_change to %d\n", tc->t_sock, sk->sk_state); 135 struct rds_tcp_connection *tc = conn->c_transport_data; local 136 struct socket *sock = tc->t_sock; 138 rdsdebug("shutting down conn %p tc %p sock %p\n", conn, tc, sock); 143 rds_tcp_restore_callbacks(sock, tc); /* tc [all...] |
H A D | tcp_recv.c | 179 struct rds_tcp_connection *tc = conn->c_transport_data; local 180 struct rds_tcp_incoming *tinc = tc->t_tinc; 184 rdsdebug("tcp data tc %p skb %p offset %u len %zu\n", tc, skb, offset, 199 tc->t_tinc = tinc; 209 if (left && tc->t_tinc_hdr_rem) { 210 to_copy = min(tc->t_tinc_hdr_rem, left); 216 tc->t_tinc_hdr_rem, 218 tc->t_tinc_hdr_rem -= to_copy; 222 if (tc 276 struct rds_tcp_connection *tc = conn->c_transport_data; local 304 struct rds_tcp_connection *tc = conn->c_transport_data; local 321 struct rds_tcp_connection *tc; local [all...] |
H A D | tcp.h | 50 struct rds_tcp_connection *tc); 51 u32 rds_tcp_snd_nxt(struct rds_tcp_connection *tc); 52 u32 rds_tcp_snd_una(struct rds_tcp_connection *tc); 53 u64 rds_tcp_map_seq(struct rds_tcp_connection *tc, u32 seq);
|
/net/sched/ |
H A D | sch_mqprio.c | 303 struct netdev_tc_txq tc = dev->tc_to_txq[i]; local 306 if (q_idx > tc.offset && 307 q_idx <= tc.offset + tc.count) { 333 struct netdev_tc_txq tc = dev->tc_to_txq[cl - 1]; variable in typeref:struct:netdev_tc_txq 342 for (i = tc.offset; i < tc.offset + tc.count; i++) { 381 /* Walk hierarchy with a virtual class per tc */
|
/net/9p/ |
H A D | trans_virtio.c | 280 VIRTQUEUE_NUM, req->tc->sdata, req->tc->size); 289 err = virtqueue_add_sgs(chan->vq, sgs, out_sgs, in_sgs, req->tc, 421 VIRTQUEUE_NUM, req->tc->sdata, req->tc->size); 451 err = virtqueue_add_sgs(chan->vq, sgs, out_sgs, in_sgs, req->tc,
|
H A D | client.c | 260 c->reqs[row][col].tc = NULL; 277 if (!req->tc) 278 req->tc = p9_fcall_alloc(alloc_msize); 281 if (!req->tc || !req->rc) 284 p9pdu_reset(req->tc); 287 req->tc->tag = tag-1; 294 kfree(req->tc); 297 req->tc = req->rc = NULL; 387 kfree(c->reqs[row][col].tc); 404 int tag = r->tc [all...] |
H A D | trans_rdma.c | 325 c->busa, c->req->tc->size, 491 c->req->tc->sdata, c->req->tc->size, 499 sge.length = c->req->tc->size;
|
H A D | trans_fd.c | 472 m->wbuf = req->tc->sdata; 473 m->wsize = req->tc->size; 667 m, current, req->tc, req->tc->id);
|
/net/core/ |
H A D | flow_dissector.c | 330 u8 tc = netdev_get_prio_tc_map(dev, skb->priority); local 331 qoffset = dev->tc_to_txq[tc].offset; 332 qcount = dev->tc_to_txq[tc].count;
|
H A D | dev.c | 1807 * netif_setup_tc - Handle tc mappings on real_num_tx_queues change 1811 * If real_num_tx_queues is changed the tc mappings may no longer be 1812 * valid. To resolve this verify the tc mapping remains valid and if 1822 struct netdev_tc_txq *tc = &dev->tc_to_txq[0]; local 1825 if (tc->offset + tc->count > txq) { 1826 pr_warn("Number of in use tx queues changed invalidating tc mappings. Priority traffic classification disabled!\n"); 1831 /* Invalidated prio to tc mappings set to TC0 */ 1835 tc = &dev->tc_to_txq[q]; 1836 if (tc [all...] |
/net/ipv6/ |
H A D | datagram.c | 863 int tc; local 869 tc = *(int *)CMSG_DATA(cmsg); 870 if (tc < -1 || tc > 0xff) 874 *tclass = tc;
|
/net/openvswitch/ |
H A D | actions.c | 282 static void set_ipv6_tc(struct ipv6hdr *nh, u8 tc) argument 284 nh->priority = tc >> 4; 285 nh->flow_lbl[0] = (nh->flow_lbl[0] & 0x0F) | ((tc & 0x0F) << 4);
|