Lines Matching refs:ht_key
56 struct mlxsw_sp_acl_ruleset_ht_key ht_key; member
81 .key_offset = offsetof(struct mlxsw_sp_acl_ruleset, ht_key),
110 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_ruleset_bind()
121 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_ruleset_unbind()
180 ruleset->ht_key.block = block; in mlxsw_sp_acl_ruleset_create()
181 ruleset->ht_key.chain_index = chain_index; in mlxsw_sp_acl_ruleset_create()
182 ruleset->ht_key.ops = ops; in mlxsw_sp_acl_ruleset_create()
213 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_ruleset_destroy()
241 struct mlxsw_sp_acl_ruleset_ht_key ht_key; in __mlxsw_sp_acl_ruleset_lookup() local
243 memset(&ht_key, 0, sizeof(ht_key)); in __mlxsw_sp_acl_ruleset_lookup()
244 ht_key.block = block; in __mlxsw_sp_acl_ruleset_lookup()
245 ht_key.chain_index = chain_index; in __mlxsw_sp_acl_ruleset_lookup()
246 ht_key.ops = ops; in __mlxsw_sp_acl_ruleset_lookup()
247 return rhashtable_lookup_fast(&acl->ruleset_ht, &ht_key, in __mlxsw_sp_acl_ruleset_lookup()
300 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_ruleset_group_id()
819 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_rule_create()
862 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_rule_add()
863 struct mlxsw_sp_flow_block *block = ruleset->ht_key.block; in mlxsw_sp_acl_rule_add()
875 if (!ruleset->ht_key.chain_index && in mlxsw_sp_acl_rule_add()
906 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_rule_del()
907 struct mlxsw_sp_flow_block *block = ruleset->ht_key.block; in mlxsw_sp_acl_rule_del()
915 if (!ruleset->ht_key.chain_index && in mlxsw_sp_acl_rule_del()
928 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_rule_action_replace()
956 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_rule_activity_update()