Home
last modified time | relevance | path

Searched refs:wmesg (Results 1 – 25 of 48) sorted by last modified time

12

/freebsd/sys/kern/
H A Dvfs_vnops.c4103 vn_lock_pair_pause(const char *wmesg) in vn_lock_pair_pause() argument
4106 pause(wmesg, prng32_bounded(vn_lock_pair_pause_max)); in vn_lock_pair_pause()
H A Dkern_sysctl.c115 #define SYSCTL_SLEEP(ch, wmesg, timo) \ argument
116 rm_sleep(ch, &sysctllock, 0, wmesg, timo)
H A Dkern_umtx.c812 umtxq_sleep(struct umtx_q *uq, const char *wmesg, in umtxq_sleep() argument
834 error = msleep_sbt(uq, &uc->uc_lock, PCATCH | PDROP, wmesg, in umtxq_sleep()
2017 const char *wmesg, struct umtx_abs_timeout *timo, bool shared) in umtxq_sleep_pi() argument
2064 error = umtxq_sleep(uq, wmesg, timo); in umtxq_sleep_pi()
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_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_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 Dvfs_bio.c4491 biowait(struct bio *bp, const char *wmesg) in biowait() argument
4498 msleep(bp, mtxp, PRIBIO, wmesg, 0); in biowait()
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()
/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/fs/nfs/
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()
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()
/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/usr.bin/kdump/
H A Dkdump.c1810 cs->user ? "user" : "kernel", cs->wmesg); in ktrcsw()
/freebsd/sys/vm/
H A Dvm_page.h599 vm_pindex_t pindex, const char *wmesg, int allocflags);
H A Dvm_object.c2485 vm_object_busy_wait(vm_object_t obj, const char *wmesg) in vm_object_busy_wait() argument
2490 (void)blockcount_sleep(&obj->busy, NULL, wmesg, PVM); in vm_object_busy_wait()
H A Dvm_page.c167 vm_pindex_t pindex, const char *wmesg, int allocflags, bool locked);
1014 vm_page_busy_sleep(vm_page_t m, const char *wmesg, int allocflags) in vm_page_busy_sleep() argument
1021 return (_vm_page_busy_sleep(obj, m, m->pindex, wmesg, allocflags, in vm_page_busy_sleep()
1039 const char *wmesg, int allocflags) in vm_page_busy_sleep_unlocked() argument
1043 (void)_vm_page_busy_sleep(obj, m, pindex, wmesg, allocflags, false); in vm_page_busy_sleep_unlocked()
1060 const char *wmesg, int allocflags, bool locked) in _vm_page_busy_sleep() argument
1072 vm_object_busy_wait(obj, wmesg); in _vm_page_busy_sleep()
1099 sleepq_add(m, NULL, wmesg, 0, 0); in _vm_page_busy_sleep()
4533 const char *wmesg, int allocflags, bool locked) in vm_page_grab_sleep() argument
4546 if (_vm_page_busy_sleep(object, m, pindex, wmesg, allocflags, locked) && in vm_page_grab_sleep()
H A Dvm_object.h252 #define VM_OBJECT_SLEEP(object, wchan, pri, wmesg, timo) \ argument
253 rw_sleep((wchan), &(object)->lock, (pri), (wmesg), (timo))
336 void vm_object_busy_wait(vm_object_t object, const char *wmesg);
/freebsd/sys/sys/
H A Dktrace.h166 char wmesg[8]; member
H A Dsystm.h464 #define msleep(chan, mtx, pri, wmesg, timo) \ argument
465 _sleep((chan), &(mtx)->lock_object, (pri), (wmesg), \
467 #define msleep_sbt(chan, mtx, pri, wmesg, bt, pr, flags) \ argument
472 #define msleep_spin(chan, mtx, wmesg, timo) \ argument
478 pause(const char *wmesg, int timo) in pause() argument
480 return (pause_sbt(wmesg, tick_sbt * timo, 0, C_HARDCLOCK)); in pause()
482 #define pause_sig(wmesg, timo) \ argument
484 #define tsleep(chan, pri, wmesg, timo) \ argument
485 _sleep((chan), NULL, (pri), (wmesg), tick_sbt * (timo), \
487 #define tsleep_sbt(chan, pri, wmesg, bt, pr, flags) \ argument
[all …]
H A Dmutex.h466 #define mtx_sleep(chan, mtx, pri, wmesg, timo) \ argument
467 _sleep((chan), &(mtx)->lock_object, (pri), (wmesg), \
H A Dbuf.h298 #define BUF_LOCKINIT(bp, wmesg) \ argument
299 lockinit(&(bp)->b_lock, PRIBIO + 4, wmesg, 0, LK_NEW)
312 #define BUF_TIMELOCK(bp, locktype, interlock, wmesg, catch, timo) \ argument
314 (interlock), (wmesg), (PRIBIO + 4) | (catch), (timo), \
H A Dbio.h152 int biowait(struct bio *bp, const char *wmesg);
/freebsd/sys/ufs/ffs/
H A Dffs_softdep.c1699 wait_worklist(struct worklist *wk, char *wmesg) in wait_worklist() argument
1705 msleep(wk, LOCK_PTR(ump), PVM, wmesg, 0); in wait_worklist()
/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))
/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()

12