Lines Matching refs:tp
156 #define ttyhook_hashook(tp, hook) \ argument
157 ((tp)->t_hook != NULL && (tp)->t_hook->th_##hook != NULL)
159 #define ttyhook_hashook(tp, hook) (RT_FALSE) argument
201 typedef int d_open_t(struct lwp_tty *tp, int oflags, int devtype,
203 typedef int d_fdopen_t(struct lwp_tty *tp, int oflags, struct rt_thread *td,
205 typedef int d_close_t(struct lwp_tty *tp, int fflag, int devtype,
212 typedef int d_ioctl_t(struct lwp_tty *tp, rt_ubase_t cmd, rt_caddr_t data,
215 typedef int d_read_t(struct lwp_tty *tp, struct uio *uio, int ioflag);
216 typedef int d_write_t(struct lwp_tty *tp, struct uio *uio, int ioflag);
217 typedef int d_poll_t(struct lwp_tty *tp, rt_pollreq_t *req,
221 typedef int d_kqfilter_t(struct lwp_tty *tp, struct knote *kn);
224 typedef int d_mmap_t(struct lwp_tty *tp, vm_ooffset_t offset, vm_paddr_t *paddr,
233 typedef void d_purge_t(struct lwp_tty *tp);
335 rt_inline int constty_clear(struct lwp_tty *tp) in constty_clear() argument
341 rt_inline int constty_set(struct lwp_tty *tp) in constty_set() argument
667 typedef int fo_rdwr_t(struct lwp_tty *tp, struct uio *uio,
670 typedef int fo_truncate_t(struct lwp_tty *tp, off_t length,
672 typedef int fo_ioctl_t(struct lwp_tty *tp, rt_ubase_t com, void *data,
674 typedef int fo_poll_t(struct lwp_tty *tp, struct rt_pollreq *rq, struct ucred *active_cred,
676 typedef int fo_stat_t(struct lwp_tty *tp, struct stat *sb,
678 typedef int fo_close_t(struct lwp_tty *tp, struct rt_thread *td);