Lines Matching refs:frag
127 struct sk_buff *frag = *buf; in tipc_buf_append() local
134 if (!frag) in tipc_buf_append()
137 msg = buf_msg(frag); in tipc_buf_append()
139 frag->next = NULL; in tipc_buf_append()
140 skb_pull(frag, msg_hdr_sz(msg)); in tipc_buf_append()
145 if (skb_has_frag_list(frag) && __skb_linearize(frag)) in tipc_buf_append()
148 frag = skb_unshare(frag, GFP_ATOMIC); in tipc_buf_append()
149 if (unlikely(!frag)) in tipc_buf_append()
151 head = *headbuf = frag; in tipc_buf_append()
164 if (skb_try_coalesce(head, frag, &headstolen, &delta)) { in tipc_buf_append()
165 kfree_skb_partial(frag, headstolen); in tipc_buf_append()
169 skb_shinfo(head)->frag_list = frag; in tipc_buf_append()
171 tail->next = frag; in tipc_buf_append()
172 head->truesize += frag->truesize; in tipc_buf_append()
173 head->data_len += frag->len; in tipc_buf_append()
174 head->len += frag->len; in tipc_buf_append()
175 TIPC_SKB_CB(head)->tail = frag; in tipc_buf_append()
767 struct sk_buff *frag = NULL; in tipc_msg_reassemble() local
784 frag = skb_clone(skb, GFP_ATOMIC); in tipc_msg_reassemble()
785 if (!frag) in tipc_msg_reassemble()
787 frag->next = NULL; in tipc_msg_reassemble()
788 if (tipc_buf_append(&head, &frag)) in tipc_msg_reassemble()
793 __skb_queue_tail(rcvq, frag); in tipc_msg_reassemble()