Lines Matching refs:tstamps
1545 raw_tstamp == tx->tstamps[idx].cached_tstamp) in ice_ptp_tx_tstamp_work()
1552 tx->tstamps[idx].cached_tstamp = raw_tstamp; in ice_ptp_tx_tstamp_work()
1554 skb = tx->tstamps[idx].skb; in ice_ptp_tx_tstamp_work()
1555 tx->tstamps[idx].skb = NULL; in ice_ptp_tx_tstamp_work()
1603 tx->tstamps[idx].start = jiffies; in ice_ptp_request_ts()
1604 tx->tstamps[idx].skb = skb_get(skb); in ice_ptp_request_ts()
1642 tx->tstamps = kcalloc(tx->len, sizeof(*tx->tstamps), GFP_KERNEL); in ice_ptp_alloc_tx_tracker()
1643 if (!tx->tstamps) in ice_ptp_alloc_tx_tracker()
1648 kfree(tx->tstamps); in ice_ptp_alloc_tx_tracker()
1649 tx->tstamps = NULL; in ice_ptp_alloc_tx_tracker()
1675 if (tx->tstamps[idx].skb) { in ice_ptp_flush_tx_tracker()
1676 dev_kfree_skb_any(tx->tstamps[idx].skb); in ice_ptp_flush_tx_tracker()
1677 tx->tstamps[idx].skb = NULL; in ice_ptp_flush_tx_tracker()
1704 kfree(tx->tstamps); in ice_ptp_release_tx_tracker()
1705 tx->tstamps = NULL; in ice_ptp_release_tx_tracker()
1752 if (time_is_after_jiffies(tx->tstamps[idx].start + 2 * HZ)) in ice_ptp_tx_tstamp_cleanup()
1756 skb = tx->tstamps[idx].skb; in ice_ptp_tx_tstamp_cleanup()
1757 tx->tstamps[idx].skb = NULL; in ice_ptp_tx_tstamp_cleanup()