Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/intel/ice/
Dice_switch.c1176 struct mutex *rule_lock; /* Lock to protect filter rule list */ in ice_update_sw_rule_bridge_mode() local
1178 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() local
1403 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 …]
/Linux-v5.4/security/smack/
Dsmackfs.c213 struct mutex *rule_lock) in smk_set_access() argument
219 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() argument
515 rc = smk_set_access(&rule, rule_list, rule_lock); in smk_write_rules_list()
2493 struct mutex *rule_lock; in smk_write_revoke_subj() local
2520 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()