Lines Matching refs:ht_key
51 struct mlxsw_sp_acl_ruleset_ht_key ht_key; member
76 .key_offset = offsetof(struct mlxsw_sp_acl_ruleset, ht_key),
105 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_ruleset_bind()
116 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_ruleset_unbind()
175 ruleset->ht_key.block = block; in mlxsw_sp_acl_ruleset_create()
176 ruleset->ht_key.chain_index = chain_index; in mlxsw_sp_acl_ruleset_create()
177 ruleset->ht_key.ops = ops; in mlxsw_sp_acl_ruleset_create()
208 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_ruleset_destroy()
236 struct mlxsw_sp_acl_ruleset_ht_key ht_key; in __mlxsw_sp_acl_ruleset_lookup() local
238 memset(&ht_key, 0, sizeof(ht_key)); in __mlxsw_sp_acl_ruleset_lookup()
239 ht_key.block = block; in __mlxsw_sp_acl_ruleset_lookup()
240 ht_key.chain_index = chain_index; in __mlxsw_sp_acl_ruleset_lookup()
241 ht_key.ops = ops; in __mlxsw_sp_acl_ruleset_lookup()
242 return rhashtable_lookup_fast(&acl->ruleset_ht, &ht_key, in __mlxsw_sp_acl_ruleset_lookup()
295 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_ruleset_group_id()
723 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_rule_create()
766 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_rule_add()
767 struct mlxsw_sp_flow_block *block = ruleset->ht_key.block; in mlxsw_sp_acl_rule_add()
779 if (!ruleset->ht_key.chain_index && in mlxsw_sp_acl_rule_add()
810 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_rule_del()
811 struct mlxsw_sp_flow_block *block = ruleset->ht_key.block; in mlxsw_sp_acl_rule_del()
819 if (!ruleset->ht_key.chain_index && in mlxsw_sp_acl_rule_del()
832 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_rule_action_replace()
860 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_rule_activity_update()