Searched refs:trigger_node (Results 1 – 1 of 1) sorted by relevance
2605 struct mlxsw_sp_sample_trigger_node *trigger_node; in mlxsw_sp_sample_trigger_params_lookup() local2609 trigger_node = rhashtable_lookup(&mlxsw_sp->sample_trigger_ht, &key, in mlxsw_sp_sample_trigger_params_lookup()2611 if (!trigger_node) in mlxsw_sp_sample_trigger_params_lookup()2614 return &trigger_node->params; in mlxsw_sp_sample_trigger_params_lookup()2622 struct mlxsw_sp_sample_trigger_node *trigger_node; in mlxsw_sp_sample_trigger_node_init() local2625 trigger_node = kzalloc(sizeof(*trigger_node), GFP_KERNEL); in mlxsw_sp_sample_trigger_node_init()2626 if (!trigger_node) in mlxsw_sp_sample_trigger_node_init()2629 trigger_node->trigger = *trigger; in mlxsw_sp_sample_trigger_node_init()2630 trigger_node->params = *params; in mlxsw_sp_sample_trigger_node_init()2631 refcount_set(&trigger_node->refcount, 1); in mlxsw_sp_sample_trigger_node_init()[all …]