Lines Matching defs:index
364 int idx = tty->index;
448 driver->ttys[tty->index] = NULL;
450 pair->driver->ttys[pair->index] = NULL;
655 return put_user(tty->index, (unsigned int __user *)arg);
682 * @idx: tty index
699 * @idx: tty index
735 devpts_kill_index(fsi, tty->index);
742 seq_printf(m, "tty-index:\t%d\n", tty->index);
796 int index;
815 index = devpts_new_index(fsi);
818 retval = index;
819 if (index < 0)
824 tty = tty_init_dev(ptm_driver, index);
834 * From here on out, the tty is "live", and the index and
842 dentry = devpts_pty_new(fsi, index, tty->link);
863 devpts_kill_index(fsi, index);