Searched refs:port_mutex (Results 1 – 11 of 11) sorted by relevance
100 mutex_lock(&priv->port_mutex); in mlx4_sense_port()110 mutex_unlock(&priv->port_mutex); in mlx4_sense_port()
1195 mutex_lock(&priv->port_mutex); in __set_port_type()1238 mutex_unlock(&priv->port_mutex); in __set_port_type()1351 mutex_lock(&priv->port_mutex); in set_port_ib_mtu()1364 mutex_unlock(&priv->port_mutex); in set_port_ib_mtu()3354 mutex_init(&priv->port_mutex); in mlx4_load_one()4200 mutex_lock(&priv->port_mutex); in restore_current_port_types()4205 mutex_unlock(&priv->port_mutex); in restore_current_port_types()
912 struct mutex port_mutex; member
162 struct mutex port_mutex; member302 mutex_lock(&mca->port_mutex); in mca_fe_clocks_in_use()311 mutex_unlock(&mca->port_mutex); in mca_fe_clocks_in_use()316 mutex_unlock(&mca->port_mutex); in mca_fe_clocks_in_use()737 mutex_lock(&mca->port_mutex); in mca_be_startup()739 mutex_unlock(&mca->port_mutex); in mca_be_startup()760 mutex_lock(&mca->port_mutex); in mca_be_shutdown()762 mutex_unlock(&mca->port_mutex); in mca_be_shutdown()1018 mutex_init(&mca->port_mutex); in apple_mca_probe()
322 if (mutex_lock_interruptible(&lp_table[minor].port_mutex)) in lp_write()409 mutex_unlock(&lp_table[minor].port_mutex); in lp_write()431 if (mutex_lock_interruptible(&lp_table[minor].port_mutex)) in lp_read()489 mutex_unlock(&lp_table[minor].port_mutex); in lp_read()631 if (mutex_lock_interruptible(&lp_table[minor].port_mutex)) in lp_do_ioctl()636 mutex_unlock(&lp_table[minor].port_mutex); in lp_do_ioctl()1042 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
216 mutex_init(&dev->port_mutex); in pvrdma_register_device()
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()480 WARN_ON(!mutex_is_locked(&port_mutex)); in pn_sock_get_port()
36 static DEFINE_MUTEX(port_mutex);3062 mutex_lock(&port_mutex); in uart_add_one_port()3134 mutex_unlock(&port_mutex); in uart_add_one_port()3158 mutex_lock(&port_mutex); in uart_remove_one_port()3214 mutex_unlock(&port_mutex); in uart_remove_one_port()