Lines Matching refs:tty
75 static void tty_rel_free(struct tty *tp);
77 static TAILQ_HEAD(, tty) tty_list = TAILQ_HEAD_INITIALIZER(tty_list);
124 tty_watermarks(struct tty *tp) in tty_watermarks()
152 tty_drain(struct tty *tp, int leaving) in tty_drain()
214 ttydev_enter(struct tty *tp) in ttydev_enter()
229 ttydev_leave(struct tty *tp) in ttydev_leave()
272 struct tty *tp; in ttydev_open()
372 struct tty *tp = dev->si_drv1; in ttydev_close()
413 tty_is_ctty(struct tty *tp, struct proc *p) in tty_is_ctty()
422 tty_wait_background(struct tty *tp, struct thread *td, int sig) in tty_wait_background()
504 struct tty *tp = dev->si_drv1; in ttydev_read()
525 struct tty *tp = dev->si_drv1; in ttydev_write()
565 struct tty *tp = dev->si_drv1; in ttydev_ioctl()
650 struct tty *tp = dev->si_drv1; in ttydev_poll()
688 struct tty *tp = dev->si_drv1; in ttydev_mmap()
709 struct tty *tp = kn->kn_hook; in tty_kqops_read_detach()
717 struct tty *tp = kn->kn_hook; in tty_kqops_read_event()
733 struct tty *tp = kn->kn_hook; in tty_kqops_write_detach()
741 struct tty *tp = kn->kn_hook; in tty_kqops_write_event()
769 struct tty *tp = dev->si_drv1; in ttydev_kqfilter()
818 struct tty *tp; in ttyil_open()
851 struct tty *tp = dev->si_drv1; in ttyil_ioctl()
903 tty_init_termios(struct tty *tp) in tty_init_termios()
919 tty_init_console(struct tty *tp, speed_t s) in tty_init_console()
940 ttydevsw_defopen(struct tty *tp __unused) in ttydevsw_defopen()
947 ttydevsw_defclose(struct tty *tp __unused) in ttydevsw_defclose()
953 ttydevsw_defoutwakeup(struct tty *tp __unused) in ttydevsw_defoutwakeup()
960 ttydevsw_definwakeup(struct tty *tp __unused) in ttydevsw_definwakeup()
966 ttydevsw_defioctl(struct tty *tp __unused, u_long cmd __unused, in ttydevsw_defioctl()
974 ttydevsw_defcioctl(struct tty *tp __unused, int unit __unused, in ttydevsw_defcioctl()
982 ttydevsw_defparam(struct tty *tp __unused, struct termios *t) in ttydevsw_defparam()
1004 ttydevsw_defmodem(struct tty *tp __unused, int sigon __unused, in ttydevsw_defmodem()
1013 ttydevsw_defmmap(struct tty *tp __unused, vm_ooffset_t offset __unused, in ttydevsw_defmmap()
1022 ttydevsw_defpktnotify(struct tty *tp __unused, char event __unused) in ttydevsw_defpktnotify()
1035 ttydevsw_defbusy(struct tty *tp __unused) in ttydevsw_defbusy()
1047 struct tty *
1054 struct tty *
1057 struct tty *tp; in tty_alloc_mutex()
1078 tp = malloc(sizeof(struct tty) + TTY_PRBUF_SIZE, M_TTY, in tty_alloc_mutex()
1111 struct tty *tp = arg; in tty_dealloc()
1142 tty_rel_free(struct tty *tp) in tty_rel_free()
1173 tty_rel_pgrp(struct tty *tp, struct pgrp *pg) in tty_rel_pgrp()
1186 tty_rel_sess(struct tty *tp, struct session *sess) in tty_rel_sess()
1201 tty_rel_gone(struct tty *tp) in tty_rel_gone()
1220 tty_drop_ctty(struct tty *tp, struct proc *p) in tty_drop_ctty()
1289 tty_to_xtty(struct tty *tp, struct xtty *xt) in tty_to_xtty()
1316 struct tty *tp; in sysctl_kern_ttys()
1367 tty_makedevf(struct tty *tp, struct ucred *cred, int flags, in tty_makedevf()
1499 tty_signal_sessleader(struct tty *tp, int sig) in tty_signal_sessleader()
1526 tty_signal_pgrp(struct tty *tp, int sig) in tty_signal_pgrp()
1550 tty_wakeup(struct tty *tp, int flags) in tty_wakeup()
1569 tty_wait(struct tty *tp, struct cv *cv) in tty_wait()
1591 tty_timedwait(struct tty *tp, struct cv *cv, int hz) in tty_timedwait()
1613 tty_flush(struct tty *tp, int flags) in tty_flush()
1637 tty_set_winsize(struct tty *tp, const struct winsize *wsz) in tty_set_winsize()
1647 tty_generic_ioctl(struct tty *tp, u_long cmd, void *data, int fflag, in tty_generic_ioctl()
2009 tty_ioctl(struct tty *tp, u_long cmd, void *data, int fflag, struct thread *td) in tty_ioctl()
2026 tty_udev(struct tty *tp) in tty_udev()
2036 tty_checkoutq(struct tty *tp) in tty_checkoutq()
2044 tty_hiwat_in_block(struct tty *tp) in tty_hiwat_in_block()
2064 tty_hiwat_in_unblock(struct tty *tp) in tty_hiwat_in_unblock()
2091 ttyhook_defrint(struct tty *tp, char c, int flags) in ttyhook_defrint()
2101 ttyhook_register(struct tty **rtp, struct proc *p, int fd, struct ttyhook *th, in ttyhook_register()
2104 struct tty *tp; in ttyhook_register()
2186 ttyhook_unregister(struct tty *tp) in ttyhook_unregister()
2210 struct tty *tp; in ttyconsdev_open()
2269 SYSINIT(tty, SI_SUB_DRIVERS, SI_ORDER_FIRST, ttyconsdev_init, NULL);
2388 DB_SHOW_COMMAND(tty, db_show_tty) in DB_SHOW_COMMAND() argument
2390 struct tty *tp; in DB_SHOW_COMMAND()
2396 tp = (struct tty *)addr; in DB_SHOW_COMMAND()
2450 struct tty *tp; in DB_SHOW_ALL_COMMAND()