Home
last modified time | relevance | path

Searched refs:wchan (Results 1 – 25 of 28) sorted by relevance

12

/trueos/sys/sys/
HDsleepqueue.h89 void sleepq_add(void *wchan, struct lock_object *lock, const char *wmesg,
92 int sleepq_broadcast(void *wchan, int flags, int pri, int queue);
94 void sleepq_lock(void *wchan);
95 struct sleepqueue *sleepq_lookup(void *wchan);
96 void sleepq_release(void *wchan);
97 void sleepq_remove(struct thread *td, void *wchan);
98 int sleepq_signal(void *wchan, int flags, int pri, int queue);
99 void sleepq_set_timeout_sbt(void *wchan, sbintime_t sbt,
101 #define sleepq_set_timeout(wchan, timo) \ argument
102 sleepq_set_timeout_sbt((wchan), tick_sbt * (timo), 0, C_HARDCLOCK)
[all …]
HDbio.h139 int biowait(struct bio *bp, const char *wchan);
/trueos/sys/kern/
HDsubr_sleepqueue.c154 static int sleepq_catch_signals(void *wchan, int pri);
163 static void sleepq_switch(void *wchan, int pri);
232 sleepq_lock(void *wchan) in sleepq_lock() argument
236 sc = SC_LOOKUP(wchan); in sleepq_lock()
246 sleepq_lookup(void *wchan) in sleepq_lookup() argument
251 KASSERT(wchan != NULL, ("%s: invalid NULL wait channel", __func__)); in sleepq_lookup()
252 sc = SC_LOOKUP(wchan); in sleepq_lookup()
255 if (sq->sq_wchan == wchan) in sleepq_lookup()
264 sleepq_release(void *wchan) in sleepq_release() argument
268 sc = SC_LOOKUP(wchan); in sleepq_release()
[all …]
HDkern_clock.c189 void *wchan; in deadlkres() local
254 wchan = td->td_wchan; in deadlkres()
257 slptype = sleepq_type(wchan); in deadlkres()
HDsubr_vmem.c188 #define VMEM_CONDVAR_INIT(vm, wchan) cv_init(&vm->vm_cv, wchan) argument
HDvfs_bio.c3639 biowait(struct bio *bp, const char *wchan) in biowait() argument
3646 msleep(bp, mtxp, PRIBIO, wchan, 0); in biowait()
4396 bwait(struct buf *bp, u_char pri, const char *wchan) in bwait() argument
4403 msleep(bp, mtxp, pri, wchan, 0); in bwait()
/trueos/lib/libthr/thread/
HDthr_sleepq.c34 #define SC_HASH(wchan) ((unsigned) \ argument
35 ((((uintptr_t)(wchan) >> 3) \
36 ^ ((uintptr_t)(wchan) >> (HASHSHIFT + 3))) \
78 _sleepq_lock(void *wchan) in _sleepq_lock() argument
83 sc = SC_LOOKUP(wchan); in _sleepq_lock()
88 _sleepq_unlock(void *wchan) in _sleepq_unlock() argument
93 sc = SC_LOOKUP(wchan); in _sleepq_unlock()
98 lookup(struct sleepqueue_chain *sc, void *wchan) in lookup() argument
103 if (sq->sq_wchan == wchan) in lookup()
109 _sleepq_lookup(void *wchan) in _sleepq_lookup() argument
[all …]
HDthr_cond.c222 if (curthread->wchan != NULL) in cond_wait_user()
262 if (curthread->wchan == NULL) { in cond_wait_user()
HDthr_private.h516 void *wchan; member
/trueos/contrib/amd/amd/
HDsched.c63 wchan_t wchan; /* Wait channel */ member
126 p->wchan = (wchan_t) p; in run_task()
157 sched_task(cb_fun *cf, opaque_t ca, wchan_t wchan) in sched_task() argument
164 dlog("SLEEP on %p", wchan); in sched_task()
165 p->wchan = wchan; in sched_task()
181 wakeup(wchan_t wchan) in wakeup() argument
195 if (p->wchan == wchan) { in wakeup()
203 wakeup_task(int rc, int term, wchan_t wchan) in wakeup_task() argument
205 wakeup(wchan); in wakeup_task()
HDops_nfs.c112 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) in call_mountd() argument
543 error = get_mountd_port(fp->fh_fs, &mountd_port, wchan); in call_mountd()
596 webnfs_lookup(fh_cache *fp, fwd_fun fun, wchan_t wchan) in webnfs_lookup() argument
HDsrvr_nfs.c311 get_mountd_port(fserver *fs, u_short *port, wchan_t wchan) in get_mountd_port() argument
337 if (error < 0 && wchan && !(fs->fs_flags & FSF_WANT)) { in get_mountd_port()
348 sched_task(wakeup_task, wchan, (wchan_t) fs); in get_mountd_port()
HDmap.c823 wchan_t wchan = get_mntfs_wchan(mf); in free_map_if_success() local
873 wakeup(wchan); in free_map_if_success()
/trueos/sys/ofed/include/linux/
HDwait.h43 unsigned int wchan; member
55 c = &q->wchan; in __wake_up()
75 void *c = &(q).wchan; \
91 void *c = &(q).wchan; \
/trueos/sys/ddb/
HDdb_ps.c222 void *wchan; in dumpthread() local
266 wchan = td->td_blocked; in dumpthread()
269 wchan = td->td_wchan; in dumpthread()
273 wchan = NULL; in dumpthread()
276 wchan = NULL; in dumpthread()
279 if (wchan == NULL) in dumpthread()
286 db_printf("%p ", wchan); in dumpthread()
/trueos/sys/dev/sound/midi/
HDmidi.c113 int rchan, wchan; member
405 if (!(m->rchan || m->wchan)) in midi_uninit()
412 if (m->wchan) { in midi_uninit()
413 wakeup(&m->wchan); in midi_uninit()
414 m->wchan = 0; in midi_uninit()
600 if (m->wchan) { in midi_out()
601 wakeup(&m->wchan); in midi_out()
602 m->wchan = 0; in midi_out()
654 m->wchan = 0; in midi_open()
828 m->wchan = 1; in midi_write()
[all …]
/trueos/sys/dev/ppbus/
HDppb_base.c237 ppb_sleep(device_t bus, void *wchan, int priority, const char *wmesg, int timo) in ppb_sleep() argument
241 return (mtx_sleep(wchan, ppb->ppc_lock, priority, wmesg, timo)); in ppb_sleep()
/trueos/contrib/netbsd-tests/bin/ps/
HDt_ps.sh96 l_keywords='uid pid ppid cpu pri nice vsz rss wchan state tt time command'
97 s_keywords='uid pid ppid cpu lid nlwp pri nice vsz rss wchan lstate tt ltime command'
HDkeywords122 wchan WCHAN LJUST
/trueos/sys/vm/
HDvm_object.h237 #define VM_OBJECT_SLEEP(object, wchan, pri, wmesg, timo) \ argument
238 rw_sleep((wchan), &(object)->lock, (pri), (wmesg), (timo))
/trueos/bin/ps/
HDextern.h89 char *wchan(KINFO *, VARENT *);
HDkeyword.c173 {"wchan", "WCHAN", NULL, LJUST, wchan, 0, CHAR, NULL, 0},
HDprint.c448 wchan(KINFO *k, VARENT *ve __unused) in wchan() function
/trueos/sys/nlm/
HDnlm_prot_impl.c348 char *wchan = "nlmrcv"; in nlm_get_rpc() local
558 CLNT_CONTROL(rpcb, CLSET_WAITCHAN, wchan); in nlm_get_rpc()
568 CLNT_CONTROL(rpcb, CLSET_WAITCHAN, wchan); in nlm_get_rpc()
/trueos/tools/debugscripts/
HDgdbinit.i386304 printf " pid proc uid ppid pgrp flag stat comm wchan\n"

12