Lines Matching refs:tp
33 int tty_wait(struct lwp_tty *tp, struct rt_condvar *cv);
34 int tty_wait_background(struct lwp_tty *tp, struct rt_thread *td, int sig);
35 int tty_timedwait(struct lwp_tty *tp, struct rt_condvar *cv, rt_tick_t timeout);
36 void tty_wakeup(struct lwp_tty *tp, int flags);
38 void tty_info(struct lwp_tty *tp);
45 int lwp_tty_ioctl_adapter(lwp_tty_t tp, int cmd, int oflags, void *args, rt_thread_t td);
47 int lwp_tty_set_ctrl_proc(lwp_tty_t tp, rt_thread_t td);
48 int lwp_tty_assign_foreground(lwp_tty_t tp, rt_thread_t td, int pgid);
49 int lwp_tty_bg_stop(struct lwp_tty *tp, struct rt_condvar *cv);
60 rt_inline int tty_is_ctty(struct lwp_tty *tp, struct rt_lwp *p) in tty_is_ctty() argument
62 tty_assert_locked(tp); in tty_is_ctty()
64 return p->pgrp->session == tp->t_session && p->term_ctrlterm; in tty_is_ctty()