unmatched         370 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	struct mlxsw_sp1_ptp_unmatched *unmatched;
unmatched         373 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	unmatched = kzalloc(sizeof(*unmatched), GFP_ATOMIC);
unmatched         374 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	if (!unmatched)
unmatched         377 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	unmatched->key = key;
unmatched         378 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	unmatched->skb = skb;
unmatched         379 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	unmatched->timestamp = timestamp;
unmatched         380 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	unmatched->gc_cycle = mlxsw_sp->ptp_state->gc_cycle + cycles;
unmatched         382 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	err = rhltable_insert(&ptp_state->unmatched_ht, &unmatched->ht_node,
unmatched         385 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 		kfree(unmatched);
unmatched         394 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	struct mlxsw_sp1_ptp_unmatched *unmatched, *last = NULL;
unmatched         400 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	rhl_for_each_entry_rcu(unmatched, tmp, list, ht_node) {
unmatched         401 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 		last = unmatched;
unmatched         411 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 			       struct mlxsw_sp1_ptp_unmatched *unmatched)
unmatched         414 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 			       &unmatched->ht_node,
unmatched         473 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 			       struct mlxsw_sp1_ptp_unmatched *unmatched)
unmatched         475 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	if (unmatched->skb && unmatched->timestamp)
unmatched         476 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 		mlxsw_sp1_packet_timestamp(mlxsw_sp, unmatched->key,
unmatched         477 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 					   unmatched->skb,
unmatched         478 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 					   unmatched->timestamp);
unmatched         479 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	else if (unmatched->skb)
unmatched         480 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 		mlxsw_sp1_ptp_packet_finish(mlxsw_sp, unmatched->skb,
unmatched         481 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 					    unmatched->key.local_port,
unmatched         482 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 					    unmatched->key.ingress, NULL);
unmatched         483 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	kfree_rcu(unmatched, rcu);
unmatched         488 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	struct mlxsw_sp1_ptp_unmatched *unmatched = ptr;
unmatched         493 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	if (unmatched->skb)
unmatched         494 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 		dev_kfree_skb_any(unmatched->skb);
unmatched         495 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	kfree_rcu(unmatched, rcu);
unmatched         502 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	struct mlxsw_sp1_ptp_unmatched *unmatched;
unmatched         510 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	unmatched = mlxsw_sp1_ptp_unmatched_lookup(mlxsw_sp, key, &length);
unmatched         511 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	if (skb && unmatched && unmatched->timestamp) {
unmatched         512 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 		unmatched->skb = skb;
unmatched         513 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	} else if (timestamp && unmatched && unmatched->skb) {
unmatched         514 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 		unmatched->timestamp = timestamp;
unmatched         528 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 		unmatched = NULL;
unmatched         531 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	if (unmatched) {
unmatched         532 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 		err = mlxsw_sp1_ptp_unmatched_remove(mlxsw_sp, unmatched);
unmatched         538 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	if (unmatched)
unmatched         539 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 		mlxsw_sp1_ptp_unmatched_finish(mlxsw_sp, unmatched);
unmatched         631 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 			    struct mlxsw_sp1_ptp_unmatched *unmatched)
unmatched         647 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	err = rhltable_remove(&ptp_state->unmatched_ht, &unmatched->ht_node,
unmatched         655 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	mlxsw_sp_port = ptp_state->mlxsw_sp->ports[unmatched->key.local_port];
unmatched         657 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 		stats = unmatched->key.ingress ?
unmatched         660 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 		if (unmatched->skb)
unmatched         672 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	mlxsw_sp1_ptp_unmatched_finish(ptp_state->mlxsw_sp, unmatched);
unmatched         681 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	struct mlxsw_sp1_ptp_unmatched *unmatched;
unmatched         696 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 		unmatched = obj;
unmatched         697 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 		if (unmatched->gc_cycle <= gc_cycle)
unmatched         698 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 			mlxsw_sp1_ptp_ht_gc_collect(ptp_state, unmatched);