Lines Matching refs:ht_key

56 	struct mlxsw_sp_acl_ruleset_ht_key ht_key;  member
78 .key_offset = offsetof(struct mlxsw_sp_acl_ruleset, ht_key),
146 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_ruleset_bind()
158 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_ruleset_unbind()
312 ruleset->ht_key.block = block; in mlxsw_sp_acl_ruleset_create()
313 ruleset->ht_key.chain_index = chain_index; in mlxsw_sp_acl_ruleset_create()
314 ruleset->ht_key.ops = ops; in mlxsw_sp_acl_ruleset_create()
344 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_ruleset_destroy()
372 struct mlxsw_sp_acl_ruleset_ht_key ht_key; in __mlxsw_sp_acl_ruleset_lookup() local
374 memset(&ht_key, 0, sizeof(ht_key)); in __mlxsw_sp_acl_ruleset_lookup()
375 ht_key.block = block; in __mlxsw_sp_acl_ruleset_lookup()
376 ht_key.chain_index = chain_index; in __mlxsw_sp_acl_ruleset_lookup()
377 ht_key.ops = ops; in __mlxsw_sp_acl_ruleset_lookup()
378 return rhashtable_lookup_fast(&acl->ruleset_ht, &ht_key, in __mlxsw_sp_acl_ruleset_lookup()
431 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_ruleset_group_id()
637 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_rule_create()
680 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_rule_add()
681 struct mlxsw_sp_acl_block *block = ruleset->ht_key.block; in mlxsw_sp_acl_rule_add()
693 if (!ruleset->ht_key.chain_index && in mlxsw_sp_acl_rule_add()
721 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_rule_del()
722 struct mlxsw_sp_acl_block *block = ruleset->ht_key.block; in mlxsw_sp_acl_rule_del()
725 ruleset->ht_key.block->rule_count--; in mlxsw_sp_acl_rule_del()
727 if (!ruleset->ht_key.chain_index && in mlxsw_sp_acl_rule_del()
730 ruleset->ht_key.block); in mlxsw_sp_acl_rule_del()
741 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_rule_action_replace()
769 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_rule_activity_update()