Lines Matching refs:match
961 struct efx_ptp_match *match; in efx_ptp_match_rx() local
973 match = (struct efx_ptp_match *)skb->cb; in efx_ptp_match_rx()
980 if ((evt->seq0 == match->words[0]) && in efx_ptp_match_rx()
981 (evt->seq1 == match->words[1])) { in efx_ptp_match_rx()
988 match->state = PTP_PACKET_STATE_MATCHED; in efx_ptp_match_rx()
1009 struct efx_ptp_match *match; in efx_ptp_process_events() local
1011 match = (struct efx_ptp_match *)skb->cb; in efx_ptp_process_events()
1012 if (match->state == PTP_PACKET_STATE_MATCH_UNWANTED) { in efx_ptp_process_events()
1017 } else if (time_after(jiffies, match->expiry)) { in efx_ptp_process_events()
1018 match->state = PTP_PACKET_STATE_TIMED_OUT; in efx_ptp_process_events()
1376 struct efx_ptp_match *match = (struct efx_ptp_match *)skb->cb; in efx_ptp_rx() local
1381 match->expiry = jiffies + msecs_to_jiffies(PKT_EVENT_LIFETIME_MS); in efx_ptp_rx()
1427 match->state = PTP_PACKET_STATE_UNMATCHED; in efx_ptp_rx()
1436 match->words[0] = (match_data_012[0] | in efx_ptp_rx()
1440 match->words[1] = (match_data_345[1] | in efx_ptp_rx()
1446 match->state = PTP_PACKET_STATE_MATCH_UNWANTED; in efx_ptp_rx()