Searched refs:mode_lock (Results 1 – 9 of 9) sorted by relevance
119 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 …]
31 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()
2096 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 …]
5104 spin_lock_bh(&bond->mode_lock); in bond_update_slave_arr()5106 spin_unlock_bh(&bond->mode_lock); in bond_update_slave_arr()5114 spin_unlock_bh(&bond->mode_lock); in bond_update_slave_arr()5804 spin_lock_init(&bond->mode_lock); in bond_setup()
1256 lockdep_assert_held(&esw->mode_lock); in mlx5_eswitch_enable_locked()1324 down_write(&esw->mode_lock); in mlx5_eswitch_enable()1336 up_write(&esw->mode_lock); in mlx5_eswitch_enable()1351 down_write(&esw->mode_lock); in mlx5_eswitch_disable_sriov()1380 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 …]
3036 down_write(&esw->mode_lock); in mlx5_esw_offloads_vport_metadata_set()3050 up_write(&esw->mode_lock); in mlx5_esw_offloads_vport_metadata_set()3570 down_write(&esw->mode_lock); in mlx5_devlink_eswitch_mode_get()3572 up_write(&esw->mode_lock); in mlx5_devlink_eswitch_mode_get()3619 down_write(&esw->mode_lock); in mlx5_devlink_eswitch_inline_mode_set()3653 up_write(&esw->mode_lock); in mlx5_devlink_eswitch_inline_mode_set()3657 up_write(&esw->mode_lock); in mlx5_devlink_eswitch_inline_mode_set()3670 down_write(&esw->mode_lock); in mlx5_devlink_eswitch_inline_mode_get()3672 up_write(&esw->mode_lock); in mlx5_devlink_eswitch_inline_mode_get()3688 down_write(&esw->mode_lock); in mlx5_devlink_eswitch_encap_mode_set()[all …]
318 struct rw_semaphore mode_lock; member
215 struct mutex mode_lock; member958 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()
416 struct mutex mode_lock; /* used to bridge_detect */ member2621 mutex_lock(&it6505->mode_lock); in it6505_detect()2670 mutex_unlock(&it6505->mode_lock); in it6505_detect()3252 mutex_init(&it6505->mode_lock); in it6505_i2c_probe()