Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Dsense.c100 mutex_lock(&priv->port_mutex); in mlx4_sense_port()
110 mutex_unlock(&priv->port_mutex); in mlx4_sense_port()
Dmain.c1195 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()
Dmlx4.h912 struct mutex port_mutex; member
/linux-6.1.9/sound/soc/apple/
Dmca.c162 struct mutex port_mutex; member
302 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()
/linux-6.1.9/drivers/char/
Dlp.c322 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()
/linux-6.1.9/drivers/infiniband/hw/vmw_pvrdma/
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()
Dpvrdma.h239 struct mutex port_mutex; /* Port modification mutex. */ member
Dpvrdma_main.c216 mutex_init(&dev->port_mutex); in pvrdma_register_device()
/linux-6.1.9/include/linux/
Dlp.h60 struct mutex port_mutex; member
/linux-6.1.9/net/phonet/
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()
480 WARN_ON(!mutex_is_locked(&port_mutex)); in pn_sock_get_port()
/linux-6.1.9/drivers/tty/serial/
Dserial_core.c36 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()