Lines Matching defs:tp
171 #define tty_lock(tp) mtx_lock((tp)->t_mtx) argument
172 #define tty_unlock(tp) mtx_unlock((tp)->t_mtx) argument
173 #define tty_lock_owned(tp) mtx_owned((tp)->t_mtx) argument
174 #define tty_assert_locked(tp) mtx_assert((tp)->t_mtx, MA_OWNED) argument
175 #define tty_getlock(tp) ((tp)->t_mtx) argument
178 #define tty_lock_assert(tp, ma) mtx_assert((tp)->t_mtx, (ma)) argument
184 #define tty_makedev(tp, cred, fmt, ...) \ argument
186 #define tty_makealias(tp,fmt,...) \ argument
213 #define tty_opened(tp) ((tp)->t_flags & TF_OPENED) argument
214 #define tty_gone(tp) ((tp)->t_flags & TF_GONE) argument
215 #define tty_softc(tp) ((tp)->t_devswsoftc) argument
216 #define tty_devname(tp) devtoname((tp)->t_dev) argument