/freebsd-10.0-release/sys/sys/ |
H A D | sleepqueue.h | 99 void sleepq_add(void *wchan, struct lock_object *lock, const char *wmesg, 102 int sleepq_broadcast(void *wchan, int flags, int pri, int queue); 104 void sleepq_lock(void *wchan); 105 struct sleepqueue *sleepq_lookup(void *wchan); 106 void sleepq_release(void *wchan); 107 void sleepq_remove(struct thread *td, void *wchan); 108 int sleepq_signal(void *wchan, int flags, int pri, int queue); 109 void sleepq_set_timeout_sbt(void *wchan, sbintime_t sbt, 111 #define sleepq_set_timeout(wchan, timo) \ 112 sleepq_set_timeout_sbt((wchan), tick_sb [all...] |
H A D | bio.h | 139 int biowait(struct bio *bp, const char *wchan);
|
/freebsd-10.0-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))) \ 78 _sleepq_lock(void *wchan) argument 83 sc = SC_LOOKUP(wchan); 88 _sleepq_unlock(void *wchan) argument 93 sc = SC_LOOKUP(wchan); 98 lookup(struct sleepqueue_chain *sc, void *wchan) argument 103 if (sq->sq_wchan == wchan) 109 _sleepq_lookup(void *wchan) argument 115 _sleepq_add(void *wchan, struct pthread *td) argument [all...] |
H A D | thr_cond.c | 222 if (curthread->wchan != NULL) 262 if (curthread->wchan == NULL) {
|
H A D | thr_private.h | 516 void *wchan; member in struct:pthread
|
/freebsd-10.0-release/sys/kern/ |
H A D | subr_sleepqueue.c | 157 static int sleepq_catch_signals(void *wchan, int pri); 166 static void sleepq_switch(void *wchan, int pri); 235 sleepq_lock(void *wchan) argument 239 sc = SC_LOOKUP(wchan); 249 sleepq_lookup(void *wchan) argument 254 KASSERT(wchan != NULL, ("%s: invalid NULL wait channel", __func__)); 255 sc = SC_LOOKUP(wchan); 258 if (sq->sq_wchan == wchan) 267 sleepq_release(void *wchan) argument 271 sc = SC_LOOKUP(wchan); 282 sleepq_add(void *wchan, struct lock_object *lock, const char *wmesg, int flags, int queue) argument 362 sleepq_set_timeout_sbt(void *wchan, sbintime_t sbt, sbintime_t pr, int flags) argument 382 sleepq_sleepcnt(void *wchan, int queue) argument 401 sleepq_catch_signals(void *wchan, int pri) argument 492 sleepq_switch(void *wchan, int pri) argument 613 sleepq_wait(void *wchan, int pri) argument 629 sleepq_wait_sig(void *wchan, int pri) argument 647 sleepq_timedwait(void *wchan, int pri) argument 667 sleepq_timedwait_sig(void *wchan, int pri) argument 686 sleepq_type(void *wchan) argument 811 sleepq_signal(void *wchan, int flags, int pri, int queue) argument 848 sleepq_broadcast(void *wchan, int flags, int pri, int queue) argument 884 void *wchan; local 949 sleepq_remove(struct thread *td, void *wchan) argument 991 void *wchan; local 1180 void *wchan; local [all...] |
H A D | kern_clock.c | 189 void *wchan; local 254 wchan = td->td_wchan; 257 slptype = sleepq_type(wchan);
|
H A D | subr_vmem.c | 185 #define VMEM_CONDVAR_INIT(vm, wchan) cv_init(&vm->vm_cv, wchan)
|
H A D | vfs_bio.c | 3593 biowait(struct bio *bp, const char *wchan) argument 3600 msleep(bp, mtxp, PRIBIO, wchan, hz / 10); 4350 bwait(struct buf *bp, u_char pri, const char *wchan) argument 4357 msleep(bp, mtxp, pri, wchan, 0);
|
/freebsd-10.0-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-10.0-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-10.0-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-10.0-release/bin/ps/ |
H A D | extern.h | 89 char *wchan(KINFO *, VARENT *);
|
H A D | keyword.c | 171 {"wchan", "WCHAN", NULL, LJUST, wchan, 0, CHAR, NULL, 0},
|
H A D | print.c | 448 wchan(KINFO *k, VARENT *ve __unused) function
|
/freebsd-10.0-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-10.0-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-10.0-release/sys/vm/ |
H A D | vm_object.h | 233 #define VM_OBJECT_SLEEP(object, wchan, pri, wmesg, timo) \ 234 rw_sleep((wchan), &(object)->lock, (pri), (wmesg), (timo))
|
/freebsd-10.0-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-10.0-release/sys/dev/isp/ |
H A D | isp_freebsd.c | 4091 void *wchan; local 4225 ISP_GET_PC_ADDR(isp, chan, target_proc, wchan); 4285 msleep(wchan, &isp->isp_lock, PUSER, "tsnooze", 0);
|