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