Searched refs:real_tty (Results 1 – 4 of 4) sorted by relevance
/drivers/tty/ |
D | tty_jobctrl.c | 466 static int tiocgpgrp(struct tty_struct *tty, struct tty_struct *real_tty, pid_t __user *p) in tiocgpgrp() argument 474 if (tty == real_tty && current->signal->tty != real_tty) in tiocgpgrp() 476 pid = tty_get_pgrp(real_tty); in tiocgpgrp() 493 static int tiocspgrp(struct tty_struct *tty, struct tty_struct *real_tty, pid_t __user *p) in tiocspgrp() argument 497 int retval = tty_check_change(real_tty); in tiocspgrp() 509 spin_lock_irq(&real_tty->ctrl.lock); in tiocspgrp() 511 (current->signal->tty != real_tty) || in tiocspgrp() 512 (real_tty->ctrl.session != task_session(current))) { in tiocspgrp() 525 put_pid(real_tty->ctrl.pgrp); in tiocspgrp() 526 real_tty->ctrl.pgrp = get_pid(pgrp); in tiocspgrp() [all …]
|
D | tty_ioctl.c | 786 struct tty_struct *real_tty; in tty_mode_ioctl() local 793 real_tty = tty->link; in tty_mode_ioctl() 795 real_tty = tty; in tty_mode_ioctl() 800 return get_sgttyb(real_tty, (struct sgttyb __user *) arg); in tty_mode_ioctl() 803 return set_sgttyb(real_tty, (struct sgttyb __user *) arg); in tty_mode_ioctl() 807 return get_tchars(real_tty, p); in tty_mode_ioctl() 809 return set_tchars(real_tty, p); in tty_mode_ioctl() 813 return get_ltchars(real_tty, p); in tty_mode_ioctl() 815 return set_ltchars(real_tty, p); in tty_mode_ioctl() 818 return set_termios(real_tty, p, TERMIOS_FLUSH | TERMIOS_WAIT | TERMIOS_OLD); in tty_mode_ioctl() [all …]
|
D | tty.h | 82 long tty_jobctrl_ioctl(struct tty_struct *tty, struct tty_struct *real_tty,
|
D | tty_io.c | 2655 struct tty_struct *real_tty; in tty_ioctl() local 2663 real_tty = tty_pair_get_tty(tty); in tty_ioctl() 2692 return tiocgwinsz(real_tty, p); in tty_ioctl() 2694 return tiocswinsz(real_tty, p); in tty_ioctl() 2696 return real_tty != tty ? -EINVAL : tioccons(file); in tty_ioctl() 2720 unsigned int ret = new_encode_dev(tty_devnum(real_tty)); in tty_ioctl() 2771 retval = tty_jobctrl_ioctl(tty, real_tty, file, cmd, arg); in tty_ioctl()
|