Searched refs:trigger_node (Results 1 – 1 of 1) sorted by relevance
2813 struct mlxsw_sp_sample_trigger_node *trigger_node; in mlxsw_sp_sample_trigger_params_lookup() local2817 trigger_node = rhashtable_lookup(&mlxsw_sp->sample_trigger_ht, &key, in mlxsw_sp_sample_trigger_params_lookup()2819 if (!trigger_node) in mlxsw_sp_sample_trigger_params_lookup()2822 return &trigger_node->params; in mlxsw_sp_sample_trigger_params_lookup()2830 struct mlxsw_sp_sample_trigger_node *trigger_node; in mlxsw_sp_sample_trigger_node_init() local2833 trigger_node = kzalloc(sizeof(*trigger_node), GFP_KERNEL); in mlxsw_sp_sample_trigger_node_init()2834 if (!trigger_node) in mlxsw_sp_sample_trigger_node_init()2837 trigger_node->trigger = *trigger; in mlxsw_sp_sample_trigger_node_init()2838 trigger_node->params = *params; in mlxsw_sp_sample_trigger_node_init()2839 refcount_set(&trigger_node->refcount, 1); in mlxsw_sp_sample_trigger_node_init()[all …]