Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/usb/
Dint51x1.c73 int need_tail = 0; in int51x1_tx_fixup() local
78 need_tail = dev->maxpacket - pack_with_header_len + 1; in int51x1_tx_fixup()
85 need_tail = 1; in int51x1_tx_fixup()
88 (headroom + tailroom >= need_tail + INT51X1_HEADER_SIZE)) { in int51x1_tx_fixup()
89 if (headroom < INT51X1_HEADER_SIZE || tailroom < need_tail) { in int51x1_tx_fixup()
99 need_tail, in int51x1_tx_fixup()
107 pack_len += need_tail; in int51x1_tx_fixup()
113 if(need_tail) in int51x1_tx_fixup()
114 memset(__skb_put(skb, need_tail), 0, need_tail); in int51x1_tx_fixup()
Dsierra_net.c901 bool need_tail; in sierra_net_tx_fixup() local
911 need_tail = ((len + SIERRA_NET_HIP_EXT_HDR_LEN) in sierra_net_tx_fixup()
913 if (need_tail) { in sierra_net_tx_fixup()