/freebsd-9.3-release/sys/sys/ |
H A D | sleepqueue.h | 98 void sleepq_add(void *wchan, struct lock_object *lock, const char *wmesg, 101 int sleepq_broadcast(void *wchan, int flags, int pri, int queue); 103 void sleepq_lock(void *wchan); 104 struct sleepqueue *sleepq_lookup(void *wchan); 105 void sleepq_release(void *wchan); 106 void sleepq_remove(struct thread *td, void *wchan); 107 int sleepq_signal(void *wchan, int flags, int pri, int queue); 108 void sleepq_set_timeout(void *wchan, int timo); 109 u_int sleepq_sleepcnt(void *wchan, int queue); 110 int sleepq_timedwait(void *wchan, in [all...] |
H A D | bio.h | 137 int biowait(struct bio *bp, const char *wchan);
|
/freebsd-9.3-release/lib/libthr/thread/ |
H A D | thr_sleepq.c | 34 #define SC_HASH(wchan) ((unsigned) \ 35 ((((uintptr_t)(wchan) >> 3) \ 36 ^ ((uintptr_t)(wchan) >> (HASHSHIFT + 3))) \ 77 _sleepq_lock(void *wchan) argument 82 sc = SC_LOOKUP(wchan); 87 _sleepq_unlock(void *wchan) argument 92 sc = SC_LOOKUP(wchan); 97 _sleepq_lookup(void *wchan) argument 102 sc = SC_LOOKUP(wchan); 104 if (sq->sq_wchan == wchan) 110 _sleepq_add(void *wchan, struct pthread *td) argument [all...] |
H A D | thr_cond.c | 221 if (curthread->wchan != NULL) 250 if (curthread->wchan == NULL) {
|
H A D | thr_private.h | 514 void *wchan; member in struct:pthread
|
/freebsd-9.3-release/sys/kern/ |
H A D | subr_sleepqueue.c | 156 static int sleepq_catch_signals(void *wchan, int pri); 165 static void sleepq_switch(void *wchan, int pri); 234 sleepq_lock(void *wchan) argument 238 sc = SC_LOOKUP(wchan); 248 sleepq_lookup(void *wchan) argument 253 KASSERT(wchan != NULL, ("%s: invalid NULL wait channel", __func__)); 254 sc = SC_LOOKUP(wchan); 257 if (sq->sq_wchan == wchan) 266 sleepq_release(void *wchan) argument 270 sc = SC_LOOKUP(wchan); 281 sleepq_add(void *wchan, struct lock_object *lock, const char *wmesg, int flags, int queue) argument 360 sleepq_set_timeout(void *wchan, int timo) argument 378 sleepq_sleepcnt(void *wchan, int queue) argument 397 sleepq_catch_signals(void *wchan, int pri) argument 490 sleepq_switch(void *wchan, int pri) argument 611 sleepq_wait(void *wchan, int pri) argument 627 sleepq_wait_sig(void *wchan, int pri) argument 645 sleepq_timedwait(void *wchan, int pri) argument 665 sleepq_timedwait_sig(void *wchan, int pri) argument 684 sleepq_type(void *wchan) argument 809 sleepq_signal(void *wchan, int flags, int pri, int queue) argument 846 sleepq_broadcast(void *wchan, int flags, int pri, int queue) argument 882 void *wchan; local 947 sleepq_remove(struct thread *td, void *wchan) argument 989 void *wchan; local 1178 void *wchan; local [all...] |
H A D | kern_clock.c | 189 void *wchan; local 260 wchan = td->td_wchan; 263 slptype = sleepq_type(wchan);
|
H A D | vfs_bio.c | 3679 biowait(struct bio *bp, const char *wchan) argument 3686 msleep(bp, mtxp, PRIBIO, wchan, hz / 10); 4434 bwait(struct buf *bp, u_char pri, const char *wchan) argument 4441 msleep(bp, mtxp, pri, wchan, 0);
|
/freebsd-9.3-release/contrib/amd/amd/ |
H A D | sched.c | 63 wchan_t wchan; /* Wait channel */ member in struct:pjob 126 p->wchan = (wchan_t) p; 157 sched_task(cb_fun *cf, opaque_t ca, wchan_t wchan) argument 164 dlog("SLEEP on %p", wchan); 165 p->wchan = wchan; 181 wakeup(wchan_t wchan) argument 195 if (p->wchan == wchan) { 203 wakeup_task(int rc, int term, wchan_t wchan) argument [all...] |
H A D | ops_nfs.c | 112 static int call_mountd(fh_cache *fp, u_long proc, fwd_fun f, wchan_t wchan); 113 static int webnfs_lookup(fh_cache *fp, fwd_fun f, wchan_t wchan); 527 call_mountd(fh_cache *fp, u_long proc, fwd_fun fun, wchan_t wchan) argument 543 error = get_mountd_port(fp->fh_fs, &mountd_port, wchan); 596 webnfs_lookup(fh_cache *fp, fwd_fun fun, wchan_t wchan) argument
|
H A D | srvr_nfs.c | 311 get_mountd_port(fserver *fs, u_short *port, wchan_t wchan) argument 337 if (error < 0 && wchan && !(fs->fs_flags & FSF_WANT)) { 348 sched_task(wakeup_task, wchan, (wchan_t) fs);
|
H A D | map.c | 823 wchan_t wchan = get_mntfs_wchan(mf); local 873 wakeup(wchan);
|
/freebsd-9.3-release/sys/ofed/include/linux/ |
H A D | wait.h | 42 unsigned int wchan; member in struct:__wait_queue_head 54 c = &q->wchan; 74 void *c = &(q).wchan; \ 90 void *c = &(q).wchan; \
|
/freebsd-9.3-release/sys/ddb/ |
H A D | db_ps.c | 69 * pid ppid pgrp uid state wmesg wchan cmd 70 * <pid> <ppi> <pgi> <uid> <stat> < wmesg > < wchan > <name> 72 * <tid > <stat> < wmesg > < wchan > <name> 74 * For machines with 64-bit pointers, we expand the wchan field 8 more 95 db_printf(" pid ppid pgrp uid state wmesg wchan cmd\n"); 97 db_printf(" pid ppid pgrp uid state wmesg wchan cmd\n"); 222 void *wchan; local 266 wchan = td->td_blocked; 269 wchan = td->td_wchan; 273 wchan [all...] |
/freebsd-9.3-release/bin/ps/ |
H A D | extern.h | 89 char *wchan(KINFO *, VARENT *);
|
H A D | keyword.c | 170 {"wchan", "WCHAN", NULL, LJUST, wchan, 0, CHAR, NULL, 0},
|
H A D | print.c | 482 wchan(KINFO *k, VARENT *ve) function
|
/freebsd-9.3-release/sys/dev/ppbus/ |
H A D | ppb_base.c | 237 ppb_sleep(device_t bus, void *wchan, int priority, const char *wmesg, int timo) argument 241 return (mtx_sleep(wchan, ppb->ppc_lock, priority, wmesg, timo));
|
/freebsd-9.3-release/sys/dev/sound/midi/ |
H A D | midi.c | 113 int rchan, wchan; member in struct:snd_midi 405 if (!(m->rchan || m->wchan)) 412 if (m->wchan) { 413 wakeup(&m->wchan); 414 m->wchan = 0; 600 if (m->wchan) { 601 wakeup(&m->wchan); 602 m->wchan = 0; 654 m->wchan = 0; 828 m->wchan [all...] |
/freebsd-9.3-release/sys/nlm/ |
H A D | nlm_prot_impl.c | 348 char *wchan = "nlmrcv"; local 539 CLNT_CONTROL(rpcb, CLSET_WAITCHAN, wchan); 549 CLNT_CONTROL(rpcb, CLSET_WAITCHAN, wchan);
|
/freebsd-9.3-release/sys/dev/isp/ |
H A D | isp_freebsd.c | 4091 void *wchan; local 4227 ISP_GET_PC_ADDR(isp, chan, target_proc, wchan); 4287 msleep(wchan, &isp->isp_lock, PUSER, "tsnooze", 0);
|