Searched refs:snp_tty (Results 1 – 2 of 2) sorted by relevance
107 struct tty *snp_tty; /* (r) TTY we're snooping. */ member119 tp = ss->snp_tty; in snp_dtor()162 tp = ss->snp_tty; in snp_read()202 tp = ss->snp_tty; in snp_write()251 if (ss->snp_tty != NULL) { in snp_ioctl()258 error = ttyhook_register(&ss->snp_tty, td->td_proc, in snp_ioctl()265 tp = ss->snp_tty; in snp_ioctl()273 if (ss->snp_tty == NULL) in snp_ioctl()276 *(dev_t *)data = tty_udev(ss->snp_tty); in snp_ioctl()279 tp = ss->snp_tty; in snp_ioctl()[all …]
217 int snp_tty; in attach_snp() local219 snp_tty = open(dev_name, O_RDONLY | O_NONBLOCK); in attach_snp()220 if (snp_tty < 0) in attach_snp()222 if (ioctl(snp_io, SNPSTTY, &snp_tty) != 0) in attach_snp()224 close(snp_tty); in attach_snp()