Searched refs:rule_lock (Results 1 – 3 of 3) sorted by relevance
1136 struct mutex *rule_lock; /* Lock to protect filter rule list */ in ice_update_sw_rule_bridge_mode() local1138 rule_lock = &sw->recp_list[ICE_SW_LKUP_MAC].filt_rule_lock; in ice_update_sw_rule_bridge_mode()1141 mutex_lock(rule_lock); in ice_update_sw_rule_bridge_mode()1160 mutex_unlock(rule_lock); in ice_update_sw_rule_bridge_mode()1358 struct mutex *rule_lock; /* Lock to protect filter rule list */ in ice_add_rule_internal() local1366 rule_lock = &sw->recp_list[recp_id].filt_rule_lock; in ice_add_rule_internal()1368 mutex_lock(rule_lock); in ice_add_rule_internal()1377 mutex_unlock(rule_lock); in ice_add_rule_internal()1383 mutex_unlock(rule_lock); in ice_add_rule_internal()1525 struct mutex *rule_lock; /* Lock to protect filter rule list */ in ice_remove_rule_internal() local[all …]
3870 struct mutex *rule_lock; /* protect MAC filter list access */ in ice_unicast_mac_exists() local3873 rule_lock = &mac_recipe_list->filt_rule_lock; in ice_unicast_mac_exists()3875 mutex_lock(rule_lock); in ice_unicast_mac_exists()3880 mutex_unlock(rule_lock); in ice_unicast_mac_exists()3885 mutex_unlock(rule_lock); in ice_unicast_mac_exists()
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()2524 struct mutex *rule_lock; in smk_write_revoke_subj() local2551 rule_lock = &skp->smk_rules_lock; in smk_write_revoke_subj()2553 mutex_lock(rule_lock); in smk_write_revoke_subj()2558 mutex_unlock(rule_lock); in smk_write_revoke_subj()