/freebsd-13-stable/sys/sys/ |
H A D | blockcount.h | 44 int _blockcount_sleep(blockcount_t *bc, struct lock_object *, const char *wmesg, 80 _blockcount_wait(blockcount_t *bc, struct lock_object *lo, const char *wmesg, argument 85 while (_blockcount_sleep(bc, lo, wmesg, prio) == EAGAIN) 89 #define blockcount_sleep(bc, lo, wmesg, prio) \ 90 _blockcount_sleep((bc), (struct lock_object *)(lo), (wmesg), (prio)) 91 #define blockcount_wait(bc, lo, wmesg, prio) \ 92 _blockcount_wait((bc), (struct lock_object *)(lo), (wmesg), (prio))
|
H A D | lockmgr.h | 73 const char *wmesg, int prio, int timo, const char *file, int line); 90 void lockinit(struct lock *lk, int prio, const char *wmesg, int timo, 103 _lockmgr_args(struct lock *lk, u_int flags, struct mtx *ilk, const char *wmesg, argument 108 NULL, wmesg, prio, timo, file, line)); 113 const char *wmesg, int prio, int timo, const char *file, int line) 117 NULL, wmesg, prio, timo, file, line)); 127 #define lockmgr_args(lk, flags, ilk, wmesg, prio, timo) \ 128 _lockmgr_args((lk), (flags), (ilk), (wmesg), (prio), (timo), \ 130 #define lockmgr_args_rw(lk, flags, ilk, wmesg, prio, timo) \ 131 _lockmgr_args_rw((lk), (flags), (ilk), (wmesg), (pri 112 _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 | 512 const char *wmesg, sbintime_t sbt, sbintime_t pr, int flags); 513 #define msleep(chan, mtx, pri, wmesg, timo) \ 514 _sleep((chan), &(mtx)->lock_object, (pri), (wmesg), \ 516 #define msleep_sbt(chan, mtx, pri, wmesg, bt, pr, flags) \ 517 _sleep((chan), &(mtx)->lock_object, (pri), (wmesg), (bt), (pr), \ 520 const char *wmesg, sbintime_t sbt, sbintime_t pr, int flags); 521 #define msleep_spin(chan, mtx, wmesg, timo) \ 522 msleep_spin_sbt((chan), (mtx), (wmesg), tick_sbt * (timo), \ 524 int pause_sbt(const char *wmesg, sbintime_t sbt, sbintime_t pr, 526 #define pause(wmesg, tim [all...] |
H A D | sleepqueue.h | 92 const char *wmesg, int flags, int queue);
|
H A D | rmlock.h | 99 #define rm_sleep(chan, rm, pri, wmesg, timo) \ 100 _sleep((chan), &(rm)->lock_object, (pri), (wmesg), \
|
H A D | ktrace.h | 149 char wmesg[8]; member in struct:ktr_csw
|
H A D | rwlock.h | 240 #define rw_sleep(chan, rw, pri, wmesg, timo) \ 241 _sleep((chan), &(rw)->lock_object, (pri), (wmesg), \
|
H A D | sx.h | 265 #define sx_sleep(chan, sx, pri, wmesg, timo) \ 266 _sleep((chan), &(sx)->lock_object, (pri), (wmesg), \
|
H A D | buf.h | 316 #define BUF_TIMELOCK(bp, locktype, interlock, wmesg, catch, timo) \ 318 (interlock), (wmesg), (PRIBIO + 4) | (catch), (timo), \
|
/freebsd-13-stable/sys/kern/ |
H A D | kern_synch.c | 136 const char *wmesg, sbintime_t sbt, sbintime_t pr, int flags) 147 ktrcsw(1, 0, wmesg); 150 "Sleeping on \"%s\"", wmesg); 183 td->td_tid, td->td_proc->p_pid, td->td_name, wmesg, ident); 205 sleepq_add(ident, lock, wmesg, sleepq_flags, 0); 226 ktrcsw(0, 0, wmesg); 237 msleep_spin_sbt(const void *ident, struct mtx *mtx, const char *wmesg, argument 254 td->td_tid, td->td_proc->p_pid, td->td_name, wmesg, ident); 264 sleepq_add(ident, &mtx->lock_object, wmesg, SLEEPQ_SLEEP, 0); 278 ktrcsw(1, 0, wmesg); 135 _sleep(const void *ident, struct lock_object *lock, int priority, const char *wmesg, sbintime_t sbt, sbintime_t pr, int flags) argument 312 pause_sbt(const char *wmesg, sbintime_t sbt, sbintime_t pr, int flags) argument 411 _blockcount_sleep(blockcount_t *bc, struct lock_object *lock, const char *wmesg, int prio) argument [all...] |
H A D | subr_sleepqueue.c | 158 static void sleepq_profile(const char *wmesg); 309 sleepq_add(const void *wchan, struct lock_object *lock, const char *wmesg, argument 381 td->td_wmesg = wmesg; 1316 sleepq_profile(const char *wmesg) argument 1323 LIST_FOREACH(sp, &sleepq_hash[SC_HASH(wmesg)], sp_link) 1324 if (sp->sp_wmesg == wmesg) 1329 sp->sp_wmesg = wmesg; 1331 LIST_INSERT_HEAD(&sleepq_hash[SC_HASH(wmesg)], sp, sp_link);
|
H A D | kern_ktrace.c | 813 ktrcsw(int out, int user, const char *wmesg) argument 828 if (wmesg != NULL) 829 strlcpy(kc->wmesg, wmesg, sizeof(kc->wmesg)); 831 bzero(kc->wmesg, sizeof(kc->wmesg));
|
H A D | kern_lock.c | 267 const char *wmesg, int pri, int timo, int queue) 286 sleepq_add(&lk->lock_object, NULL, wmesg, SLEEPQ_LK | (catch ? 431 lockinit(struct lock *lk, int pri, const char *wmesg, int timo, int flags) argument 437 ("%s: lockmgr not aligned for %s: %p", __func__, wmesg, 457 lock_init(&lk->lock_object, &lock_class_lockmgr, wmesg, NULL, iflags); 1298 const char *wmesg, int pri, int timo, const char *file, int line) 1318 iwmesg = (wmesg == LK_WMESG_DEFAULT) ? lk->lock_object.lo_name : wmesg; 266 sleeplk(struct lock *lk, u_int flags, struct lock_object *ilk, const char *wmesg, int pri, int timo, int queue) argument 1297 __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-13-stable/sys/fs/procfs/ |
H A D | procfs_status.c | 72 const char *wmesg; local 122 ("wchan %p has no wmesg", tdfirst->td_wchan)); 123 wmesg = tdfirst->td_wmesg; 125 wmesg = "nochan"; 144 sbuf_printf(sb, " %s", wmesg);
|
/freebsd-13-stable/sys/ddb/ |
H A D | db_ps.c | 98 * pid ppid pgrp uid state wmesg wchan cmd 99 * <pid> <ppi> <pgi> <uid> <stat> <wmesg> <wchan > <name> 101 * <tid > <stat> <wmesg> <wchan > <name> 115 db_printf(" pid ppid pgrp uid state wmesg wchan cmd\n"); 117 db_printf(" pid ppid pgrp uid state wmesg wchan cmd\n"); 265 const char *wmesg; local 309 wmesg = td->td_lockname; 312 wmesg = td->td_wmesg; 316 wmesg = state; 319 wmesg [all...] |
/freebsd-13-stable/sys/dev/hpt27xx/ |
H A D | os_bsd.h | 210 static __inline int hpt_sleep(PVBUS_EXT vbus_ext, void *ident, int priority, const char *wmesg, int timo) argument 212 return msleep(ident, &vbus_ext->lock, priority, wmesg, timo);
|
/freebsd-13-stable/sys/dev/hptnr/ |
H A D | os_bsd.h | 204 static __inline int hpt_sleep(PVBUS_EXT vbus_ext, void *ident, int priority, const char *wmesg, int timo) argument 206 return msleep(ident, &vbus_ext->lock, priority, wmesg, timo);
|
/freebsd-13-stable/sys/dev/hptrr/ |
H A D | os_bsd.h | 205 static __inline int hpt_sleep(PVBUS_EXT vbus_ext, void *ident, int priority, const char *wmesg, int timo) argument 207 return msleep(ident, &vbus_ext->lock, priority, wmesg, timo);
|
/freebsd-13-stable/sys/dev/ppbus/ |
H A D | ppb_base.c | 239 ppb_sleep(device_t bus, void *wchan, int priority, const char *wmesg, int timo) argument 243 return (mtx_sleep(wchan, ppb->ppc_lock, priority, wmesg, timo));
|
/freebsd-13-stable/sys/cam/ |
H A D | cam_xpt.h | 131 #define xpt_path_sleep(path, chan, priority, wmesg, timo) \ 132 msleep((chan), xpt_path_mtx(path), (priority), (wmesg), (timo))
|
H A D | cam_periph.h | 230 #define cam_periph_sleep(periph, chan, priority, wmesg, timo) \ 231 xpt_path_sleep((periph)->path, (chan), (priority), (wmesg), (timo))
|
/freebsd-13-stable/sys/vm/ |
H A D | vm_object.h | 261 #define VM_OBJECT_SLEEP(object, wchan, pri, wmesg, timo) \ 262 rw_sleep((wchan), &(object)->lock, (pri), (wmesg), (timo)) 343 void vm_object_busy_wait(vm_object_t object, const char *wmesg);
|
/freebsd-13-stable/sys/compat/linuxkpi/common/src/ |
H A D | linux_schedule.c | 46 const char *wmesg, int timeout, int state) 55 sleepq_add(wchan, NULL, wmesg, flags, 0); 45 linux_add_to_sleepqueue(void *wchan, struct task_struct *task, const char *wmesg, int timeout, int state) argument
|
/freebsd-13-stable/sys/fs/nfs/ |
H A D | nfs_commonport.c | 271 nfsmsleep(void *chan, void *mutex, int prio, const char *wmesg, argument 286 error = msleep(chan, (struct mtx *)mutex, prio, wmesg, timeo); 430 nfs_catnap(int prio, int errval, const char *wmesg) argument 436 ret = tsleep(&non_event, prio, wmesg, 5 * hz); 438 ret = tsleep(&non_event, prio, wmesg, 1);
|
/freebsd-13-stable/sys/dev/hptiop/ |
H A D | hptiop.h | 477 int priority, const char *wmesg, int timo) 482 retval = msleep(ident, &hba->lock, priority, wmesg, timo); 476 hptiop_sleep(struct hpt_iop_hba *hba, void *ident, int priority, const char *wmesg, int timo) argument
|