Searched refs:this_tty (Results 1 – 2 of 2) sorted by relevance
57 static struct tty_struct *this_tty; variable79 if (this_tty == NULL) { in n_tracesink_open()80 this_tty = tty_kref_get(tty); in n_tracesink_open()81 if (this_tty == NULL) { in n_tracesink_open()84 tty->disc_data = this_tty; in n_tracesink_open()104 tty_kref_put(this_tty); in n_tracesink_close()105 this_tty = NULL; in n_tracesink_close()175 if ((buf != NULL) && (count > 0) && (this_tty != NULL)) in n_tracesink_datadrain()176 this_tty->ops->write(this_tty, buf, count); in n_tracesink_datadrain()
3017 static int this_tty(const void *t, struct file *file, unsigned fd) in this_tty() function3080 i = iterate_fd(p->files, 0, this_tty, tty); in __do_SAK()