Lines Matching refs:ts_skb
715 struct ravb_tstamp_skb *ts_skb, *ts_skb2; in ravb_get_tx_tstamp() local
732 list_for_each_entry_safe(ts_skb, ts_skb2, &priv->ts_skb_list, in ravb_get_tx_tstamp()
734 skb = ts_skb->skb; in ravb_get_tx_tstamp()
735 tag = ts_skb->tag; in ravb_get_tx_tstamp()
736 list_del(&ts_skb->list); in ravb_get_tx_tstamp()
737 kfree(ts_skb); in ravb_get_tx_tstamp()
2105 struct ravb_tstamp_skb *ts_skb; in ravb_start_xmit() local
2184 ts_skb = kmalloc(sizeof(*ts_skb), GFP_ATOMIC); in ravb_start_xmit()
2185 if (!ts_skb) { in ravb_start_xmit()
2193 ts_skb->skb = skb_get(skb); in ravb_start_xmit()
2194 ts_skb->tag = priv->ts_skb_tag++; in ravb_start_xmit()
2196 list_add_tail(&ts_skb->list, &priv->ts_skb_list); in ravb_start_xmit()
2200 desc->tagh_tsr = (ts_skb->tag >> 4) | TX_TSR; in ravb_start_xmit()
2201 desc->ds_tagl |= cpu_to_le16(ts_skb->tag << 12); in ravb_start_xmit()
2323 struct ravb_tstamp_skb *ts_skb, *ts_skb2; in ravb_close() local
2353 list_for_each_entry_safe(ts_skb, ts_skb2, &priv->ts_skb_list, list) { in ravb_close()
2354 list_del(&ts_skb->list); in ravb_close()
2355 kfree_skb(ts_skb->skb); in ravb_close()
2356 kfree(ts_skb); in ravb_close()