Lines Matching refs:tty

122 __private_extern__ int ttnread(struct tty *tp);
123 static void ttyecho(int c, struct tty *tp);
124 static int ttyoutput(int c, struct tty *tp);
125 static void ttypend(struct tty *tp);
126 static void ttyretype(struct tty *tp);
127 static void ttyrub(int c, struct tty *tp);
128 static void ttyrubo(struct tty *tp, int count);
129 static void ttystop(struct tty *tp, int rw);
130 static void ttyunblock(struct tty *tp);
131 static int ttywflush(struct tty *tp);
134 void ttyhold(struct tty *tp);
135 static void ttydeallocate(struct tty *tp);
137 static bool isbackground(proc_t p, struct tty *tp);
138 static bool isctty(proc_t p, struct tty *tp);
139 static bool isctty_sp(proc_t p, struct tty *tp, struct session *sessp);
275 tty_lock(struct tty *tp) in tty_lock()
294 tty_trylock(struct tty *tp) in tty_trylock()
311 tty_islocked(struct tty *tp) in tty_islocked()
330 tty_unlock(struct tty *tp) in tty_unlock()
346 ttyopen(dev_t device, struct tty *tp) in ttyopen()
376 ttyclose(struct tty *tp) in ttyclose()
380 struct tty *freetp = TTY_NULL; in ttyclose()
381 struct tty *constty = TTY_NULL; in ttyclose()
486 ttyinput(int c, struct tty *tp) in ttyinput()
884 ttyoutput(int c, struct tty *tp) in ttyoutput()
992 ttioctl(struct tty *tp, u_long cmd, caddr_t data, int flag, proc_t p) in ttioctl()
1062 ttioctl_locked(struct tty *tp, u_long cmd, caddr_t data, int flag, proc_t p) in ttioctl_locked()
1069 struct tty *oldtp, *freetp; in ttioctl_locked()
1172 struct tty *constty = NULL; in ttioctl_locked()
1642 ttyselect(struct tty *tp, int rw, void *wql, proc_t p) in ttyselect()
1710 struct tty *tp = cdevsw[major(dev)].d_ttys[minor(dev)]; in ttselect()
1724 ttnread(struct tty *tp) in ttnread()
1763 ttywait(struct tty *tp) in ttywait()
1801 ttystop(struct tty *tp, int rw) in ttystop()
1814 ttywflush(struct tty *tp) in ttywflush()
1832 ttyflush(struct tty *tp, int rw) in ttyflush()
1918 ttyblock(struct tty *tp) in ttyblock()
1939 ttyunblock(struct tty *tp) in ttyunblock()
1969 ttstart(struct tty *tp) in ttstart()
1989 ttylclose(struct tty *tp, int flag) in ttylclose()
2011 ttymodem(struct tty *tp, int flag) in ttymodem()
2073 ttypend(struct tty *tp) in ttypend()
2100 ttread(struct tty *tp, struct uio *uio, int flag) in ttread()
2426 ttycheckoutq(struct tty *tp, int wait) in ttycheckoutq()
2463 ttwrite(struct tty *tp, struct uio *uio, int flag) in ttwrite()
2679 ttyrub(int c, struct tty *tp) in ttyrub()
2771 ttyrubo(struct tty *tp, int count) in ttyrubo()
2791 ttyretype(struct tty *tp) in ttyretype()
2829 ttyecho(int c, struct tty *tp) in ttyecho()
2872 ttwakeup(struct tty *tp) in ttwakeup()
2901 ttwwakeup(struct tty *tp) in ttwwakeup()
2950 ttsetwater(struct tty *tp) in ttsetwater()
2985 ttyinfo_locked(struct tty *tp) in ttyinfo_locked()
3186 tputchar(int c, struct tty *tp) in tputchar()
3232 ttysleep(struct tty *tp, void *chan, int pri, const char *wmesg, int timo) in ttysleep()
3264 struct tty *
3267 struct tty *tp; in ttymalloc()
3269 tp = kalloc_type(struct tty, Z_WAITOK | Z_ZERO | Z_NOFAIL); in ttymalloc()
3286 ttyhold(struct tty *tp) in ttyhold()
3297 ttyfree(struct tty *tp) in ttyfree()
3312 ttyfree_locked(struct tty *tp) in ttyfree_locked()
3326 ttydeallocate(struct tty *tp) in ttydeallocate()
3340 kfree_type(struct tty, tp); in ttydeallocate()
3348 isbackground(proc_t p, struct tty *tp) in isbackground()
3369 isctty(proc_t p, struct tty *tp) in isctty()
3383 isctty_sp(proc_t p, struct tty *tp, struct session *sessp) in isctty_sp()
3409 filt_tty_common(struct knote *kn, struct kevent_qos_s *kev, struct tty *tp) in filt_tty_common()
3463 static struct tty *
3477 return __container_of(wq, struct tty, t_rsel.si_waitq); in tty_from_waitq()
3479 return __container_of(wq, struct tty, t_wsel.si_waitq); in tty_from_waitq()
3485 static struct tty *
3488 return (struct tty *)knote_kn_hook_get_raw(kn); in tty_from_knote()
3521 struct tty *tp; in filt_ttyattach()
3552 struct tty *tp = tty_from_knote(kn); in filt_ttydetach()
3580 struct tty *tp = tty_from_knote(kn); in filt_ttyevent()
3598 struct tty *tp = tty_from_knote(kn); in filt_ttytouch()
3618 struct tty *tp = tty_from_knote(kn); in filt_ttyprocess()