Lines Matching refs:inbuf_lock
181 spinlock_t inbuf_lock; member
529 spin_lock_irqsave(&port->inbuf_lock, flags); in port_has_data()
534 spin_unlock_irqrestore(&port->inbuf_lock, flags); in port_has_data()
683 spin_lock_irqsave(&port->inbuf_lock, flags); in fill_readbuf()
689 spin_unlock_irqrestore(&port->inbuf_lock, flags); in fill_readbuf()
994 spin_lock_irq(&port->inbuf_lock); in port_fops_release()
999 spin_unlock_irq(&port->inbuf_lock); in port_fops_release()
1043 spin_lock_irq(&port->inbuf_lock); in port_fops_open()
1045 spin_unlock_irq(&port->inbuf_lock); in port_fops_open()
1051 spin_unlock_irq(&port->inbuf_lock); in port_fops_open()
1381 spin_lock_init(&port->inbuf_lock); in add_port()
1389 err = fill_queue(port->in_vq, &port->inbuf_lock); in add_port()
1459 spin_lock_irq(&port->inbuf_lock); in remove_port_data()
1462 spin_unlock_irq(&port->inbuf_lock); in remove_port_data()
1480 spin_lock_irq(&port->inbuf_lock); in unplug_port()
1491 spin_unlock_irq(&port->inbuf_lock); in unplug_port()
1613 spin_lock_irq(&port->inbuf_lock); in handle_control_message()
1615 spin_unlock_irq(&port->inbuf_lock); in handle_control_message()
1724 spin_lock_irqsave(&port->inbuf_lock, flags); in in_intr()
1750 spin_unlock_irqrestore(&port->inbuf_lock, flags); in in_intr()
2148 fill_queue(port->in_vq, &port->inbuf_lock); in virtcons_restore()