Home
last modified time | relevance | path

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

/drivers/net/usb/
Dint51x1.c72 int need_tail = 0; in int51x1_tx_fixup() local
77 need_tail = dev->maxpacket - pack_with_header_len + 1; in int51x1_tx_fixup()
84 need_tail = 1; in int51x1_tx_fixup()
87 (headroom + tailroom >= need_tail + INT51X1_HEADER_SIZE)) { in int51x1_tx_fixup()
88 if (headroom < INT51X1_HEADER_SIZE || tailroom < need_tail) { in int51x1_tx_fixup()
98 need_tail, in int51x1_tx_fixup()
106 pack_len += need_tail; in int51x1_tx_fixup()
112 if(need_tail) in int51x1_tx_fixup()
113 memset(__skb_put(skb, need_tail), 0, need_tail); in int51x1_tx_fixup()
Dsierra_net.c859 bool need_tail; in sierra_net_tx_fixup() local
872 need_tail = ((len + SIERRA_NET_HIP_EXT_HDR_LEN) in sierra_net_tx_fixup()
874 if (need_tail) { in sierra_net_tx_fixup()