Home
last modified time | relevance | path

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

/drivers/char/
Dlp.c317 if (mutex_lock_interruptible(&lp_table[minor].port_mutex)) in lp_write()
404 mutex_unlock(&lp_table[minor].port_mutex); in lp_write()
426 if (mutex_lock_interruptible(&lp_table[minor].port_mutex)) in lp_read()
484 mutex_unlock(&lp_table[minor].port_mutex); in lp_read()
627 if (mutex_lock_interruptible(&lp_table[minor].port_mutex)) in lp_do_ioctl()
632 mutex_unlock(&lp_table[minor].port_mutex); in lp_do_ioctl()
976 mutex_init(&lp_table[i].port_mutex); in lp_init()
/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.c917 mutex_lock(&priv->port_mutex); in set_port_type()
958 mutex_unlock(&priv->port_mutex); in set_port_type()
1037 mutex_lock(&priv->port_mutex); in set_port_ib_mtu()
1050 mutex_unlock(&priv->port_mutex); in set_port_ib_mtu()
2275 mutex_init(&priv->port_mutex); in mlx4_load_one()
Dmlx4.h848 struct mutex port_mutex; member
/drivers/tty/serial/
Dserial_core.c44 static DEFINE_MUTEX(port_mutex);
2590 mutex_lock(&port_mutex); in uart_add_one_port()
2650 mutex_unlock(&port_mutex); in uart_add_one_port()
2677 mutex_lock(&port_mutex); in uart_remove_one_port()
2723 mutex_unlock(&port_mutex); in uart_remove_one_port()