Searched refs:tty (Results 1 – 4 of 4) sorted by relevance
/fs/devpts/ |
D | inode.c | 567 int devpts_pty_new(struct inode *ptmx_inode, struct tty_struct *tty) in devpts_pty_new() argument 570 int number = tty->index; in devpts_pty_new() 571 struct tty_driver *driver = tty->driver; in devpts_pty_new() 593 inode->i_private = tty; in devpts_pty_new() 594 tty->driver_data = inode; in devpts_pty_new() 620 void devpts_pty_kill(struct tty_struct *tty) in devpts_pty_kill() argument 622 struct inode *inode = tty->driver_data; in devpts_pty_kill()
|
/fs/proc/ |
D | array.c | 384 if (sig->tty) { in do_task_stat() 385 struct pid *pgrp = tty_get_pgrp(sig->tty); in do_task_stat() 388 tty_nr = new_encode_dev(tty_devnum(sig->tty)); in do_task_stat()
|
/fs/ |
D | dquot.c | 959 struct tty_struct *tty; in print_warning() local 967 tty = get_current_tty(); in print_warning() 968 if (!tty) in print_warning() 970 tty_write_message(tty, dquot->dq_sb->s_id); in print_warning() 972 tty_write_message(tty, ": warning, "); in print_warning() 974 tty_write_message(tty, ": write failed, "); in print_warning() 975 tty_write_message(tty, quotatypes[dquot->dq_type]); in print_warning() 996 tty_write_message(tty, msg); in print_warning() 997 tty_kref_put(tty); in print_warning()
|
D | compat_ioctl.c | 1046 struct tty_struct *tty; in vt_check() local 1053 tty = (struct tty_struct *)file->private_data; in vt_check() 1054 if (tty_paranoia_check(tty, inode, "tty_ioctl")) in vt_check() 1057 if (tty->ops->ioctl != vt_ioctl) in vt_check() 1060 vc = (struct vc_data *)tty->driver_data; in vt_check() 1068 if (current->signal->tty == tty || capable(CAP_SYS_TTY_CONFIG)) in vt_check()
|