/freebsd-11.0-release/release/picobsd/tinyware/sps/ |
H A D | sps.c | 47 char buf[MAXPATHLEN], vty[5], pst[5], wmesg[10]; local 84 sprintf(wmesg, "-"); 86 strcpy(wmesg, ki->ki_wmesg); 116 wmesg,
|
/freebsd-11.0-release/sys/sys/ |
H A D | lockmgr.h | 70 const char *wmesg, int prio, int timo, const char *file, int line); 81 void lockinit(struct lock *lk, int prio, const char *wmesg, int timo, 94 _lockmgr_args(struct lock *lk, u_int flags, struct mtx *ilk, const char *wmesg, argument 99 NULL, wmesg, prio, timo, file, line)); 104 const char *wmesg, int prio, int timo, const char *file, int line) 108 NULL, wmesg, prio, timo, file, line)); 117 #define lockmgr_args(lk, flags, ilk, wmesg, prio, timo) \ 118 _lockmgr_args((lk), (flags), (ilk), (wmesg), (prio), (timo), \ 120 #define lockmgr_args_rw(lk, flags, ilk, wmesg, prio, timo) \ 121 _lockmgr_args_rw((lk), (flags), (ilk), (wmesg), (pri 103 _lockmgr_args_rw(struct lock *lk, u_int flags, struct rwlock *ilk, const char *wmesg, int prio, int timo, const char *file, int line) argument [all...] |
H A D | systm.h | 381 int _sleep(void *chan, struct lock_object *lock, int pri, const char *wmesg, 383 #define msleep(chan, mtx, pri, wmesg, timo) \ 384 _sleep((chan), &(mtx)->lock_object, (pri), (wmesg), \ 386 #define msleep_sbt(chan, mtx, pri, wmesg, bt, pr, flags) \ 387 _sleep((chan), &(mtx)->lock_object, (pri), (wmesg), (bt), (pr), \ 389 int msleep_spin_sbt(void *chan, struct mtx *mtx, const char *wmesg, 391 #define msleep_spin(chan, mtx, wmesg, timo) \ 392 msleep_spin_sbt((chan), (mtx), (wmesg), tick_sbt * (timo), \ 394 int pause_sbt(const char *wmesg, sbintime_t sbt, sbintime_t pr, 396 #define pause(wmesg, tim [all...] |
H A D | sleepqueue.h | 89 void sleepq_add(void *wchan, struct lock_object *lock, const char *wmesg,
|
H A D | rmlock.h | 97 #define rm_sleep(chan, rm, pri, wmesg, timo) \ 98 _sleep((chan), &(rm)->lock_object, (pri), (wmesg), \
|
H A D | ktrace.h | 148 char wmesg[8]; member in struct:ktr_csw
|
H A D | rwlock.h | 214 #define rw_sleep(chan, rw, pri, wmesg, timo) \ 215 _sleep((chan), &(rw)->lock_object, (pri), (wmesg), \
|
H A D | sx.h | 285 #define sx_sleep(chan, sx, pri, wmesg, timo) \ 286 _sleep((chan), &(sx)->lock_object, (pri), (wmesg), \
|
H A D | buf.h | 283 #define BUF_TIMELOCK(bp, locktype, interlock, wmesg, catch, timo) \ 285 (interlock), (wmesg), (PRIBIO + 4) | (catch), (timo), \
|
H A D | mutex.h | 419 #define mtx_sleep(chan, mtx, pri, wmesg, timo) \ 420 _sleep((chan), &(mtx)->lock_object, (pri), (wmesg), \
|
/freebsd-11.0-release/sys/kern/ |
H A D | kern_synch.c | 136 const char *wmesg, sbintime_t sbt, sbintime_t pr, int flags) 149 ktrcsw(1, 0, wmesg); 152 "Sleeping on \"%s\"", wmesg); 191 td->td_tid, p->p_pid, td->td_name, wmesg, ident); 213 sleepq_add(ident, lock, wmesg, sleepq_flags, 0); 234 ktrcsw(0, 0, wmesg); 245 msleep_spin_sbt(void *ident, struct mtx *mtx, const char *wmesg, argument 264 td->td_tid, p->p_pid, td->td_name, wmesg, ident); 274 sleepq_add(ident, &mtx->lock_object, wmesg, SLEEPQ_SLEEP, 0); 288 ktrcsw(1, 0, wmesg); 135 _sleep(void *ident, struct lock_object *lock, int priority, const char *wmesg, sbintime_t sbt, sbintime_t pr, int flags) argument 322 pause_sbt(const char *wmesg, sbintime_t sbt, sbintime_t pr, int flags) argument [all...] |
H A D | kern_ktrace.c | 731 ktrcsw(out, user, wmesg) 733 const char *wmesg; 745 if (wmesg != NULL) 746 strlcpy(kc->wmesg, wmesg, sizeof(kc->wmesg)); 748 bzero(kc->wmesg, sizeof(kc->wmesg));
|
H A D | subr_sleepqueue.c | 147 static void sleepq_profile(const char *wmesg); 296 sleepq_add(void *wchan, struct lock_object *lock, const char *wmesg, int flags, argument 363 td->td_wmesg = wmesg; 1184 sleepq_profile(const char *wmesg) argument 1191 LIST_FOREACH(sp, &sleepq_hash[SC_HASH(wmesg)], sp_link) 1192 if (sp->sp_wmesg == wmesg) 1197 sp->sp_wmesg = wmesg; 1199 LIST_INSERT_HEAD(&sleepq_hash[SC_HASH(wmesg)], sp, sp_link);
|
H A D | kern_lock.c | 188 const char *wmesg, int pri, int timo, int queue) 207 sleepq_add(&lk->lock_object, NULL, wmesg, SLEEPQ_LK | (catch ? 372 lockinit(struct lock *lk, int pri, const char *wmesg, int timo, int flags) argument 378 ("%s: lockmgr not aligned for %s: %p", __func__, wmesg, 396 lock_init(&lk->lock_object, &lock_class_lockmgr, wmesg, NULL, iflags); 453 const char *wmesg, int pri, int timo, const char *file, int line) 473 iwmesg = (wmesg == LK_WMESG_DEFAULT) ? lk->lock_object.lo_name : wmesg; 187 sleeplk(struct lock *lk, u_int flags, struct lock_object *ilk, const char *wmesg, int pri, int timo, int queue) argument 452 __lockmgr_args(struct lock *lk, u_int flags, struct lock_object *ilk, const char *wmesg, int pri, int timo, const char *file, int line) argument
|
/freebsd-11.0-release/sys/fs/procfs/ |
H A D | procfs_status.c | 70 const char *wmesg; local 119 ("wchan %p has no wmesg", tdfirst->td_wchan)); 120 wmesg = tdfirst->td_wmesg; 122 wmesg = "nochan"; 140 sbuf_printf(sb, " %s", wmesg);
|
/freebsd-11.0-release/sys/ddb/ |
H A D | db_ps.c | 72 * pid ppid pgrp uid state wmesg wchan cmd 73 * <pid> <ppi> <pgi> <uid> <stat> < wmesg > < wchan > <name> 75 * <tid > <stat> < wmesg > < wchan > <name> 98 db_printf(" pid ppid pgrp uid state wmesg wchan cmd\n"); 100 db_printf(" pid ppid pgrp uid state wmesg wchan cmd\n"); 225 const char *wmesg; local 269 wmesg = td->td_lockname; 272 wmesg = td->td_wmesg; 276 wmesg = state; 279 wmesg [all...] |
/freebsd-11.0-release/sys/dev/hpt27xx/ |
H A D | os_bsd.h | 208 static __inline int hpt_sleep(PVBUS_EXT vbus_ext, void *ident, int priority, const char *wmesg, int timo) argument 210 return msleep(ident, &vbus_ext->lock, priority, wmesg, timo);
|
/freebsd-11.0-release/sys/dev/hptnr/ |
H A D | os_bsd.h | 202 static __inline int hpt_sleep(PVBUS_EXT vbus_ext, void *ident, int priority, const char *wmesg, int timo) argument 204 return msleep(ident, &vbus_ext->lock, priority, wmesg, timo);
|
/freebsd-11.0-release/sys/dev/hptrr/ |
H A D | os_bsd.h | 203 static __inline int hpt_sleep(PVBUS_EXT vbus_ext, void *ident, int priority, const char *wmesg, int timo) argument 205 return msleep(ident, &vbus_ext->lock, priority, wmesg, timo);
|
/freebsd-11.0-release/sys/cam/ |
H A D | cam_xpt.h | 122 #define xpt_path_sleep(path, chan, priority, wmesg, timo) \ 123 msleep((chan), xpt_path_mtx(path), (priority), (wmesg), (timo))
|
H A D | cam_periph.h | 213 #define cam_periph_sleep(periph, chan, priority, wmesg, timo) \ 214 xpt_path_sleep((periph)->path, (chan), (priority), (wmesg), (timo))
|
/freebsd-11.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-11.0-release/sys/fs/nfs/ |
H A D | nfs_commonport.c | 252 nfsmsleep(void *chan, void *mutex, int prio, const char *wmesg, argument 267 error = msleep(chan, (struct mtx *)mutex, prio, wmesg, timeo); 412 nfs_catnap(int prio, int errval, const char *wmesg) argument 418 ret = tsleep(&non_event, prio, wmesg, 5 * hz); 420 ret = tsleep(&non_event, prio, wmesg, 1);
|
/freebsd-11.0-release/sys/vm/ |
H A D | vm_object.h | 237 #define VM_OBJECT_SLEEP(object, wchan, pri, wmesg, timo) \ 238 rw_sleep((wchan), &(object)->lock, (pri), (wmesg), (timo))
|
/freebsd-11.0-release/sys/dev/hptiop/ |
H A D | hptiop.h | 475 int priority, const char *wmesg, int timo) 480 retval = msleep(ident, &hba->lock, priority, wmesg, timo); 474 hptiop_sleep(struct hpt_iop_hba *hba, void *ident, int priority, const char *wmesg, int timo) argument
|