Searched refs:rule_lock (Results 1 – 2 of 2) sorted by relevance
1176 struct mutex *rule_lock; /* Lock to protect filter rule list */ in ice_update_sw_rule_bridge_mode() local1178 rule_lock = &sw->recp_list[ICE_SW_LKUP_MAC].filt_rule_lock; in ice_update_sw_rule_bridge_mode()1181 mutex_lock(rule_lock); in ice_update_sw_rule_bridge_mode()1200 mutex_unlock(rule_lock); in ice_update_sw_rule_bridge_mode()1395 struct mutex *rule_lock; /* Lock to protect filter rule list */ in ice_add_rule_internal() local1403 rule_lock = &sw->recp_list[recp_id].filt_rule_lock; in ice_add_rule_internal()1405 mutex_lock(rule_lock); in ice_add_rule_internal()1414 mutex_unlock(rule_lock); in ice_add_rule_internal()1420 mutex_unlock(rule_lock); in ice_add_rule_internal()1562 struct mutex *rule_lock; /* Lock to protect filter rule list */ in ice_remove_rule_internal() local[all …]
213 struct mutex *rule_lock) in smk_set_access() argument219 mutex_lock(rule_lock); in smk_set_access()250 mutex_unlock(rule_lock); in smk_set_access()446 struct mutex *rule_lock, int format) in smk_write_rules_list() argument515 rc = smk_set_access(&rule, rule_list, rule_lock); in smk_write_rules_list()2493 struct mutex *rule_lock; in smk_write_revoke_subj() local2520 rule_lock = &skp->smk_rules_lock; in smk_write_revoke_subj()2522 mutex_lock(rule_lock); in smk_write_revoke_subj()2527 mutex_unlock(rule_lock); in smk_write_revoke_subj()