Lines Matching refs:ht_key
57 struct mlxsw_sp_acl_ruleset_ht_key ht_key; member
82 .key_offset = offsetof(struct mlxsw_sp_acl_ruleset, ht_key),
111 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_ruleset_bind()
122 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_ruleset_unbind()
181 ruleset->ht_key.block = block; in mlxsw_sp_acl_ruleset_create()
182 ruleset->ht_key.chain_index = chain_index; in mlxsw_sp_acl_ruleset_create()
183 ruleset->ht_key.ops = ops; in mlxsw_sp_acl_ruleset_create()
214 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_ruleset_destroy()
242 struct mlxsw_sp_acl_ruleset_ht_key ht_key; in __mlxsw_sp_acl_ruleset_lookup() local
244 memset(&ht_key, 0, sizeof(ht_key)); in __mlxsw_sp_acl_ruleset_lookup()
245 ht_key.block = block; in __mlxsw_sp_acl_ruleset_lookup()
246 ht_key.chain_index = chain_index; in __mlxsw_sp_acl_ruleset_lookup()
247 ht_key.ops = ops; in __mlxsw_sp_acl_ruleset_lookup()
248 return rhashtable_lookup_fast(&acl->ruleset_ht, &ht_key, in __mlxsw_sp_acl_ruleset_lookup()
301 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_ruleset_group_id()
820 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_rule_create()
863 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_rule_add()
864 struct mlxsw_sp_flow_block *block = ruleset->ht_key.block; in mlxsw_sp_acl_rule_add()
876 if (!ruleset->ht_key.chain_index && in mlxsw_sp_acl_rule_add()
907 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_rule_del()
908 struct mlxsw_sp_flow_block *block = ruleset->ht_key.block; in mlxsw_sp_acl_rule_del()
916 if (!ruleset->ht_key.chain_index && in mlxsw_sp_acl_rule_del()
929 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_rule_action_replace()
957 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_rule_activity_update()