Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/usb/
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()
Dsierra_net.c866 bool need_tail; in sierra_net_tx_fixup() local
879 need_tail = ((len + SIERRA_NET_HIP_EXT_HDR_LEN) in sierra_net_tx_fixup()
881 if (need_tail) { in sierra_net_tx_fixup()