Home
last modified time | relevance | path

Searched refs:rules_lock (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl.c30 struct mutex rules_lock; /* Protects rules list */ member
887 mutex_lock(&mlxsw_sp->acl->rules_lock); in mlxsw_sp_acl_rule_add()
889 mutex_unlock(&mlxsw_sp->acl->rules_lock); in mlxsw_sp_acl_rule_add()
913 mutex_lock(&mlxsw_sp->acl->rules_lock); in mlxsw_sp_acl_rule_del()
915 mutex_unlock(&mlxsw_sp->acl->rules_lock); in mlxsw_sp_acl_rule_del()
974 mutex_lock(&acl->rules_lock); in mlxsw_sp_acl_rules_activity_update()
981 mutex_unlock(&acl->rules_lock); in mlxsw_sp_acl_rules_activity_update()
985 mutex_unlock(&acl->rules_lock); in mlxsw_sp_acl_rules_activity_update()
1086 mutex_init(&acl->rules_lock); in mlxsw_sp_acl_init()
1099 mutex_destroy(&acl->rules_lock); in mlxsw_sp_acl_init()
[all …]