Home
last modified time | relevance | path

Searched refs:wmesg (Results 1 – 25 of 48) sorted by path

12

/freebsd/sys/amd64/vmm/
H A Dvmm.c1486 const char *wmesg; in vm_handle_hlt() local
1534 wmesg = "vmhalt"; in vm_handle_hlt()
1545 wmesg = "vmidle"; in vm_handle_hlt()
1554 msleep_spin(vcpu, &vcpu->mtx, wmesg, hz); in vm_handle_hlt()
/freebsd/sys/cam/
H A Dcam_periph.h234 #define cam_periph_sleep(periph, chan, priority, wmesg, timo) \ argument
235 xpt_path_sleep((periph)->path, (chan), (priority), (wmesg), (timo))
H A Dcam_xpt.h128 #define xpt_path_sleep(path, chan, priority, wmesg, timo) \ argument
129 msleep((chan), xpt_path_mtx(path), (priority), (wmesg), (timo))
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_schedule.c43 const char *wmesg, int timeout, int state) in linux_add_to_sleepqueue() argument
52 sleepq_add(wchan, NULL, wmesg, flags, 0); in linux_add_to_sleepqueue()
/freebsd/sys/ddb/
H A Ddb_ps.c265 const char *wmesg; in dumpthread() local
309 wmesg = td->td_lockname; in dumpthread()
312 wmesg = td->td_wmesg; in dumpthread()
316 wmesg = state; in dumpthread()
319 wmesg = ""; in dumpthread()
322 db_printf("%c%-7.7s ", wprefix, wmesg); in dumpthread()
/freebsd/sys/dev/cxgbe/
H A Dt4_main.c6238 char *wmesg) in begin_synchronized_op() argument
6272 if (mtx_sleep(&sc->flags, &sc->sc_lock, pri, wmesg, 0)) { in begin_synchronized_op()
6281 sc->last_op = wmesg; in begin_synchronized_op()
/freebsd/sys/dev/hpt27xx/
H A Dos_bsd.h198 static __inline int hpt_sleep(PVBUS_EXT vbus_ext, void *ident, int priority, const char *wmesg, int… in hpt_sleep() argument
200 return msleep(ident, &vbus_ext->lock, priority, wmesg, timo); in hpt_sleep()
/freebsd/sys/dev/hptiop/
H A Dhptiop.h475 int priority, const char *wmesg, int timo) in hptiop_sleep() argument
480 retval = msleep(ident, &hba->lock, priority, wmesg, timo); in hptiop_sleep()
/freebsd/sys/dev/hptnr/
H A Dos_bsd.h202 static __inline int hpt_sleep(PVBUS_EXT vbus_ext, void *ident, int priority, const char *wmesg, int… in hpt_sleep() argument
204 return msleep(ident, &vbus_ext->lock, priority, wmesg, timo); in hpt_sleep()
/freebsd/sys/dev/hptrr/
H A Dos_bsd.h203 static __inline int hpt_sleep(PVBUS_EXT vbus_ext, void *ident, int priority, const char *wmesg, int… in hpt_sleep() argument
205 return msleep(ident, &vbus_ext->lock, priority, wmesg, timo); in hpt_sleep()
/freebsd/sys/dev/mpt/
H A Dmpt.h770 #define mpt_sleep(mpt, ident, priority, wmesg, sbt) \ argument
771 msleep_sbt(ident, &(mpt)->mpt_lock, priority, wmesg, sbt, 0, 0)
/freebsd/sys/dev/ppbus/
H A Dppb_base.c244 ppb_sleep(device_t bus, void *wchan, int priority, const char *wmesg, int timo) in ppb_sleep() argument
248 return (mtx_sleep(wchan, ppb->ppc_lock, priority, wmesg, timo)); in ppb_sleep()
/freebsd/sys/dev/qat/include/common/
H A Dqat_freebsd.h45 #define pause_ms(wmesg, ms) pause_sbt(wmesg, (ms)*SBT_1MS, 0, C_HARDCLOCK) argument
/freebsd/sys/fs/nfs/
H A Dnfs_commonkrpc.c1580 newnfs_msleep(struct thread *td, void *ident, struct mtx *mtx, int priority, char *wmesg, int timo) in newnfs_msleep() argument
1586 return msleep(ident, mtx, priority, wmesg, timo); in newnfs_msleep()
1590 error = msleep(ident, mtx, priority, wmesg, timo); in newnfs_msleep()
H A Dnfs_commonport.c268 nfsmsleep(void *chan, void *mutex, int prio, const char *wmesg, in nfsmsleep() argument
283 error = msleep(chan, (struct mtx *)mutex, prio, wmesg, timeo); in nfsmsleep()
406 nfs_catnap(int prio, int errval, const char *wmesg) in nfs_catnap() argument
412 ret = tsleep(&non_event, prio, wmesg, 5 * hz); in nfs_catnap()
414 ret = tsleep(&non_event, prio, wmesg, 1); in nfs_catnap()
/freebsd/sys/fs/procfs/
H A Dprocfs_status.c68 const char *wmesg; in procfs_doprocstatus() local
119 wmesg = tdfirst->td_wmesg; in procfs_doprocstatus()
121 wmesg = "nochan"; in procfs_doprocstatus()
140 sbuf_printf(sb, " %s", wmesg); in procfs_doprocstatus()
/freebsd/sys/geom/mirror/
H A Dg_mirror.c84 #define MSLEEP(ident, mtx, priority, wmesg, timeout) do { \ argument
86 msleep((ident), (mtx), (priority), (wmesg), (timeout)); \
/freebsd/sys/geom/raid/
H A Dg_raid.c90 #define MSLEEP(rv, ident, mtx, priority, wmesg, timeout) do { \ argument
92 rv = msleep((ident), (mtx), (priority), (wmesg), (timeout)); \
/freebsd/sys/geom/raid3/
H A Dg_raid3.c95 #define MSLEEP(ident, mtx, priority, wmesg, timeout) do { \ argument
97 msleep((ident), (mtx), (priority), (wmesg), (timeout)); \
/freebsd/sys/kern/
H A Dkern_condvar.c128 strlcpy(wmesg, cv_wmesg(cvp), sizeof(wmesg)); in _cv_wait()
129 ktrcsw(1, 0, wmesg); in _cv_wait()
131 wmesg[0] = '\0'; in _cv_wait()
194 strlcpy(wmesg, cv_wmesg(cvp), sizeof(wmesg)); in _cv_wait_unlock()
197 wmesg[0] = '\0'; in _cv_wait_unlock()
249 strlcpy(wmesg, cv_wmesg(cvp), sizeof(wmesg)); in _cv_wait_sig()
252 wmesg[0] = '\0'; in _cv_wait_sig()
317 strlcpy(wmesg, cv_wmesg(cvp), sizeof(wmesg)); in _cv_timedwait_sbt()
320 wmesg[0] = '\0'; in _cv_timedwait_sbt()
387 strlcpy(wmesg, cv_wmesg(cvp), sizeof(wmesg)); in _cv_timedwait_sig_sbt()
[all …]
H A Dkern_ktrace.c817 ktrcsw(int out, int user, const char *wmesg) in ktrcsw() argument
832 if (wmesg != NULL) in ktrcsw()
833 strlcpy(kc->wmesg, wmesg, sizeof(kc->wmesg)); in ktrcsw()
835 bzero(kc->wmesg, sizeof(kc->wmesg)); in ktrcsw()
H A Dkern_lock.c271 const char *wmesg, int pri, int timo, int queue) in sleeplk() argument
292 sleepq_add(&lk->lock_object, NULL, wmesg, SLEEPQ_LK | (catch ? in sleeplk()
436 lockinit(struct lock *lk, int pri, const char *wmesg, int timo, int flags) in lockinit() argument
442 ("%s: lockmgr not aligned for %s: %p", __func__, wmesg, in lockinit()
462 lock_init(&lk->lock_object, &lock_class_lockmgr, wmesg, NULL, iflags); in lockinit()
1306 const char *wmesg, int pri, int timo, const char *file, int line) in __lockmgr_args() argument
1326 iwmesg = (wmesg == LK_WMESG_DEFAULT) ? lk->lock_object.lo_name : wmesg; in __lockmgr_args()
H A Dkern_sendfile.c280 sendfile_iowait(struct sf_io *sfio, const char *wmesg) in sendfile_iowait() argument
283 pause(wmesg, 1); in sendfile_iowait()
H A Dkern_synch.c132 const char *wmesg, sbintime_t sbt, sbintime_t pr, int flags) in _sleep() argument
144 ktrcsw(1, 0, wmesg); in _sleep()
147 "Sleeping on \"%s\"", wmesg); in _sleep()
181 td->td_tid, td->td_proc->p_pid, td->td_name, wmesg, ident); in _sleep()
205 sleepq_add(ident, lock, wmesg, sleepq_flags, 0); in _sleep()
226 ktrcsw(0, 0, wmesg); in _sleep()
265 sleepq_add(ident, &mtx->lock_object, wmesg, SLEEPQ_SLEEP, 0); in msleep_spin_sbt()
279 ktrcsw(1, 0, wmesg); in msleep_spin_sbt()
286 wmesg); in msleep_spin_sbt()
297 ktrcsw(0, 0, wmesg); in msleep_spin_sbt()
[all …]
H A Dkern_sysctl.c115 #define SYSCTL_SLEEP(ch, wmesg, timo) \ argument
116 rm_sleep(ch, &sysctllock, 0, wmesg, timo)

12