Searched defs:tc (Results 1 - 9 of 9) sorted by relevance

/net/rds/
H A Dtcp_connect.c44 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 Dtcp_send.c53 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 Dtcp.c84 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 Dtcp_recv.c179 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...]
/net/core/
H A Dflow_dissector.c330 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 Ddev.c1807 * 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/sched/
H A Dsch_mqprio.c303 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/ipv6/
H A Ddatagram.c863 int tc; local
869 tc = *(int *)CMSG_DATA(cmsg);
870 if (tc < -1 || tc > 0xff)
874 *tclass = tc;
/net/openvswitch/
H A Dactions.c282 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);

Completed in 118 milliseconds