Lines Matching refs:padsize
2278 int padpos, padsize; in ath_tx_prepare() local
2300 padsize = padpos & 3; in ath_tx_prepare()
2301 if (padsize && skb->len > padpos) { in ath_tx_prepare()
2302 if (skb_headroom(skb) < padsize) in ath_tx_prepare()
2305 skb_push(skb, padsize); in ath_tx_prepare()
2306 memmove(skb->data, skb->data + padsize, padpos); in ath_tx_prepare()
2454 int padpos, padsize; in ath_tx_complete() local
2471 padsize = padpos & 3; in ath_tx_complete()
2472 if (padsize && skb->len>padpos+padsize) { in ath_tx_complete()
2477 memmove(skb->data + padsize, skb->data, padpos); in ath_tx_complete()
2478 skb_pull(skb, padsize); in ath_tx_complete()
2908 int padpos, padsize; in ath9k_tx99_send() local
2911 padsize = padpos & 3; in ath9k_tx99_send()
2913 if (padsize && skb->len > padpos) { in ath9k_tx99_send()
2914 if (skb_headroom(skb) < padsize) { in ath9k_tx99_send()
2920 skb_push(skb, padsize); in ath9k_tx99_send()
2921 memmove(skb->data, skb->data + padsize, padpos); in ath9k_tx99_send()