Searched refs:real_tty (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/tty/ |
H A 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 …]
|
H A D | tty_ioctl.c | 771 struct tty_struct *real_tty; in tty_mode_ioctl() local 778 real_tty = tty->link; in tty_mode_ioctl() 780 real_tty = tty; in tty_mode_ioctl() 785 return get_sgttyb(real_tty, (struct sgttyb __user *) arg); in tty_mode_ioctl() 788 return set_sgttyb(real_tty, (struct sgttyb __user *) arg); in tty_mode_ioctl() 792 return get_tchars(real_tty, p); in tty_mode_ioctl() 794 return set_tchars(real_tty, p); in tty_mode_ioctl() 798 return get_ltchars(real_tty, p); in tty_mode_ioctl() 800 return set_ltchars(real_tty, p); in tty_mode_ioctl() 803 return set_termios(real_tty, p, TERMIOS_FLUSH | TERMIOS_WAIT | TERMIOS_OLD); in tty_mode_ioctl() [all …]
|
H A D | tty.h | 87 long tty_jobctrl_ioctl(struct tty_struct *tty, struct tty_struct *real_tty,
|
H A D | tty_io.c | 2682 struct tty_struct *real_tty; in tty_ioctl() local 2690 real_tty = tty_pair_get_tty(tty); in tty_ioctl() 2719 return tiocgwinsz(real_tty, p); in tty_ioctl() 2721 return tiocswinsz(real_tty, p); in tty_ioctl() 2723 return real_tty != tty ? -EINVAL : tioccons(file); in tty_ioctl() 2747 unsigned int ret = new_encode_dev(tty_devnum(real_tty)); in tty_ioctl() 2798 retval = tty_jobctrl_ioctl(tty, real_tty, file, cmd, arg); in tty_ioctl()
|