Searched refs:newheadroom (Results 1 – 3 of 3) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/net/usb/ |
| H A D | dm9620.c | 959 int newheadroom= 2, newtailroom= 0; in TxExpend() local 962 if (skb_headroom(skb) >= newheadroom) newheadroom= 0; // head no need expend in TxExpend() 964 if (newheadroom || newtailroom){ in TxExpend() 966 skb2 = skb_copy_expand(skb, newheadroom, newtailroom, flags); in TxExpend() 970 …ound].%d expend copy fail, for head, tail= %d, %d\n", priv->flg_txdbg++, newheadroom, newtailroom); in TxExpend() 973 …xRound].%d expend copy OK, for head, tail= %d, %d\n", priv->flg_txdbg++, newheadroom, newtailroom); in TxExpend() 981 int newheadroom, newtailroom; in dm9620_tx_fixup() local 1018 newheadroom= 2; //2 in dm9620_tx_fixup() 1028 __skb_push(skb, newheadroom); //2 bytes,for data[0],data[1] in dm9620_tx_fixup() 1048 newheadroom= 2; //2 in dm9620_tx_fixup() [all …]
|
| /OK3568_Linux_fs/kernel/net/core/ |
| H A D | skbuff.c | 1781 int newheadroom, int newtailroom, in skb_copy_expand() argument 1787 struct sk_buff *n = __alloc_skb(newheadroom + skb->len + newtailroom, in skb_copy_expand() 1796 skb_reserve(n, newheadroom); in skb_copy_expand() 1803 if (newheadroom <= head_copy_len) in skb_copy_expand() 1804 head_copy_len = newheadroom; in skb_copy_expand() 1806 head_copy_off = newheadroom - head_copy_len; in skb_copy_expand() 1814 skb_headers_offset_update(n, newheadroom - oldheadroom); in skb_copy_expand()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | skbuff.h | 1186 struct sk_buff *skb_copy_expand(const struct sk_buff *skb, int newheadroom,
|