Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dsense.c100 mutex_lock(&priv->port_mutex); in mlx4_sense_port()
110 mutex_unlock(&priv->port_mutex); in mlx4_sense_port()
H A Dmain.c1168 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()
H A Dmlx4.h919 struct mutex port_mutex; member
/linux/sound/soc/apple/
H A Dmca.c161 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()
/linux/drivers/char/
H A Dlp.c324 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()
/linux/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_verbs.c259 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()
H A Dpvrdma.h239 struct mutex port_mutex; /* Port modification mutex. */ member
/linux/include/linux/
H A Dlp.h60 struct mutex port_mutex; member
/linux/net/phonet/
H A Dsocket.c154 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()
/linux/drivers/tty/serial/
H A Dserial_core.c40 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()