Searched refs:this_tty (Results 1 – 2 of 2) sorted by relevance
47 static struct tty_struct *this_tty; variable69 if (this_tty == NULL) { in n_tracesink_open()70 this_tty = tty_kref_get(tty); in n_tracesink_open()71 if (this_tty == NULL) { in n_tracesink_open()74 tty->disc_data = this_tty; in n_tracesink_open()94 tty_kref_put(this_tty); in n_tracesink_close()95 this_tty = NULL; in n_tracesink_close()167 if ((buf != NULL) && (count > 0) && (this_tty != NULL)) in n_tracesink_datadrain()168 this_tty->ops->write(this_tty, buf, count); in n_tracesink_datadrain()
2952 static int this_tty(const void *t, struct file *file, unsigned fd) in this_tty() function3016 i = iterate_fd(p->files, 0, this_tty, tty); in __do_SAK()