Lines Matching refs:timeout
287 __tty_ldisc_lock(struct tty_struct *tty, unsigned long timeout) in __tty_ldisc_lock() argument
289 return ldsem_down_write(&tty->ldisc_sem, timeout); in __tty_ldisc_lock()
293 __tty_ldisc_lock_nested(struct tty_struct *tty, unsigned long timeout) in __tty_ldisc_lock_nested() argument
296 LDISC_SEM_OTHER, timeout); in __tty_ldisc_lock_nested()
304 int tty_ldisc_lock(struct tty_struct *tty, unsigned long timeout) in tty_ldisc_lock() argument
313 ret = __tty_ldisc_lock(tty, timeout); in tty_ldisc_lock()
330 unsigned long timeout) in tty_ldisc_lock_pair_timeout() argument
335 ret = __tty_ldisc_lock(tty, timeout); in tty_ldisc_lock_pair_timeout()
337 ret = __tty_ldisc_lock_nested(tty2, timeout); in tty_ldisc_lock_pair_timeout()
345 ret = __tty_ldisc_lock(tty2, timeout); in tty_ldisc_lock_pair_timeout()
347 ret = __tty_ldisc_lock_nested(tty, timeout); in tty_ldisc_lock_pair_timeout()
352 ret = __tty_ldisc_lock(tty, timeout); in tty_ldisc_lock_pair_timeout()