Lines Matching refs:lwp_tty
49 static void tty_rel_free(struct lwp_tty *tp);
102 static int tty_watermarks(struct lwp_tty *tp) in tty_watermarks()
133 static int tty_drain(struct lwp_tty *tp, int leaving) in tty_drain()
198 rt_inline int ttydev_enter(struct lwp_tty *tp) in ttydev_enter()
214 static void ttydev_leave(struct lwp_tty *tp) in ttydev_leave()
258 static int ttydev_open(struct lwp_tty *tp, int oflags, int devtype, in ttydev_open()
373 static int ttydev_close(struct lwp_tty *tp, int fflag, int devtype __unused, in ttydev_close()
414 int tty_wait_background(struct lwp_tty *tp, struct rt_thread *td, int sig) in tty_wait_background()
498 static int ttydev_read(struct lwp_tty *tp, struct uio *uio, int ioflag) in ttydev_read()
518 static int ttydev_write(struct lwp_tty *tp, struct uio *uio, int ioflag) in ttydev_write()
568 static int ttydev_ioctl(struct lwp_tty *tp, rt_ubase_t cmd, rt_caddr_t data, int fflag, in ttydev_ioctl()
657 static int ttydev_poll(struct lwp_tty *tp, rt_pollreq_t *req, struct rt_thread *td) in ttydev_poll()
727 static int ttydevsw_defopen(struct lwp_tty *tp __unused) in ttydevsw_defopen()
732 static void ttydevsw_defclose(struct lwp_tty *tp __unused) in ttydevsw_defclose()
736 static void ttydevsw_defoutwakeup(struct lwp_tty *tp __unused) in ttydevsw_defoutwakeup()
741 static void ttydevsw_definwakeup(struct lwp_tty *tp __unused) in ttydevsw_definwakeup()
745 static int ttydevsw_defioctl(struct lwp_tty *tp __unused, rt_ubase_t cmd __unused, in ttydevsw_defioctl()
752 static int ttydevsw_defcioctl(struct lwp_tty *tp __unused, int unit __unused, in ttydevsw_defcioctl()
759 static int ttydevsw_defparam(struct lwp_tty *tp __unused, struct termios *t) in ttydevsw_defparam()
779 static int ttydevsw_defmodem(struct lwp_tty *tp __unused, int sigon __unused, in ttydevsw_defmodem()
786 static int ttydevsw_defmmap(struct lwp_tty *tp __unused, in ttydevsw_defmmap()
794 static void ttydevsw_defpktnotify(struct lwp_tty *tp __unused, in ttydevsw_defpktnotify()
804 static rt_bool_t ttydevsw_defbusy(struct lwp_tty *tp __unused) in ttydevsw_defbusy()
835 static void tty_rel_free(struct lwp_tty *tp) in tty_rel_free()
878 void tty_rel_pgrp(struct lwp_tty *tp, struct rt_processgroup *pg) in tty_rel_pgrp()
889 void tty_rel_sess(struct lwp_tty *tp, struct rt_session *sess) in tty_rel_sess()
904 void tty_rel_gone(struct lwp_tty *tp) in tty_rel_gone()
921 static int tty_drop_ctty(struct lwp_tty *tp, struct rt_lwp *p) in tty_drop_ctty()
995 void tty_wakeup(struct lwp_tty *tp, int flags) in tty_wakeup()
1024 int tty_wait(struct lwp_tty *tp, struct rt_condvar *cv) in tty_wait()
1045 int tty_timedwait(struct lwp_tty *tp, struct rt_condvar *cv, rt_tick_t timeout) in tty_timedwait()
1067 void tty_flush(struct lwp_tty *tp, int flags) in tty_flush()
1093 void tty_set_winsize(struct lwp_tty *tp, const struct winsize *wsz) in tty_set_winsize()
1101 static int tty_generic_ioctl(struct lwp_tty *tp, rt_ubase_t cmd, void *data, in tty_generic_ioctl()
1383 int tty_ioctl(struct lwp_tty *tp, rt_ubase_t cmd, void *data, int fflag, in tty_ioctl()
1400 int tty_checkoutq(struct lwp_tty *tp) in tty_checkoutq()
1406 void tty_hiwat_in_block(struct lwp_tty *tp) in tty_hiwat_in_block()
1426 void tty_hiwat_in_unblock(struct lwp_tty *tp) in tty_hiwat_in_unblock()