Symbol: wchan
bin/ps/extern.h
87
void wchan(const KINFO *, const struct varent *);
bin/ps/keyword.c
135
{"nwchan", "WCHAN", NULL, 0, lpvar, NULL, 8, LPOFF(wchan), KPTR, "lx", NULL},
bin/ps/keyword.c
200
{"wchan", "WCHAN", NULL, LJUST, wchan, NULL, WMESGLEN, 0, 0, NULL, NULL},
sys/dev/disk/isp/isp_freebsd.c
3506
void *wchan;
sys/dev/disk/isp/isp_freebsd.c
3635
ISP_GET_PC_ADDR(isp, chan, target_proc, wchan);
sys/dev/disk/isp/isp_freebsd.c
3695
lksleep(wchan, &isp->isp_lock, PUSER, "tsnooze", 0);
sys/dev/sound/midi/midi.c
105
int rchan, wchan;
sys/dev/sound/midi/midi.c
1175
m->wchan = 0;
sys/dev/sound/midi/midi.c
1265
m->wchan = 1;
sys/dev/sound/midi/midi.c
1267
retval = lksleep(&m->wchan, &m->qlock,
sys/dev/sound/midi/midi.c
1280
m->wchan = 0;
sys/dev/sound/midi/midi.c
403
if (!(m->rchan || m->wchan))
sys/dev/sound/midi/midi.c
410
if (m->wchan) {
sys/dev/sound/midi/midi.c
411
wakeup(&m->wchan);
sys/dev/sound/midi/midi.c
412
m->wchan = 0;
sys/dev/sound/midi/midi.c
598
if (m->wchan) {
sys/dev/sound/midi/midi.c
599
wakeup(&m->wchan);
sys/dev/sound/midi/midi.c
600
m->wchan = 0;
sys/dev/sound/midi/midi.c
656
m->wchan = 0;
sys/dev/sound/midi/midi.c
840
m->wchan = 1;
sys/dev/sound/midi/midi.c
842
retval = lksleep(&m->wchan, &m->qlock,
sys/dev/sound/midi/midi.c
856
m->wchan = 0;
sys/kern/subr_sleepqueue.c
115
sleepq_wclookup(const void *wchan)
sys/kern/subr_sleepqueue.c
120
sc = SLEEPQ_LOOKUP(wchan);
sys/kern/subr_sleepqueue.c
123
if (wc->wc_wchan == wchan)
sys/kern/subr_sleepqueue.c
177
sleepq_lock(const void *wchan)
sys/kern/subr_sleepqueue.c
182
sc = SLEEPQ_LOOKUP(wchan);
sys/kern/subr_sleepqueue.c
191
if (wc->wc_wchan == wchan) {
sys/kern/subr_sleepqueue.c
196
wc->wc_wchan = wchan;
sys/kern/subr_sleepqueue.c
222
sleepq_release(const void *wchan)
sys/kern/subr_sleepqueue.c
227
wc = sleepq_wclookup(wchan);
sys/kern/subr_sleepqueue.c
252
sleepq_add(const void *wchan, struct lock_object *lock, const char *wmesg,
sys/kern/subr_sleepqueue.c
264
wc = sleepq_wclookup(wchan);
sys/kern/subr_sleepqueue.c
276
tsleep_interlock(wchan, domain);
sys/kern/subr_sleepqueue.c
291
sleepq_set_timeout_sbt(const void *wchan, sbintime_t sbt, sbintime_t pr,
sys/kern/subr_sleepqueue.c
299
KKASSERT(wc && wc->wc_wchan == wchan);
sys/kern/subr_sleepqueue.c
309
sleepq_sleepcnt(const void *wchan, int queue)
sys/kern/subr_sleepqueue.c
313
wc = sleepq_wclookup(wchan);
sys/kern/subr_sleepqueue.c
387
sleepq_wait(const void *wchan, int pri)
sys/kern/subr_sleepqueue.c
395
KKASSERT(wc != NULL && wc->wc_wchan == wchan);
sys/kern/subr_sleepqueue.c
403
sleepq_wait_sig(const void *wchan, int pri)
sys/kern/subr_sleepqueue.c
412
KKASSERT(wc != NULL && wc->wc_wchan == wchan);
sys/kern/subr_sleepqueue.c
422
sleepq_timedwait(const void *wchan, int pri)
sys/kern/subr_sleepqueue.c
431
KKASSERT(wc != NULL && wc->wc_wchan == wchan);
sys/kern/subr_sleepqueue.c
441
sleepq_timedwait_sig(const void *wchan, int pri)
sys/kern/subr_sleepqueue.c
450
KKASSERT(wc != NULL && wc->wc_wchan == wchan);
sys/kern/subr_sleepqueue.c
467
sleepq_type(const void *wchan)
sys/kern/subr_sleepqueue.c
472
wc = sleepq_wclookup(wchan);
sys/kern/subr_sleepqueue.c
488
sleepq_signal(const void *wchan, int flags, int pri, int queue)
sys/kern/subr_sleepqueue.c
493
wakeup_domain_one(wchan, domain);
sys/kern/subr_sleepqueue.c
505
sleepq_broadcast(const void *wchan, int flags, int pri, int queue)
sys/kern/subr_sleepqueue.c
510
wakeup_domain(wchan, domain);
sys/kern/subr_sleepqueue.c
82
#define SLEEPQ_HASH(wchan) ((((uintptr_t)(wchan) >> 10) ^ \
sys/kern/subr_sleepqueue.c
83
((uintptr_t)(wchan) & SLEEPQ_HMASK)))
sys/kern/subr_sleepqueue.c
85
#define SLEEPQ_LOOKUP(wchan) &sleepq_chains[SLEEPQ_HASH(wchan)]
sys/libprop/prop_object_impl.h
271
const char *wchan;
sys/libprop/prop_object_impl.h
273
#define _PROP_POOL_INIT(pp, size, wchan) \
sys/libprop/prop_object_impl.h
274
MALLOC_DEFINE(M_##pp, wchan, wchan); \
sys/sys/sleepqueue.h
100
void sleepq_add(const void *wchan, struct lock_object *lock,
sys/sys/sleepqueue.h
102
int sleepq_broadcast(const void *wchan, int flags, int pri, int queue);
sys/sys/sleepqueue.h
103
void sleepq_lock(const void *wchan);
sys/sys/sleepqueue.h
104
void sleepq_release(const void *wchan);
sys/sys/sleepqueue.h
109
void sleepq_remove(struct thread *td, const void *wchan);
sys/sys/sleepqueue.h
114
int sleepq_signal(const void *wchan, int flags, int pri, int queue);
sys/sys/sleepqueue.h
115
void sleepq_set_timeout_sbt(const void *wchan, sbintime_t sbt,
sys/sys/sleepqueue.h
117
#define sleepq_set_timeout(wchan, timo) \
sys/sys/sleepqueue.h
118
sleepq_set_timeout_sbt((wchan), tick_sbt * (timo), 0, C_HARDCLOCK)
sys/sys/sleepqueue.h
119
u_int sleepq_sleepcnt(const void *wchan, int queue);
sys/sys/sleepqueue.h
120
int sleepq_timedwait(const void *wchan, int pri);
sys/sys/sleepqueue.h
121
int sleepq_timedwait_sig(const void *wchan, int pri);
sys/sys/sleepqueue.h
122
int sleepq_type(const void *wchan);
sys/sys/sleepqueue.h
123
void sleepq_wait(const void *wchan, int pri);
sys/sys/sleepqueue.h
124
int sleepq_wait_sig(const void *wchan, int pri);
sys/sys/sleepqueue.h
94
struct sleepqueue *sleepq_lookup(const void *wchan);