Lines Matching refs:key
2806 mlxsw_sp_sample_trigger_key_init(struct mlxsw_sp_sample_trigger *key, in mlxsw_sp_sample_trigger_key_init() argument
2809 memset(key, 0, sizeof(*key)); in mlxsw_sp_sample_trigger_key_init()
2810 key->type = trigger->type; in mlxsw_sp_sample_trigger_key_init()
2811 key->local_port = trigger->local_port; in mlxsw_sp_sample_trigger_key_init()
2820 struct mlxsw_sp_sample_trigger key; in mlxsw_sp_sample_trigger_params_lookup() local
2822 mlxsw_sp_sample_trigger_key_init(&key, trigger); in mlxsw_sp_sample_trigger_params_lookup()
2823 trigger_node = rhashtable_lookup(&mlxsw_sp->sample_trigger_ht, &key, in mlxsw_sp_sample_trigger_params_lookup()
2877 struct mlxsw_sp_sample_trigger key; in mlxsw_sp_sample_trigger_params_set() local
2881 mlxsw_sp_sample_trigger_key_init(&key, trigger); in mlxsw_sp_sample_trigger_params_set()
2884 &key, in mlxsw_sp_sample_trigger_params_set()
2887 return mlxsw_sp_sample_trigger_node_init(mlxsw_sp, &key, in mlxsw_sp_sample_trigger_params_set()
2913 struct mlxsw_sp_sample_trigger key; in mlxsw_sp_sample_trigger_params_unset() local
2917 mlxsw_sp_sample_trigger_key_init(&key, trigger); in mlxsw_sp_sample_trigger_params_unset()
2920 &key, in mlxsw_sp_sample_trigger_params_unset()
2953 struct in6_addr key; member
2960 .key_offset = offsetof(struct mlxsw_sp_ipv6_addr_node, key),
2991 node->key = *addr6; in mlxsw_sp_ipv6_addr_init()