Home
last modified time | relevance | path

Searched refs:head_copy_len (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/net/core/
H A Dskbuff.c1759 int head_copy_len, head_copy_off; in skb_copy_expand() local
1778 head_copy_len = oldheadroom; in skb_copy_expand()
1780 if (newheadroom <= head_copy_len) in skb_copy_expand()
1781 head_copy_len = newheadroom; in skb_copy_expand()
1783 head_copy_off = newheadroom - head_copy_len; in skb_copy_expand()
1786 BUG_ON(skb_copy_bits(skb, -head_copy_len, n->head + head_copy_off, in skb_copy_expand()
1787 skb->len + head_copy_len)); in skb_copy_expand()
/kernel/linux/linux-6.6/net/core/
H A Dskbuff.c2310 int head_copy_len, head_copy_off; in skb_copy_expand() local
2320 head_copy_len = oldheadroom; in skb_copy_expand()
2322 if (newheadroom <= head_copy_len) in skb_copy_expand()
2323 head_copy_len = newheadroom; in skb_copy_expand()
2325 head_copy_off = newheadroom - head_copy_len; in skb_copy_expand()
2328 BUG_ON(skb_copy_bits(skb, -head_copy_len, n->head + head_copy_off, in skb_copy_expand()
2329 skb->len + head_copy_len)); in skb_copy_expand()

Completed in 16 milliseconds