| /src/sys/sys/ |
| wchan.h | 35 typedef volatile const void *wchan_t; typedef
|
| sleeptab.h | 61 sleeptab_lookup(sleeptab_t *st, wchan_t wchan, kmutex_t **mp) 75 sleepq_hashlock(wchan_t wchan) 96 wchan_t ts_obj; /* lock object */ 125 turnstile_t *turnstile_lookup(wchan_t); 127 void turnstile_exit(wchan_t); 128 void turnstile_block(turnstile_t *, int, wchan_t, const struct syncobj *);
|
| syncobj.h | 51 struct lwp *(*sobj_owner)(wchan_t); 54 struct lwp *syncobj_noowner(wchan_t);
|
| sleepq.h | 56 void sleepq_enqueue(sleepq_t *, wchan_t, const char *, 58 void sleepq_transfer(lwp_t *, sleepq_t *, sleepq_t *, wchan_t, const char *, 63 void sleepq_wake(sleepq_t *, wchan_t, u_int, kmutex_t *);
|
| proc.h | 516 int tsleep(wchan_t, pri_t, const char *, int); 517 int mtsleep(wchan_t, pri_t, const char *, int, kmutex_t *); 518 void wakeup(wchan_t);
|
| lwp.h | 133 wchan_t l_wchan; /* l: sleep address */
|
| /src/sys/ddb/ |
| db_syncobj.h | 37 struct lwp *db_syncobj_owner(const struct syncobj *, wchan_t);
|
| db_syncobj.c | 45 db_syncobj_owner(const struct syncobj *sobj, wchan_t wchan)
|
| db_command.c | 1399 wchan_t wchan = NULL;
|
| /src/sys/rump/librump/rumpkern/ |
| ltsleep.c | 49 wchan_t id; 64 sleeper(wchan_t ident, int timo, bool kinterlock) 121 tsleep(wchan_t ident, pri_t prio, const char *wmesg, int timo) 141 mtsleep(wchan_t ident, pri_t prio, const char *wmesg, int timo, kmutex_t *lock) 155 wakeup(wchan_t ident)
|
| sleepq.c | 75 sleepq_enqueue(sleepq_t *sq, wchan_t wc, const char *wmsg, syncobj_t *sob, 113 sleepq_wake(sleepq_t *sq, wchan_t wchan, u_int expected, kmutex_t *mp) 173 syncobj_noowner(wchan_t wc)
|
| /src/external/bsd/am-utils/dist/amd/ |
| sched.c | 61 wchan_t wchan; /* Wait channel */ 124 p->wchan = (wchan_t) p; 155 sched_task(cb_fun *cf, opaque_t ca, wchan_t wchan) 179 wakeup(wchan_t wchan) 201 wakeup_task(int rc, int term, wchan_t wchan) 207 wchan_t
|
| amd.h | 219 typedef voidp wchan_t; typedef 252 typedef wchan_t (*vget_wchan) (mntfs *); 589 extern int get_mountd_port(fserver *, u_short *, wchan_t); 619 extern wchan_t get_mntfs_wchan(mntfs *mf); 654 extern void sched_task(cb_fun *, opaque_t, wchan_t); 661 extern void wakeup(wchan_t); 663 extern void wakeup_task(int, int, wchan_t);
|
| ops_TEMPLATE.c | 297 static wchan_t *
|
| ops_nfs.c | 92 wchan_t fh_wchan; /* Wait channel */ 110 static int call_mountd(fh_cache *fp, u_long proc, fwd_fun f, wchan_t wchan); 111 static int webnfs_lookup(fh_cache *fp, fwd_fun f, wchan_t wchan); 535 call_mountd(fh_cache *fp, u_long proc, fwd_fun fun, wchan_t wchan) 606 webnfs_lookup(fh_cache *fp, fwd_fun fun, wchan_t wchan) 1091 call_mountd(&f, MOUNTPROC_UMNT, (fwd_fun *) NULL, (wchan_t) NULL);
|
| srvr_nfs.c | 313 get_mountd_port(fserver *fs, u_short *port, wchan_t wchan) 359 sched_task(wakeup_task, wchan, (wchan_t) fs);
|
| map.c | 842 wchan_t wchan = get_mntfs_wchan(mf);
|
| /src/sys/kern/ |
| kern_turnstile.c | 165 turnstile_lookup(wchan_t obj) 192 turnstile_exit(wchan_t obj) 370 turnstile_block(turnstile_t *ts, int q, wchan_t obj, syncobj_t *sobj)
|
| kern_sleepq.c | 259 sleepq_enqueue(sleepq_t *sq, wchan_t wchan, const char *wmesg, syncobj_t *sobj, 296 sleepq_transfer(lwp_t *l, sleepq_t *from_sq, sleepq_t *sq, wchan_t wchan, 458 sleepq_wake(sleepq_t *sq, wchan_t wchan, u_int expected, kmutex_t *mp)
|
| kern_synch.c | 185 tsleep(wchan_t ident, pri_t priority, const char *wmesg, int timo) 210 mtsleep(wchan_t ident, pri_t priority, const char *wmesg, int timo, 272 wakeup(wchan_t ident) 1116 syncobj_noowner(wchan_t wchan)
|
| kern_mutex.c | 287 static lwp_t *mutex_owner(wchan_t); 842 mutex_owner(wchan_t wchan)
|
| kern_rwlock.c | 117 static lwp_t *rw_owner(wchan_t); 798 rw_owner(wchan_t obj)
|
| kern_condvar.c | 160 KASSERT(l->l_wchan == (wchan_t)cv);
|
| /src/sys/arch/sparc64/dev/ |
| tadpmu.c | 65 static wchan_t tadpmu, tadpmuev;
|
| /src/sys/dev/ic/ |
| tpm.c | 359 tpm_poll(struct tpm_softc *sc, uint8_t mask, int to, wchan_t chan) 374 tpm_waitfor(struct tpm_softc *sc, uint8_t bits, int tmo, wchan_t chan)
|