Lines Matching refs:frag
123 struct sk_buff *frag = *buf; in tipc_buf_append() local
130 if (!frag) in tipc_buf_append()
133 msg = buf_msg(frag); in tipc_buf_append()
135 frag->next = NULL; in tipc_buf_append()
136 skb_pull(frag, msg_hdr_sz(msg)); in tipc_buf_append()
141 if (unlikely(skb_unclone(frag, GFP_ATOMIC))) in tipc_buf_append()
143 head = *headbuf = frag; in tipc_buf_append()
159 if (skb_try_coalesce(head, frag, &headstolen, &delta)) { in tipc_buf_append()
160 kfree_skb_partial(frag, headstolen); in tipc_buf_append()
164 skb_shinfo(head)->frag_list = frag; in tipc_buf_append()
166 tail->next = frag; in tipc_buf_append()
167 head->truesize += frag->truesize; in tipc_buf_append()
168 head->data_len += frag->len; in tipc_buf_append()
169 head->len += frag->len; in tipc_buf_append()
170 TIPC_SKB_CB(head)->tail = frag; in tipc_buf_append()
570 struct sk_buff *frag = NULL; in tipc_msg_reassemble() local
587 frag = skb_clone(skb, GFP_ATOMIC); in tipc_msg_reassemble()
588 if (!frag) in tipc_msg_reassemble()
590 frag->next = NULL; in tipc_msg_reassemble()
591 if (tipc_buf_append(&head, &frag)) in tipc_msg_reassemble()
596 __skb_queue_tail(rcvq, frag); in tipc_msg_reassemble()