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_unlock(struct tty *tp) in tty_unlock()
308 ttyopen(dev_t device, struct tty *tp) in ttyopen()
338 ttyclose(struct tty *tp) in ttyclose()
343 struct tty *freetp = TTY_NULL; in ttyclose()
425 ttyinput(int c, struct tty *tp) in ttyinput()
823 ttyoutput(int c, struct tty *tp) in ttyoutput()
931 ttioctl(struct tty *tp, u_long cmd, caddr_t data, int flag, proc_t p) in ttioctl()
1001 ttioctl_locked(struct tty *tp, u_long cmd, caddr_t data, int flag, proc_t p) in ttioctl_locked()
1008 struct tty *oldtp, *freetp; in ttioctl_locked()
1531 ttyselect(struct tty *tp, int rw, void *wql, proc_t p) in ttyselect()
1599 struct tty *tp = cdevsw[major(dev)].d_ttys[minor(dev)]; in ttselect()
1613 ttnread(struct tty *tp) in ttnread()
1652 ttywait(struct tty *tp) in ttywait()
1690 ttystop(struct tty *tp, int rw) in ttystop()
1703 ttywflush(struct tty *tp) in ttywflush()
1721 ttyflush(struct tty *tp, int rw) in ttyflush()
1807 ttyblock(struct tty *tp) in ttyblock()
1828 ttyunblock(struct tty *tp) in ttyunblock()
1858 ttstart(struct tty *tp) in ttstart()
1878 ttylclose(struct tty *tp, int flag) in ttylclose()
1900 ttymodem(struct tty *tp, int flag) in ttymodem()
1962 ttypend(struct tty *tp) in ttypend()
1989 ttread(struct tty *tp, struct uio *uio, int flag) in ttread()
2315 ttycheckoutq(struct tty *tp, int wait) in ttycheckoutq()
2352 ttwrite(struct tty *tp, struct uio *uio, int flag) in ttwrite()
2568 ttyrub(int c, struct tty *tp) in ttyrub()
2660 ttyrubo(struct tty *tp, int count) in ttyrubo()
2680 ttyretype(struct tty *tp) in ttyretype()
2718 ttyecho(int c, struct tty *tp) in ttyecho()
2761 ttwakeup(struct tty *tp) in ttwakeup()
2790 ttwwakeup(struct tty *tp) in ttwwakeup()
2839 ttsetwater(struct tty *tp) in ttsetwater()
2874 ttyinfo_locked(struct tty *tp) in ttyinfo_locked()
3079 tputchar(int c, struct tty *tp) in tputchar()
3125 ttysleep(struct tty *tp, void *chan, int pri, const char *wmesg, int timo) in ttysleep()
3157 struct tty *
3160 struct tty *tp; in ttymalloc()
3162 tp = kalloc_type(struct tty, Z_WAITOK | Z_ZERO | Z_NOFAIL); in ttymalloc()
3179 ttyhold(struct tty *tp) in ttyhold()
3189 ttyfree(struct tty *tp) in ttyfree()
3205 ttydeallocate(struct tty *tp) in ttydeallocate()
3219 kfree_type(struct tty, tp); in ttydeallocate()
3227 isbackground(proc_t p, struct tty *tp) in isbackground()
3247 isctty(proc_t p, struct tty *tp) in isctty()
3261 isctty_sp(proc_t p, struct tty *tp, struct session *sessp) in isctty_sp()
3287 filt_tty_common(struct knote *kn, struct kevent_qos_s *kev, struct tty *tp) in filt_tty_common()
3341 static struct tty *
3355 return __container_of(wq, struct tty, t_rsel.si_waitq); in tty_from_waitq()
3357 return __container_of(wq, struct tty, t_wsel.si_waitq); in tty_from_waitq()
3363 static struct tty *
3366 return (struct tty *)kn->kn_hook; in tty_from_knote()
3399 struct tty *tp; in filt_ttyattach()
3430 struct tty *tp = tty_from_knote(kn); in filt_ttydetach()
3453 struct tty *tp = tty_from_knote(kn); in filt_ttyevent()
3471 struct tty *tp = tty_from_knote(kn); in filt_ttytouch()
3491 struct tty *tp = tty_from_knote(kn); in filt_ttyprocess()