/freebsd-10-stable/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 | 372 int _sleep(void *chan, struct lock_object *lock, int pri, const char *wmesg, 374 #define msleep(chan, mtx, pri, wmesg, timo) \ 375 _sleep((chan), &(mtx)->lock_object, (pri), (wmesg), \ 377 #define msleep_sbt(chan, mtx, pri, wmesg, bt, pr, flags) \ 378 _sleep((chan), &(mtx)->lock_object, (pri), (wmesg), (bt), (pr), \ 380 int msleep_spin_sbt(void *chan, struct mtx *mtx, const char *wmesg, 382 #define msleep_spin(chan, mtx, wmesg, timo) \ 383 msleep_spin_sbt((chan), (mtx), (wmesg), tick_sbt * (timo), \ 385 int pause_sbt(const char *wmesg, sbintime_t sbt, sbintime_t pr, 387 #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 | 210 #define rw_sleep(chan, rw, pri, wmesg, timo) \ 211 _sleep((chan), &(rw)->lock_object, (pri), (wmesg), \
|
H A D | sx.h | 279 #define sx_sleep(chan, sx, pri, wmesg, timo) \ 280 _sleep((chan), &(sx)->lock_object, (pri), (wmesg), \
|
/freebsd-10-stable/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-10-stable/sys/kern/ |
H A D | kern_synch.c | 147 const char *wmesg, sbintime_t sbt, sbintime_t pr, int flags) 160 ktrcsw(1, 0, wmesg); 163 "Sleeping on \"%s\"", wmesg); 204 td->td_tid, p->p_pid, td->td_name, wmesg, ident); 226 sleepq_add(ident, lock, wmesg, sleepq_flags, 0); 247 ktrcsw(0, 0, wmesg); 258 msleep_spin_sbt(void *ident, struct mtx *mtx, const char *wmesg, argument 286 td->td_tid, p->p_pid, td->td_name, wmesg, ident); 296 sleepq_add(ident, &mtx->lock_object, wmesg, SLEEPQ_SLEEP, 0); 310 ktrcsw(1, 0, wmesg); 146 _sleep(void *ident, struct lock_object *lock, int priority, const char *wmesg, sbintime_t sbt, sbintime_t pr, int flags) argument 344 pause_sbt(const char *wmesg, sbintime_t sbt, sbintime_t pr, int flags) argument [all...] |
H A D | kern_ktrace.c | 732 ktrcsw(out, user, wmesg) 734 const char *wmesg; 746 if (wmesg != NULL) 747 strlcpy(kc->wmesg, wmesg, sizeof(kc->wmesg)); 749 bzero(kc->wmesg, sizeof(kc->wmesg));
|
H A D | subr_sleepqueue.c | 145 static void sleepq_profile(const char *wmesg); 279 sleepq_add(void *wchan, struct lock_object *lock, const char *wmesg, int flags, argument 346 td->td_wmesg = wmesg; 1036 sleepq_profile(const char *wmesg) argument 1043 LIST_FOREACH(sp, &sleepq_hash[SC_HASH(wmesg)], sp_link) 1044 if (sp->sp_wmesg == wmesg) 1049 sp->sp_wmesg = wmesg; 1051 LIST_INSERT_HEAD(&sleepq_hash[SC_HASH(wmesg)], sp, sp_link);
|
H A D | subr_smp.c | 799 quiesce_cpus(cpuset_t map, const char *wmesg, int prio) argument 821 error = tsleep(quiesce_cpus, prio, wmesg, 1); 836 quiesce_all_cpus(const char *wmesg, int prio) argument 839 return quiesce_cpus(all_cpus, wmesg, prio);
|
H A D | kern_lock.c | 193 const char *wmesg, int pri, int timo, int queue) 212 sleepq_add(&lk->lock_object, NULL, wmesg, SLEEPQ_LK | (catch ? 377 lockinit(struct lock *lk, int pri, const char *wmesg, int timo, int flags) argument 383 ("%s: lockmgr not aligned for %s: %p", __func__, wmesg, 401 lock_init(&lk->lock_object, &lock_class_lockmgr, wmesg, NULL, iflags); 458 const char *wmesg, int pri, int timo, const char *file, int line) 478 iwmesg = (wmesg == LK_WMESG_DEFAULT) ? lk->lock_object.lo_name : wmesg; 192 sleeplk(struct lock *lk, u_int flags, struct lock_object *ilk, const char *wmesg, int pri, int timo, int queue) argument 457 __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-10-stable/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-10-stable/sys/ddb/ |
H A D | db_ps.c | 92 * pid ppid pgrp uid state wmesg wchan cmd 93 * <pid> <ppi> <pgi> <uid> <stat> < wmesg > < wchan > <name> 95 * <tid > <stat> < wmesg > < wchan > <name> 119 db_printf(" pid ppid pgrp uid state wmesg wchan cmd\n"); 121 db_printf(" pid ppid pgrp uid state wmesg wchan cmd\n"); 250 const char *wmesg; local 294 wmesg = td->td_lockname; 297 wmesg = td->td_wmesg; 301 wmesg = state; 304 wmesg [all...] |
/freebsd-10-stable/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-10-stable/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-10-stable/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-10-stable/sys/cam/ |
H A D | cam_xpt.h | 123 #define xpt_path_sleep(path, chan, priority, wmesg, timo) \ 124 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-10-stable/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-stable/sys/fs/nfs/ |
H A D | nfs_commonport.c | 254 nfsmsleep(void *chan, void *mutex, int prio, const char *wmesg, argument 269 error = msleep(chan, (struct mtx *)mutex, prio, wmesg, timeo); 414 nfs_catnap(int prio, int errval, const char *wmesg) argument 420 ret = tsleep(&non_event, prio, wmesg, 5 * hz); 422 ret = tsleep(&non_event, prio, wmesg, 1);
|
/freebsd-10-stable/sys/vm/ |
H A D | vm_object.h | 235 #define VM_OBJECT_SLEEP(object, wchan, pri, wmesg, timo) \ 236 rw_sleep((wchan), &(object)->lock, (pri), (wmesg), (timo))
|
/freebsd-10-stable/sys/nfsclient/ |
H A D | nfs_krpc.c | 770 char *wmesg, int timo) 777 return msleep(ident, mtx, priority, wmesg, timo); 781 error = msleep(ident, mtx, priority, wmesg, timo); 769 nfs_msleep(struct thread *td, void *ident, struct mtx *mtx, int priority, char *wmesg, int timo) argument
|
/freebsd-10-stable/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
|