Searched refs:rule_lock (Results 1 – 2 of 2) sorted by relevance
3070 struct mutex *rule_lock; /* Lock to protect filter rule list */ in ice_update_sw_rule_bridge_mode() local3073 rule_lock = &sw->recp_list[ICE_SW_LKUP_MAC].filt_rule_lock; in ice_update_sw_rule_bridge_mode()3076 mutex_lock(rule_lock); in ice_update_sw_rule_bridge_mode()3095 mutex_unlock(rule_lock); in ice_update_sw_rule_bridge_mode()3293 struct mutex *rule_lock; /* Lock to protect filter rule list */ in ice_add_rule_internal() local3301 rule_lock = &sw->recp_list[recp_id].filt_rule_lock; in ice_add_rule_internal()3303 mutex_lock(rule_lock); in ice_add_rule_internal()3312 mutex_unlock(rule_lock); in ice_add_rule_internal()3318 mutex_unlock(rule_lock); in ice_add_rule_internal()3458 struct mutex *rule_lock; /* Lock to protect filter rule list */ in ice_remove_rule_internal() local[all …]
214 struct mutex *rule_lock) in smk_set_access() argument220 mutex_lock(rule_lock); in smk_set_access()251 mutex_unlock(rule_lock); in smk_set_access()447 struct mutex *rule_lock, int format) in smk_write_rules_list() argument516 rc = smk_set_access(&rule, rule_list, rule_lock); in smk_write_rules_list()2536 struct mutex *rule_lock; in smk_write_revoke_subj() local2563 rule_lock = &skp->smk_rules_lock; in smk_write_revoke_subj()2565 mutex_lock(rule_lock); in smk_write_revoke_subj()2570 mutex_unlock(rule_lock); in smk_write_revoke_subj()