Searched refs:t_locked_thread (Results 1 – 2 of 2) sorted by relevance
153 thread_t t_locked_thread; /* thread that owns the lock */ member
280 os_atomic_store(&tp->t_locked_thread, current_thread(), relaxed); in tty_lock()300 os_atomic_store(&tp->t_locked_thread, current_thread(), relaxed); in tty_trylock()313 thread_t owner = os_atomic_load(&tp->t_locked_thread, relaxed); in tty_islocked()333 os_atomic_store(&tp->t_locked_thread, NULL, relaxed); in tty_unlock()