Searched refs:real_tty (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/tty/ |
D | tty_jobctrl.c | 446 static int tiocgpgrp(struct tty_struct *tty, struct tty_struct *real_tty, pid_t __user *p) in tiocgpgrp() argument 454 if (tty == real_tty && current->signal->tty != real_tty) in tiocgpgrp() 456 pid = tty_get_pgrp(real_tty); in tiocgpgrp() 473 static int tiocspgrp(struct tty_struct *tty, struct tty_struct *real_tty, pid_t __user *p) in tiocspgrp() argument 477 int retval = tty_check_change(real_tty); in tiocspgrp() 489 spin_lock_irq(&real_tty->ctrl_lock); in tiocspgrp() 491 (current->signal->tty != real_tty) || in tiocspgrp() 492 (real_tty->session != task_session(current))) { in tiocspgrp() 505 put_pid(real_tty->pgrp); in tiocspgrp() 506 real_tty->pgrp = get_pid(pgrp); in tiocspgrp() [all …]
|
D | tty_ioctl.c | 666 struct tty_struct *real_tty; in tty_mode_ioctl() local 675 real_tty = tty->link; in tty_mode_ioctl() 677 real_tty = tty; in tty_mode_ioctl() 682 return get_sgttyb(real_tty, (struct sgttyb __user *) arg); in tty_mode_ioctl() 685 return set_sgttyb(real_tty, (struct sgttyb __user *) arg); in tty_mode_ioctl() 689 return get_tchars(real_tty, p); in tty_mode_ioctl() 691 return set_tchars(real_tty, p); in tty_mode_ioctl() 695 return get_ltchars(real_tty, p); in tty_mode_ioctl() 697 return set_ltchars(real_tty, p); in tty_mode_ioctl() 700 return set_termios(real_tty, p, TERMIOS_FLUSH | TERMIOS_WAIT | TERMIOS_OLD); in tty_mode_ioctl() [all …]
|
D | tty_io.c | 2623 struct tty_struct *real_tty; in tty_ioctl() local 2631 real_tty = tty_pair_get_tty(tty); in tty_ioctl() 2660 return tiocgwinsz(real_tty, p); in tty_ioctl() 2662 return tiocswinsz(real_tty, p); in tty_ioctl() 2664 return real_tty != tty ? -EINVAL : tioccons(file); in tty_ioctl() 2687 unsigned int ret = new_encode_dev(tty_devnum(real_tty)); in tty_ioctl() 2737 retval = tty_jobctrl_ioctl(tty, real_tty, file, cmd, arg); in tty_ioctl()
|
/kernel/linux/linux-5.10/include/linux/ |
D | tty.h | 560 extern long tty_jobctrl_ioctl(struct tty_struct *tty, struct tty_struct *real_tty,
|