Searched refs:t_mtxobj (Results 1 – 2 of 2) sorted by relevance
63 struct mtx t_mtxobj; /* Per-TTY lock (when not borrowing). */ member
1099 tp->t_mtx = &tp->t_mtxobj; in tty_alloc_mutex()1100 mtx_init(&tp->t_mtxobj, "ttymtx", NULL, MTX_DEF); in tty_alloc_mutex()1136 if (tp->t_mtx == &tp->t_mtxobj) in tty_dealloc()1137 mtx_destroy(&tp->t_mtxobj); in tty_dealloc()