Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl.c29 struct mutex rules_lock; /* Protects rules list */ member
765 mutex_lock(&mlxsw_sp->acl->rules_lock); in mlxsw_sp_acl_rule_add()
767 mutex_unlock(&mlxsw_sp->acl->rules_lock); in mlxsw_sp_acl_rule_add()
791 mutex_lock(&mlxsw_sp->acl->rules_lock); in mlxsw_sp_acl_rule_del()
793 mutex_unlock(&mlxsw_sp->acl->rules_lock); in mlxsw_sp_acl_rule_del()
852 mutex_lock(&acl->rules_lock); in mlxsw_sp_acl_rules_activity_update()
859 mutex_unlock(&acl->rules_lock); in mlxsw_sp_acl_rules_activity_update()
863 mutex_unlock(&acl->rules_lock); in mlxsw_sp_acl_rules_activity_update()
964 mutex_init(&acl->rules_lock); in mlxsw_sp_acl_init()
977 mutex_destroy(&acl->rules_lock); in mlxsw_sp_acl_init()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl.c29 struct mutex rules_lock; /* Protects rules list */ member
886 mutex_lock(&mlxsw_sp->acl->rules_lock); in mlxsw_sp_acl_rule_add()
888 mutex_unlock(&mlxsw_sp->acl->rules_lock); in mlxsw_sp_acl_rule_add()
912 mutex_lock(&mlxsw_sp->acl->rules_lock); in mlxsw_sp_acl_rule_del()
914 mutex_unlock(&mlxsw_sp->acl->rules_lock); in mlxsw_sp_acl_rule_del()
973 mutex_lock(&acl->rules_lock); in mlxsw_sp_acl_rules_activity_update()
980 mutex_unlock(&acl->rules_lock); in mlxsw_sp_acl_rules_activity_update()
984 mutex_unlock(&acl->rules_lock); in mlxsw_sp_acl_rules_activity_update()
1085 mutex_init(&acl->rules_lock); in mlxsw_sp_acl_init()
1098 mutex_destroy(&acl->rules_lock); in mlxsw_sp_acl_init()
[all...]

Completed in 4 milliseconds