Home
last modified time | relevance | path

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

/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.c1194 mutex_lock(&priv->port_mutex); in __set_port_type()
1237 mutex_unlock(&priv->port_mutex); in __set_port_type()
1350 mutex_lock(&priv->port_mutex); in set_port_ib_mtu()
1363 mutex_unlock(&priv->port_mutex); in set_port_ib_mtu()
3332 mutex_init(&priv->port_mutex); in mlx4_load_one()
4175 mutex_lock(&priv->port_mutex); in restore_current_port_types()
4180 mutex_unlock(&priv->port_mutex); in restore_current_port_types()
Dmlx4.h911 struct mutex port_mutex; member
/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()
632 if (mutex_lock_interruptible(&lp_table[minor].port_mutex)) in lp_do_ioctl()
637 mutex_unlock(&lp_table[minor].port_mutex); in lp_do_ioctl()
1041 mutex_init(&lp_table[i].port_mutex); in lp_init()
/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.c235 mutex_init(&dev->port_mutex); in pvrdma_register_device()
/drivers/tty/serial/
Dserial_core.c33 static DEFINE_MUTEX(port_mutex);
2804 mutex_lock(&port_mutex); in uart_add_one_port()
2877 mutex_unlock(&port_mutex); in uart_add_one_port()
2901 mutex_lock(&port_mutex); in uart_remove_one_port()
2957 mutex_unlock(&port_mutex); in uart_remove_one_port()