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()
342 struct tty *freetp = TTY_NULL; in ttyclose()
426 ttyinput(int c, struct tty *tp) in ttyinput()
824 ttyoutput(int c, struct tty *tp) in ttyoutput()
932 ttioctl(struct tty *tp, u_long cmd, caddr_t data, int flag, proc_t p) in ttioctl()
1002 ttioctl_locked(struct tty *tp, u_long cmd, caddr_t data, int flag, proc_t p) in ttioctl_locked()
1009 struct tty *oldtp, *freetp; in ttioctl_locked()
1532 ttyselect(struct tty *tp, int rw, void *wql, proc_t p) in ttyselect()
1600 struct tty *tp = cdevsw[major(dev)].d_ttys[minor(dev)]; in ttselect()
1614 ttnread(struct tty *tp) in ttnread()
1653 ttywait(struct tty *tp) in ttywait()
1691 ttystop(struct tty *tp, int rw) in ttystop()
1704 ttywflush(struct tty *tp) in ttywflush()
1722 ttyflush(struct tty *tp, int rw) in ttyflush()
1808 ttyblock(struct tty *tp) in ttyblock()
1829 ttyunblock(struct tty *tp) in ttyunblock()
1859 ttstart(struct tty *tp) in ttstart()
1879 ttylclose(struct tty *tp, int flag) in ttylclose()
1901 ttymodem(struct tty *tp, int flag) in ttymodem()
1963 ttypend(struct tty *tp) in ttypend()
1990 ttread(struct tty *tp, struct uio *uio, int flag) in ttread()
2316 ttycheckoutq(struct tty *tp, int wait) in ttycheckoutq()
2353 ttwrite(struct tty *tp, struct uio *uio, int flag) in ttwrite()
2569 ttyrub(int c, struct tty *tp) in ttyrub()
2661 ttyrubo(struct tty *tp, int count) in ttyrubo()
2681 ttyretype(struct tty *tp) in ttyretype()
2719 ttyecho(int c, struct tty *tp) in ttyecho()
2762 ttwakeup(struct tty *tp) in ttwakeup()
2791 ttwwakeup(struct tty *tp) in ttwwakeup()
2840 ttsetwater(struct tty *tp) in ttsetwater()
2875 ttyinfo_locked(struct tty *tp) in ttyinfo_locked()
3076 tputchar(int c, struct tty *tp) in tputchar()
3122 ttysleep(struct tty *tp, void *chan, int pri, const char *wmesg, int timo) in ttysleep()
3154 struct tty *
3157 struct tty *tp; in ttymalloc()
3159 tp = kalloc_type(struct tty, Z_WAITOK | Z_ZERO | Z_NOFAIL); in ttymalloc()
3176 ttyhold(struct tty *tp) in ttyhold()
3186 ttyfree(struct tty *tp) in ttyfree()
3202 ttydeallocate(struct tty *tp) in ttydeallocate()
3216 kfree_type(struct tty, tp); in ttydeallocate()
3224 isbackground(proc_t p, struct tty *tp) in isbackground()
3245 isctty(proc_t p, struct tty *tp) in isctty()
3259 isctty_sp(proc_t p, struct tty *tp, struct session *sessp) in isctty_sp()
3285 filt_tty_common(struct knote *kn, struct kevent_qos_s *kev, struct tty *tp) in filt_tty_common()
3339 static struct tty *
3353 return __container_of(wq, struct tty, t_rsel.si_waitq); in tty_from_waitq()
3355 return __container_of(wq, struct tty, t_wsel.si_waitq); in tty_from_waitq()
3361 static struct tty *
3364 return (struct tty *)kn->kn_hook; in tty_from_knote()
3397 struct tty *tp; in filt_ttyattach()
3428 struct tty *tp = tty_from_knote(kn); in filt_ttydetach()
3456 struct tty *tp = tty_from_knote(kn); in filt_ttyevent()
3474 struct tty *tp = tty_from_knote(kn); in filt_ttytouch()
3494 struct tty *tp = tty_from_knote(kn); in filt_ttyprocess()