Lines Matching defs:head
95 struct sk_buff *head, *skb;
104 head = strp->skb_head;
105 if (head) {
111 * offsets in the skbs for a message expect in the head.
130 /* We are going to append to the frags_list of head.
133 err = skb_unclone(head, GFP_ATOMIC);
140 if (unlikely(skb_shinfo(head)->frag_list)) {
142 * has a frag_list. We create a new head, point
143 * the frag_list of that to the old head, and
144 * then are able to use the old head->next for
147 if (WARN_ON(head->next)) {
152 skb = alloc_skb_for_msg(head);
159 strp->skb_nextp = &head->next;
161 head = skb;
164 &skb_shinfo(head)->frag_list;
180 head = strp->skb_head;
181 if (!head) {
182 head = skb;
183 strp->skb_head = head;
186 stm = _strp_msg(head);
202 stm = _strp_msg(head);
205 head->data_len += skb->len;
206 head->len += skb->len;
207 head->truesize += skb->truesize;
213 len = (*strp->cb.parse_msg)(strp, head);
240 } else if (len <= (ssize_t)head->len -
301 strp->cb.rcv_msg(strp, head);