Home
last modified time | relevance | path

Searched refs:t_hook (Results 1 – 3 of 3) sorted by relevance

/f-stack/freebsd/sys/
H A Dttyhook.h75 #define ttyhook_hashook(tp,hook) ((tp)->t_hook != NULL && \
76 (tp)->t_hook->th_ ## hook != NULL)
84 return tp->t_hook->th_rint(tp, c, flags); in ttyhook_rint()
93 return tp->t_hook->th_rint_bypass(tp, buf, len); in ttyhook_rint_bypass()
102 tp->t_hook->th_rint_done(tp); in ttyhook_rint_done()
111 return tp->t_hook->th_rint_poll(tp); in ttyhook_rint_poll()
120 return tp->t_hook->th_getc_inject(tp, buf, len); in ttyhook_getc_inject()
129 tp->t_hook->th_getc_capture(tp, buf, len); in ttyhook_getc_capture()
138 return tp->t_hook->th_getc_poll(tp); in ttyhook_getc_poll()
146 tp->t_hook->th_close(tp); in ttyhook_close()
H A Dtty.h125 struct ttyhook *t_hook; /* (t) Capture/inject hook. */ member
/f-stack/freebsd/kern/
H A Dtty.c2129 MPASS((tp->t_hook == NULL) == ((tp->t_flags & TF_HOOK) == 0)); in ttyhook_register()
2134 tp->t_hook = th; in ttyhook_register()
2161 tp->t_hook = NULL; in ttyhook_unregister()
2396 _db_show_hooks("\t", tp->t_hook); in DB_SHOW_COMMAND()