Lines Matching refs:tty
76 static void tty_rel_free(struct tty *tp);
78 static TAILQ_HEAD(, tty) tty_list = TAILQ_HEAD_INITIALIZER(tty_list);
125 tty_watermarks(struct tty *tp) in tty_watermarks()
153 tty_drain(struct tty *tp, int leaving) in tty_drain()
215 ttydev_enter(struct tty *tp) in ttydev_enter()
230 ttydev_leave(struct tty *tp) in ttydev_leave()
276 struct tty *tp; in ttydev_open()
376 struct tty *tp = dev->si_drv1; in ttydev_close()
414 tty_is_ctty(struct tty *tp, struct proc *p) in tty_is_ctty()
423 tty_wait_background(struct tty *tp, struct thread *td, int sig) in tty_wait_background()
505 struct tty *tp = dev->si_drv1; in ttydev_read()
526 struct tty *tp = dev->si_drv1; in ttydev_write()
566 struct tty *tp = dev->si_drv1; in ttydev_ioctl()
651 struct tty *tp = dev->si_drv1; in ttydev_poll()
689 struct tty *tp = dev->si_drv1; in ttydev_mmap()
710 struct tty *tp = kn->kn_hook; in tty_kqops_read_detach()
718 struct tty *tp = kn->kn_hook; in tty_kqops_read_event()
734 struct tty *tp = kn->kn_hook; in tty_kqops_write_detach()
742 struct tty *tp = kn->kn_hook; in tty_kqops_write_event()
770 struct tty *tp = dev->si_drv1; in ttydev_kqfilter()
819 struct tty *tp; in ttyil_open()
852 struct tty *tp = dev->si_drv1; in ttyil_ioctl()
904 tty_init_termios(struct tty *tp) in tty_init_termios()
920 tty_init_console(struct tty *tp, speed_t s) in tty_init_console()
941 ttydevsw_defopen(struct tty *tp __unused) in ttydevsw_defopen()
948 ttydevsw_defclose(struct tty *tp __unused) in ttydevsw_defclose()
954 ttydevsw_defoutwakeup(struct tty *tp __unused) in ttydevsw_defoutwakeup()
961 ttydevsw_definwakeup(struct tty *tp __unused) in ttydevsw_definwakeup()
967 ttydevsw_defioctl(struct tty *tp __unused, u_long cmd __unused, in ttydevsw_defioctl()
975 ttydevsw_defcioctl(struct tty *tp __unused, int unit __unused, in ttydevsw_defcioctl()
983 ttydevsw_defparam(struct tty *tp __unused, struct termios *t) in ttydevsw_defparam()
1005 ttydevsw_defmodem(struct tty *tp __unused, int sigon __unused, in ttydevsw_defmodem()
1014 ttydevsw_defmmap(struct tty *tp __unused, vm_ooffset_t offset __unused, in ttydevsw_defmmap()
1023 ttydevsw_defpktnotify(struct tty *tp __unused, char event __unused) in ttydevsw_defpktnotify()
1036 ttydevsw_defbusy(struct tty *tp __unused) in ttydevsw_defbusy()
1048 struct tty *
1055 struct tty *
1058 struct tty *tp; in tty_alloc_mutex()
1079 tp = malloc(sizeof(struct tty) + TTY_PRBUF_SIZE, M_TTY, in tty_alloc_mutex()
1112 struct tty *tp = arg; in tty_dealloc()
1141 tty_rel_free(struct tty *tp) in tty_rel_free()
1172 tty_rel_pgrp(struct tty *tp, struct pgrp *pg) in tty_rel_pgrp()
1185 tty_rel_sess(struct tty *tp, struct session *sess) in tty_rel_sess()
1200 tty_rel_gone(struct tty *tp) in tty_rel_gone()
1219 tty_drop_ctty(struct tty *tp, struct proc *p) in tty_drop_ctty()
1288 tty_to_xtty(struct tty *tp, struct xtty *xt) in tty_to_xtty()
1313 struct tty *tp; in sysctl_kern_ttys()
1347 tty_makedevf(struct tty *tp, struct ucred *cred, int flags, in tty_makedevf()
1479 tty_signal_sessleader(struct tty *tp, int sig) in tty_signal_sessleader()
1506 tty_signal_pgrp(struct tty *tp, int sig) in tty_signal_pgrp()
1530 tty_wakeup(struct tty *tp, int flags) in tty_wakeup()
1549 tty_wait(struct tty *tp, struct cv *cv) in tty_wait()
1571 tty_timedwait(struct tty *tp, struct cv *cv, int hz) in tty_timedwait()
1593 tty_flush(struct tty *tp, int flags) in tty_flush()
1617 tty_set_winsize(struct tty *tp, const struct winsize *wsz) in tty_set_winsize()
1627 tty_generic_ioctl(struct tty *tp, u_long cmd, void *data, int fflag, in tty_generic_ioctl()
1973 tty_ioctl(struct tty *tp, u_long cmd, void *data, int fflag, struct thread *td) in tty_ioctl()
1990 tty_udev(struct tty *tp) in tty_udev()
2000 tty_checkoutq(struct tty *tp) in tty_checkoutq()
2008 tty_hiwat_in_block(struct tty *tp) in tty_hiwat_in_block()
2028 tty_hiwat_in_unblock(struct tty *tp) in tty_hiwat_in_unblock()
2055 ttyhook_defrint(struct tty *tp, char c, int flags) in ttyhook_defrint()
2065 ttyhook_register(struct tty **rtp, struct proc *p, int fd, struct ttyhook *th, in ttyhook_register()
2068 struct tty *tp; in ttyhook_register()
2141 ttyhook_unregister(struct tty *tp) in ttyhook_unregister()
2165 struct tty *tp; in ttyconsdev_open()
2224 SYSINIT(tty, SI_SUB_DRIVERS, SI_ORDER_FIRST, ttyconsdev_init, NULL);
2343 DB_SHOW_COMMAND(tty, db_show_tty) in DB_SHOW_COMMAND() argument
2345 struct tty *tp; in DB_SHOW_COMMAND()
2351 tp = (struct tty *)addr; in DB_SHOW_COMMAND()
2405 struct tty *tp; in DB_SHOW_ALL_COMMAND()