Lines Matching defs:tp
94 #define TTY_CALLOUT(tp, d) (dev2unit(d) & TTYUNIT_CALLOUT) argument
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()
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()