Searched defs:tail (Results 1 - 23 of 23) sorted by relevance

/net/tipc/
H A Dcore.h191 struct sk_buff *tail; member in struct:tipc_skb_cb
H A Dmsg.c101 struct sk_buff *tail; local
122 TIPC_SKB_CB(head)->tail = NULL;
133 tail = TIPC_SKB_CB(head)->tail;
137 tail->next = frag;
141 TIPC_SKB_CB(head)->tail = frag;
146 TIPC_SKB_CB(head)->tail = NULL;
267 * tipc_msg_bundle(): Append contents of a buffer to tail of an existing one
309 * tipc_msg_make_bundle(): Create bundle buf and append message to its tail
H A Dlink.c1329 u32 tipc_link_defer_pkt(struct sk_buff **head, struct sk_buff **tail, argument
1340 *head = *tail = buf;
1345 if (less(buf_seqno(*tail), seq_no)) {
1346 (*tail)->next = buf;
1347 *tail = buf;
/net/bluetooth/cmtp/
H A Dcore.c213 unsigned int size, tail; local
226 tail = session->mtu - nskb->len;
227 if (tail < 5) {
230 tail = session->mtu;
233 size = min_t(uint, ((tail < 258) ? (tail - 2) : (tail - 3)), skb->len);
/net/dccp/
H A Doptions.c409 const unsigned char *tail, *from; local
435 tail = av->av_buf + DCCPAV_MAX_ACKVEC_LEN;
453 if (from + copylen > tail) {
454 const u16 tailsize = tail - from;
/net/ipv4/
H A Dtcp_probe.c82 unsigned long head, tail; member in struct:__anon55
88 return (tcp_probe.head - tcp_probe.tail) & (bufsize - 1);
179 tcp_probe.head = tcp_probe.tail = 0;
189 = tcp_probe.log + tcp_probe.tail;
221 if (tcp_probe.head == tcp_probe.tail) {
230 tcp_probe.tail = (tcp_probe.tail + 1) & (bufsize - 1);
H A Desp4.c127 u8 *tail; local
185 tail = skb_tail_pointer(trailer);
187 memset(tail, 0, tfclen);
188 tail += tfclen;
193 tail[i] = i + 1;
195 tail[plen - 2] = plen - 2;
196 tail[plen - 1] = *skb_mac_header(skb);
H A Dtcp_input.c1781 /* ...tail remains todo... */
4154 struct sk_buff *skb, *tail; local
4178 tail = skb_peek_tail(&sk->sk_receive_queue);
4179 eaten = tail && tcp_try_coalesce(sk, tail, skb, &fragstolen);
4343 struct sk_buff *tail = skb_peek_tail(&sk->sk_receive_queue); local
4346 eaten = (tail &&
4347 tcp_try_coalesce(sk, tail, skb, fragstolen)) ? 1 : 0;
4496 /* If window is closed, drop tail of packet. But after
4522 /* Collapse contiguous sequence of skbs head..tail wit
4531 tcp_collapse(struct sock *sk, struct sk_buff_head *list, struct sk_buff *head, struct sk_buff *tail, u32 start, u32 end) argument
[all...]
/net/mac80211/
H A Dwpa.c36 int tail; local
63 tail = MICHAEL_MIC_LEN;
65 tail += IEEE80211_TKIP_ICV_LEN;
67 if (WARN(skb_tailroom(skb) < tail ||
69 "mmic: not enough head/tail (%d/%d,%d/%d)\n",
71 skb_tailroom(skb), tail))
188 int len, tail; local
202 tail = 0;
204 tail = IEEE80211_TKIP_ICV_LEN;
206 if (WARN_ON(skb_tailroom(skb) < tail ||
403 int hdrlen, len, tail; local
[all...]
H A Dieee80211_i.h244 u8 *head, *tail; member in struct:beacon_data
1747 struct sk_buff *tail = skb_peek_tail(frames); local
1750 if (!tail)
1753 status = IEEE80211_SKB_RXCB(tail);
/net/sched/
H A Dematch.c438 u8 *tail; local
453 tail = skb_tail_pointer(skb);
455 struct nlattr *match_start = (struct nlattr *)tail;
475 tail = skb_tail_pointer(skb);
476 match_start->nla_len = tail - (u8 *)match_start;
H A Dsch_choke.c72 unsigned int tail; member in struct:choke_sched_data
82 return (q->tail - q->head) & q->tab_mask;
102 if (q->head == q->tail)
107 /* Move tail pointer backwards to reuse holes */
111 q->tail = (q->tail - 1) & q->tab_mask;
112 if (q->head == q->tail)
114 } while (q->tab[q->tail] == NULL);
127 if (idx == q->tail)
232 * Will return NULL if queue is empty (q->head == q->tail)
451 unsigned int oqlen = sch->q.qlen, tail = 0; local
[all...]
H A Dsch_fq_codel.c47 struct sk_buff *tail; member in struct:fq_codel_flow
131 /* add skb to flow queue (tail add) */
138 flow->tail->next = skb;
139 flow->tail = skb;
H A Dsch_hhf.c122 struct sk_buff *tail; member in struct:wdrr_bucket
360 bucket->tail->next = skb;
361 bucket->tail = skb;
H A Dsch_fq.c62 struct sk_buff *tail; /* last skb in the list */ member in union:fq_flow::__anon151
317 * tail-> [ normal pkt 4]
326 flow->tail = skb;
330 flow->tail->next = skb;
331 flow->tail = skb;
349 if (prev == flow->tail)
350 flow->tail = skb;
H A Dsch_sfq.c134 struct sfq_slot *tail; /* current slot in round */ member in struct:sfq_sched_data
278 /* remove one skb from tail of slot queue */
306 /* add skb to slot queue (tail add) */
323 /* Queue is full! Find the longest slot and drop tail packet from it */
341 x = q->tail->next;
343 q->tail->next = slot->next;
469 if (q->tail == NULL) { /* It is the first flow */
472 slot->next = q->tail->next;
473 q->tail->next = x;
479 q->tail
[all...]
/net/vmw_vsock/
H A Dvmci_transport_notify.c193 u64 tail; local
209 vmci_qpair_get_consume_indexes(vmci_trans(vsk)->qpair, &tail, &head);
235 u64 tail; local
245 vmci_qpair_get_produce_indexes(vmci_trans(vsk)->qpair, &tail, &head);
246 room_left = vmci_trans(vsk)->produce_size - tail;
252 waiting_info.offset = tail + room_needed + 1;
/net/ipv6/
H A Desp6.c164 u8 *tail; local
212 tail = skb_tail_pointer(trailer);
214 memset(tail, 0, tfclen);
215 tail += tfclen;
220 tail[i] = i + 1;
222 tail[plen - 2] = plen - 2;
223 tail[plen - 1] = *skb_mac_header(skb);
/net/rxrpc/
H A Dar-ack.c427 int tail = call->acks_tail, old_tail; local
428 int win = CIRC_CNT(call->acks_head, tail, call->acks_winsz);
436 _skb = call->acks_window[tail] & ~1;
438 old_tail = tail;
439 tail = (tail + 1) & (call->acks_winsz - 1);
440 call->acks_tail = tail;
442 call->acks_unacked = tail;
574 int tail; local
580 tail
[all...]
/net/openvswitch/
H A Dactions.c56 int tail; member in struct:action_fifo
67 fifo->tail = 0;
72 return (fifo->head == fifo->tail);
80 return &fifo->fifo[fifo->tail++];
/net/sunrpc/
H A Dxdr.c136 struct kvec *tail = xdr->tail; local
146 tail->iov_base = buf + offset;
147 tail->iov_len = buflen - offset;
313 * moved into the inlined pages and/or the tail.
318 struct kvec *head, *tail; local
322 tail = buf->tail;
329 /* Shift the tail first */
330 if (tail
394 struct kvec *tail; local
607 struct kvec *tail = buf->tail; local
[all...]
/net/core/
H A Dskbuff.c96 pr_emerg("%s: text:%p len:%d put:%d head:%p data:%p tail:%#lx end:%#lx dev:%s\n",
98 (unsigned long)skb->tail, (unsigned long)skb->end,
169 * the tail pointer in struct sk_buff!
171 memset(skb, 0, offsetof(struct sk_buff, tail));
192 * tail room of at least size bytes. The object has a reference count
239 * the tail pointer in struct sk_buff!
241 memset(skb, 0, offsetof(struct sk_buff, tail));
249 skb->end = skb->tail + size;
293 * MUST add room at tail (SKB_DATA_ALIGN(skb_shared_info))
310 memset(skb, 0, offsetof(struct sk_buff, tail));
1267 pskb_put(struct sk_buff *skb, struct sk_buff *tail, int len) argument
2887 struct sk_buff *tail = NULL; local
[all...]
H A Ddev.c2720 struct sk_buff *next, *head = NULL, *tail; local
2736 tail->next = skb;
2740 tail = skb->prev;
3145 * - The current CPU's queue tail has advanced beyond the
3970 BUG_ON(skb->end - skb->tail < grow);
3975 skb->tail += grow;
4529 * entries to the tail of this list, and only ->poll()

Completed in 406 milliseconds