Lines Matching refs:ht_key

64 	struct mlxsw_sp_acl_ruleset_ht_key ht_key;  member
86 .key_offset = offsetof(struct mlxsw_sp_acl_ruleset, ht_key),
154 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_ruleset_bind()
166 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_ruleset_unbind()
313 ruleset->ht_key.block = block; in mlxsw_sp_acl_ruleset_create()
314 ruleset->ht_key.chain_index = chain_index; in mlxsw_sp_acl_ruleset_create()
315 ruleset->ht_key.ops = ops; in mlxsw_sp_acl_ruleset_create()
345 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_ruleset_destroy()
373 struct mlxsw_sp_acl_ruleset_ht_key ht_key; in __mlxsw_sp_acl_ruleset_lookup() local
375 memset(&ht_key, 0, sizeof(ht_key)); in __mlxsw_sp_acl_ruleset_lookup()
376 ht_key.block = block; in __mlxsw_sp_acl_ruleset_lookup()
377 ht_key.chain_index = chain_index; in __mlxsw_sp_acl_ruleset_lookup()
378 ht_key.ops = ops; in __mlxsw_sp_acl_ruleset_lookup()
379 return rhashtable_lookup_fast(&acl->ruleset_ht, &ht_key, in __mlxsw_sp_acl_ruleset_lookup()
432 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_ruleset_group_id()
628 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_rule_create()
671 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_rule_add()
683 if (!ruleset->ht_key.chain_index && in mlxsw_sp_acl_rule_add()
690 ruleset->ht_key.block); in mlxsw_sp_acl_rule_add()
696 ruleset->ht_key.block->rule_count++; in mlxsw_sp_acl_rule_add()
711 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_rule_del()
713 ruleset->ht_key.block->rule_count--; in mlxsw_sp_acl_rule_del()
715 if (!ruleset->ht_key.chain_index && in mlxsw_sp_acl_rule_del()
718 ruleset->ht_key.block); in mlxsw_sp_acl_rule_del()
743 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_rule_activity_update()