Searched refs:unmatched (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_ptp.c | 25 /* How long, approximately, should the unmatched entries stay in the hash table 352 struct mlxsw_sp1_ptp_unmatched *unmatched; in mlxsw_sp1_ptp_unmatched_save() local 355 unmatched = kzalloc(sizeof(*unmatched), GFP_ATOMIC); in mlxsw_sp1_ptp_unmatched_save() 356 if (!unmatched) in mlxsw_sp1_ptp_unmatched_save() 359 unmatched->key = key; in mlxsw_sp1_ptp_unmatched_save() 360 unmatched->skb = skb; in mlxsw_sp1_ptp_unmatched_save() 361 unmatched->timestamp = timestamp; in mlxsw_sp1_ptp_unmatched_save() 362 unmatched->gc_cycle = mlxsw_sp->ptp_state->gc_cycle + cycles; in mlxsw_sp1_ptp_unmatched_save() 364 err = rhltable_insert(&ptp_state->unmatched_ht, &unmatched in mlxsw_sp1_ptp_unmatched_save() 376 struct mlxsw_sp1_ptp_unmatched *unmatched, *last = NULL; mlxsw_sp1_ptp_unmatched_lookup() local 392 mlxsw_sp1_ptp_unmatched_remove(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp1_ptp_unmatched *unmatched) mlxsw_sp1_ptp_unmatched_remove() argument 454 mlxsw_sp1_ptp_unmatched_finish(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp1_ptp_unmatched *unmatched) mlxsw_sp1_ptp_unmatched_finish() argument 470 struct mlxsw_sp1_ptp_unmatched *unmatched = ptr; mlxsw_sp1_ptp_unmatched_free_fn() local 484 struct mlxsw_sp1_ptp_unmatched *unmatched; mlxsw_sp1_ptp_got_piece() local 615 mlxsw_sp1_ptp_ht_gc_collect(struct mlxsw_sp_ptp_state *ptp_state, struct mlxsw_sp1_ptp_unmatched *unmatched) mlxsw_sp1_ptp_ht_gc_collect() argument 666 struct mlxsw_sp1_ptp_unmatched *unmatched; mlxsw_sp1_ptp_ht_gc() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_ptp.c | 26 /* How long, approximately, should the unmatched entries stay in the hash table 523 struct mlxsw_sp1_ptp_unmatched *unmatched; in mlxsw_sp1_ptp_unmatched_save() local 526 unmatched = kzalloc(sizeof(*unmatched), GFP_ATOMIC); in mlxsw_sp1_ptp_unmatched_save() 527 if (!unmatched) in mlxsw_sp1_ptp_unmatched_save() 530 unmatched->key = key; in mlxsw_sp1_ptp_unmatched_save() 531 unmatched->skb = skb; in mlxsw_sp1_ptp_unmatched_save() 532 unmatched->timestamp = timestamp; in mlxsw_sp1_ptp_unmatched_save() 533 unmatched->gc_cycle = ptp_state->gc_cycle + cycles; in mlxsw_sp1_ptp_unmatched_save() 535 err = rhltable_insert(&ptp_state->unmatched_ht, &unmatched in mlxsw_sp1_ptp_unmatched_save() 548 struct mlxsw_sp1_ptp_unmatched *unmatched, *last = NULL; mlxsw_sp1_ptp_unmatched_lookup() local 564 mlxsw_sp1_ptp_unmatched_remove(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp1_ptp_unmatched *unmatched) mlxsw_sp1_ptp_unmatched_remove() argument 632 mlxsw_sp1_ptp_unmatched_finish(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp1_ptp_unmatched *unmatched) mlxsw_sp1_ptp_unmatched_finish() argument 648 struct mlxsw_sp1_ptp_unmatched *unmatched = ptr; mlxsw_sp1_ptp_unmatched_free_fn() local 663 struct mlxsw_sp1_ptp_unmatched *unmatched; mlxsw_sp1_ptp_got_piece() local 793 mlxsw_sp1_ptp_ht_gc_collect(struct mlxsw_sp1_ptp_state *ptp_state, struct mlxsw_sp1_ptp_unmatched *unmatched) mlxsw_sp1_ptp_ht_gc_collect() argument 845 struct mlxsw_sp1_ptp_unmatched *unmatched; mlxsw_sp1_ptp_ht_gc() local [all...] |
Completed in 4 milliseconds