Lines Matching refs:ctrl_lock
399 spin_lock_irqsave(&tty->ctrl_lock, flags); in tty_check_change()
407 spin_unlock_irqrestore(&tty->ctrl_lock, flags); in tty_check_change()
420 spin_unlock_irqrestore(&tty->ctrl_lock, flags); in tty_check_change()
519 spin_lock_irqsave(&tty->ctrl_lock, flags); in __proc_set_tty()
527 spin_unlock_irqrestore(&tty->ctrl_lock, flags); in __proc_set_tty()
626 spin_lock(&tty->ctrl_lock); in tty_signal_session_leader()
630 spin_unlock(&tty->ctrl_lock); in tty_signal_session_leader()
719 spin_lock_irq(&tty->ctrl_lock); in __tty_hangup()
727 spin_unlock_irq(&tty->ctrl_lock); in __tty_hangup()
924 spin_lock_irqsave(&tty->ctrl_lock, flags); in disassociate_ctty()
929 spin_unlock_irqrestore(&tty->ctrl_lock, flags); in disassociate_ctty()
2238 spin_lock_irqsave(&tty->ctrl_lock, flags); in __tty_fasync()
2247 spin_unlock_irqrestore(&tty->ctrl_lock, flags); in __tty_fasync()
2518 spin_lock_irqsave(&tty->ctrl_lock, flags); in tty_get_pgrp()
2520 spin_unlock_irqrestore(&tty->ctrl_lock, flags); in tty_get_pgrp()
2615 spin_lock_irqsave(&tty->ctrl_lock, flags); in tiocspgrp()
2618 spin_unlock_irqrestore(&tty->ctrl_lock, flags); in tiocspgrp()
3166 spin_lock_init(&tty->ctrl_lock); in alloc_tty_struct()