Searched refs:real_tty (Results 1 – 2 of 2) sorted by relevance
/drivers/tty/ |
D | tty_ioctl.c | 985 struct tty_struct *real_tty; in tty_mode_ioctl() local 994 real_tty = tty->link; in tty_mode_ioctl() 996 real_tty = tty; in tty_mode_ioctl() 1001 return get_sgttyb(real_tty, (struct sgttyb __user *) arg); in tty_mode_ioctl() 1004 return set_sgttyb(real_tty, (struct sgttyb __user *) arg); in tty_mode_ioctl() 1008 return get_tchars(real_tty, p); in tty_mode_ioctl() 1010 return set_tchars(real_tty, p); in tty_mode_ioctl() 1014 return get_ltchars(real_tty, p); in tty_mode_ioctl() 1016 return set_ltchars(real_tty, p); in tty_mode_ioctl() 1019 return set_termios(real_tty, p, TERMIOS_FLUSH | TERMIOS_WAIT | TERMIOS_OLD); in tty_mode_ioctl() [all …]
|
D | tty_io.c | 2456 static int tiocgpgrp(struct tty_struct *tty, struct tty_struct *real_tty, pid_t __user *p) in tiocgpgrp() argument 2464 if (tty == real_tty && current->signal->tty != real_tty) in tiocgpgrp() 2466 pid = tty_get_pgrp(real_tty); in tiocgpgrp() 2484 static int tiocspgrp(struct tty_struct *tty, struct tty_struct *real_tty, pid_t __user *p) in tiocspgrp() argument 2488 int retval = tty_check_change(real_tty); in tiocspgrp() 2496 (current->signal->tty != real_tty) || in tiocspgrp() 2497 (real_tty->session != task_session(current))) in tiocspgrp() 2513 put_pid(real_tty->pgrp); in tiocspgrp() 2514 real_tty->pgrp = get_pid(pgrp); in tiocspgrp() 2533 static int tiocgsid(struct tty_struct *tty, struct tty_struct *real_tty, pid_t __user *p) in tiocgsid() argument [all …]
|