Searched refs:port_mutex (Results 1 – 10 of 10) sorted by relevance
100 mutex_lock(&priv->port_mutex); in mlx4_sense_port()110 mutex_unlock(&priv->port_mutex); in mlx4_sense_port()
1168 mutex_lock(&priv->port_mutex); in __set_port_type()1211 mutex_unlock(&priv->port_mutex); in __set_port_type()1324 mutex_lock(&priv->port_mutex); in set_port_ib_mtu()1337 mutex_unlock(&priv->port_mutex); in set_port_ib_mtu()3408 mutex_init(&priv->port_mutex); in mlx4_load_one()4231 mutex_lock(&priv->port_mutex); in restore_current_port_types()4236 mutex_unlock(&priv->port_mutex); in restore_current_port_types()
919 struct mutex port_mutex; member
161 struct mutex port_mutex; member 310 mutex_lock(&mca->port_mutex); in mca_fe_clocks_in_use() 319 mutex_unlock(&mca->port_mutex); in mca_fe_clocks_in_use() 324 mutex_unlock(&mca->port_mutex); in mca_fe_clocks_in_use() 745 mutex_lock(&mca->port_mutex); in mca_be_startup() 747 mutex_unlock(&mca->port_mutex); in mca_be_startup() 768 mutex_lock(&mca->port_mutex); in mca_be_shutdown() 770 mutex_unlock(&mca->port_mutex); in mca_be_shutdown() 1033 mutex_init(&mca->port_mutex); in apple_mca_probe()
324 if (mutex_lock_interruptible(&lp_table[minor].port_mutex)) in lp_write()411 mutex_unlock(&lp_table[minor].port_mutex); in lp_write()433 if (mutex_lock_interruptible(&lp_table[minor].port_mutex)) in lp_read()491 mutex_unlock(&lp_table[minor].port_mutex); in lp_read()633 if (mutex_lock_interruptible(&lp_table[minor].port_mutex)) in lp_do_ioctl()638 mutex_unlock(&lp_table[minor].port_mutex); in lp_do_ioctl()1043 mutex_init(&lp_table[i].port_mutex); in lp_init()
259 mutex_lock(&to_vdev(ibdev)->port_mutex); in pvrdma_modify_device()262 mutex_unlock(&to_vdev(ibdev)->port_mutex); in pvrdma_modify_device()290 mutex_lock(&vdev->port_mutex); in pvrdma_modify_port()302 mutex_unlock(&vdev->port_mutex); in pvrdma_modify_port()
239 struct mutex port_mutex; /* Port modification mutex. */ member
60 struct mutex port_mutex; member
154 static DEFINE_MUTEX(port_mutex);184 mutex_lock(&port_mutex); in pn_socket_bind()196 mutex_unlock(&port_mutex); in pn_socket_bind()477 WARN_ON(!mutex_is_locked(&port_mutex)); in pn_sock_get_port()
40 static DEFINE_MUTEX(port_mutex);3345 lockdep_assert_held(&port_mutex); in serial_core_ctrl_find()3387 mutex_lock(&port_mutex); in serial_core_register_port()3423 mutex_unlock(&port_mutex); in serial_core_register_port()3434 mutex_unlock(&port_mutex); in serial_core_register_port()3450 mutex_lock(&port_mutex); in serial_core_unregister_port()3463 mutex_unlock(&port_mutex); in serial_core_unregister_port()