wchan_t
static wchan_t tadpmu, tadpmuev;
wchan_t wchan = NULL;
db_syncobj_owner(const struct syncobj *sobj, wchan_t wchan)
struct lwp *db_syncobj_owner(const struct syncobj *, wchan_t);
tpm_poll(struct tpm_softc *sc, uint8_t mask, int to, wchan_t chan)
tpm_waitfor(struct tpm_softc *sc, uint8_t bits, int tmo, wchan_t chan)
KASSERT(l->l_wchan == (wchan_t)cv);
static lwp_t *mutex_owner(wchan_t);
mutex_owner(wchan_t wchan)
static lwp_t *rw_owner(wchan_t);
rw_owner(wchan_t obj)
sleepq_enqueue(sleepq_t *sq, wchan_t wchan, const char *wmesg, syncobj_t *sobj,
sleepq_transfer(lwp_t *l, sleepq_t *from_sq, sleepq_t *sq, wchan_t wchan,
sleepq_wake(sleepq_t *sq, wchan_t wchan, u_int expected, kmutex_t *mp)
syncobj_noowner(wchan_t wchan)
tsleep(wchan_t ident, pri_t priority, const char *wmesg, int timo)
mtsleep(wchan_t ident, pri_t priority, const char *wmesg, int timo,
wakeup(wchan_t ident)
turnstile_lookup(wchan_t obj)
turnstile_exit(wchan_t obj)
turnstile_block(turnstile_t *ts, int q, wchan_t obj, syncobj_t *sobj)
tsleep(wchan_t ident, pri_t prio, const char *wmesg, int timo)
mtsleep(wchan_t ident, pri_t prio, const char *wmesg, int timo, kmutex_t *lock)
wakeup(wchan_t ident)
wchan_t id;
sleeper(wchan_t ident, int timo, bool kinterlock)
sleepq_wake(sleepq_t *sq, wchan_t wchan, u_int expected, kmutex_t *mp)
syncobj_noowner(wchan_t wc)
sleepq_enqueue(sleepq_t *sq, wchan_t wc, const char *wmsg, syncobj_t *sob,
wchan_t l_wchan; /* l: sleep address */
int tsleep(wchan_t, pri_t, const char *, int);
int mtsleep(wchan_t, pri_t, const char *, int, kmutex_t *);
void wakeup(wchan_t);
void sleepq_enqueue(sleepq_t *, wchan_t, const char *,
void sleepq_transfer(lwp_t *, sleepq_t *, sleepq_t *, wchan_t, const char *,
void sleepq_wake(sleepq_t *, wchan_t, u_int, kmutex_t *);
turnstile_t *turnstile_lookup(wchan_t);
void turnstile_exit(wchan_t);
void turnstile_block(turnstile_t *, int, wchan_t, const struct syncobj *);
sleeptab_lookup(sleeptab_t *st, wchan_t wchan, kmutex_t **mp)
sleepq_hashlock(wchan_t wchan)
wchan_t ts_obj; /* lock object */
struct lwp *(*sobj_owner)(wchan_t);
struct lwp *syncobj_noowner(wchan_t);