Home
last modified time | relevance | path

Searched refs:mode_lock (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/drivers/net/bonding/
Dbond_alb.c119 spin_lock_bh(&bond->mode_lock); in tlb_clear_slave()
121 spin_unlock_bh(&bond->mode_lock); in tlb_clear_slave()
136 spin_lock_bh(&bond->mode_lock); in tlb_initialize()
143 spin_unlock_bh(&bond->mode_lock); in tlb_initialize()
153 spin_lock_bh(&bond->mode_lock); in tlb_deinitialize()
158 spin_unlock_bh(&bond->mode_lock); in tlb_deinitialize()
236 spin_lock(&bond->mode_lock); in tlb_choose_channel()
238 spin_unlock(&bond->mode_lock); in tlb_choose_channel()
254 spin_lock_bh(&bond->mode_lock); in rlb_update_entry_from_arp()
269 spin_unlock_bh(&bond->mode_lock); in rlb_update_entry_from_arp()
[all …]
Dbond_debugfs.c31 spin_lock_bh(&bond->mode_lock); in bond_debug_rlb_hash_show()
44 spin_unlock_bh(&bond->mode_lock); in bond_debug_rlb_hash_show()
Dbond_3ad.c2096 spin_lock_bh(&bond->mode_lock); in bond_3ad_unbind_slave()
2238 spin_unlock_bh(&bond->mode_lock); in bond_3ad_unbind_slave()
2263 spin_lock_bh(&bond->mode_lock); in bond_3ad_update_ad_actor_settings()
2270 spin_unlock_bh(&bond->mode_lock); in bond_3ad_update_ad_actor_settings()
2323 spin_lock_bh(&bond->mode_lock); in bond_3ad_state_machine_handler()
2377 spin_unlock_bh(&bond->mode_lock); in bond_3ad_state_machine_handler()
2420 spin_lock(&slave->bond->mode_lock); in bond_3ad_rx_indication()
2422 spin_unlock(&slave->bond->mode_lock); in bond_3ad_rx_indication()
2526 spin_lock_bh(&slave->bond->mode_lock); in bond_3ad_adapter_speed_duplex_changed()
2528 spin_unlock_bh(&slave->bond->mode_lock); in bond_3ad_adapter_speed_duplex_changed()
[all …]
Dbond_main.c5078 spin_lock_bh(&bond->mode_lock); in bond_update_slave_arr()
5080 spin_unlock_bh(&bond->mode_lock); in bond_update_slave_arr()
5088 spin_unlock_bh(&bond->mode_lock); in bond_update_slave_arr()
5778 spin_lock_init(&bond->mode_lock); in bond_setup()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.c1260 lockdep_assert_held(&esw->mode_lock); in mlx5_eswitch_enable_locked()
1325 down_write(&esw->mode_lock); in mlx5_eswitch_enable()
1337 up_write(&esw->mode_lock); in mlx5_eswitch_enable()
1352 down_write(&esw->mode_lock); in mlx5_eswitch_disable_sriov()
1381 up_write(&esw->mode_lock); in mlx5_eswitch_disable_sriov()
1422 down_write(&esw->mode_lock); in mlx5_eswitch_disable()
1425 up_write(&esw->mode_lock); in mlx5_eswitch_disable()
1615 init_rwsem(&esw->mode_lock); in mlx5_eswitch_init()
1974 if (down_read_trylock(&esw->mode_lock) != 0) in mlx5_esw_hold()
1989 up_read(&esw->mode_lock); in mlx5_esw_release()
[all …]
Deswitch_offloads.c3033 down_write(&esw->mode_lock); in mlx5_esw_offloads_vport_metadata_set()
3047 up_write(&esw->mode_lock); in mlx5_esw_offloads_vport_metadata_set()
3551 down_write(&esw->mode_lock); in mlx5_devlink_eswitch_mode_get()
3553 up_write(&esw->mode_lock); in mlx5_devlink_eswitch_mode_get()
3600 down_write(&esw->mode_lock); in mlx5_devlink_eswitch_inline_mode_set()
3634 up_write(&esw->mode_lock); in mlx5_devlink_eswitch_inline_mode_set()
3638 up_write(&esw->mode_lock); in mlx5_devlink_eswitch_inline_mode_set()
3651 down_write(&esw->mode_lock); in mlx5_devlink_eswitch_inline_mode_get()
3653 up_write(&esw->mode_lock); in mlx5_devlink_eswitch_inline_mode_get()
3669 down_write(&esw->mode_lock); in mlx5_devlink_eswitch_encap_mode_set()
[all …]
Deswitch.h318 struct rw_semaphore mode_lock; member
/linux-6.1.9/drivers/power/supply/
Dsbs-battery.c215 struct mutex mode_lock; member
958 mutex_lock(&chip->mode_lock); in sbs_get_property()
960 mutex_unlock(&chip->mode_lock); in sbs_get_property()
1144 mutex_init(&chip->mode_lock); in sbs_probe()
/linux-6.1.9/include/net/
Dbonding.h236 spinlock_t mode_lock; member
/linux-6.1.9/drivers/gpu/drm/bridge/
Dite-it6505.c416 struct mutex mode_lock; /* used to bridge_detect */ member
2621 mutex_lock(&it6505->mode_lock); in it6505_detect()
2670 mutex_unlock(&it6505->mode_lock); in it6505_detect()
3251 mutex_init(&it6505->mode_lock); in it6505_i2c_probe()