Home
last modified time | relevance | path

Searched refs:need_tail (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/usb/
H A Dint51x1.c61 int need_tail = 0; in int51x1_tx_fixup() local
66 need_tail = dev->maxpacket - pack_with_header_len + 1; in int51x1_tx_fixup()
73 need_tail = 1; in int51x1_tx_fixup()
76 (headroom + tailroom >= need_tail + INT51X1_HEADER_SIZE)) { in int51x1_tx_fixup()
77 if (headroom < INT51X1_HEADER_SIZE || tailroom < need_tail) { in int51x1_tx_fixup()
87 need_tail, in int51x1_tx_fixup()
95 pack_len += need_tail; in int51x1_tx_fixup()
101 if(need_tail) in int51x1_tx_fixup()
102 __skb_put_zero(skb, need_tail); in int51x1_tx_fixup()
H A Dsierra_net.c863 bool need_tail; in sierra_net_tx_fixup() local
876 need_tail = ((len + SIERRA_NET_HIP_EXT_HDR_LEN) in sierra_net_tx_fixup()
878 if (need_tail) { in sierra_net_tx_fixup()