Lines Matching refs:match
951 struct efx_ptp_match *match; in efx_ptp_match_rx() local
963 match = (struct efx_ptp_match *)skb->cb; in efx_ptp_match_rx()
970 if ((evt->seq0 == match->words[0]) && in efx_ptp_match_rx()
971 (evt->seq1 == match->words[1])) { in efx_ptp_match_rx()
978 match->state = PTP_PACKET_STATE_MATCHED; in efx_ptp_match_rx()
999 struct efx_ptp_match *match; in efx_ptp_process_events() local
1001 match = (struct efx_ptp_match *)skb->cb; in efx_ptp_process_events()
1002 if (match->state == PTP_PACKET_STATE_MATCH_UNWANTED) { in efx_ptp_process_events()
1007 } else if (time_after(jiffies, match->expiry)) { in efx_ptp_process_events()
1008 match->state = PTP_PACKET_STATE_TIMED_OUT; in efx_ptp_process_events()
1366 struct efx_ptp_match *match = (struct efx_ptp_match *)skb->cb; in efx_ptp_rx() local
1371 match->expiry = jiffies + msecs_to_jiffies(PKT_EVENT_LIFETIME_MS); in efx_ptp_rx()
1417 match->state = PTP_PACKET_STATE_UNMATCHED; in efx_ptp_rx()
1426 match->words[0] = (match_data_012[0] | in efx_ptp_rx()
1430 match->words[1] = (match_data_345[1] | in efx_ptp_rx()
1436 match->state = PTP_PACKET_STATE_MATCH_UNWANTED; in efx_ptp_rx()