Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_switch.c1136 struct mutex *rule_lock; /* Lock to protect filter rule list */ in ice_update_sw_rule_bridge_mode() local
1138 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() local
1366 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 …]
Dice_virtchnl_pf.c3870 struct mutex *rule_lock; /* protect MAC filter list access */ in ice_unicast_mac_exists() local
3873 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()
/kernel/linux/linux-5.10/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()
2524 struct mutex *rule_lock; in smk_write_revoke_subj() local
2551 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()