Searched refs:wmesg (Results 1 - 25 of 45) sorted by relevance

12

/freebsd-13-stable/sys/sys/
H A Dblockcount.h44 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 Dlockmgr.h73 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 Dsystm.h512 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 Dsleepqueue.h92 const char *wmesg, int flags, int queue);
H A Drmlock.h99 #define rm_sleep(chan, rm, pri, wmesg, timo) \
100 _sleep((chan), &(rm)->lock_object, (pri), (wmesg), \
H A Dktrace.h149 char wmesg[8]; member in struct:ktr_csw
H A Drwlock.h240 #define rw_sleep(chan, rw, pri, wmesg, timo) \
241 _sleep((chan), &(rw)->lock_object, (pri), (wmesg), \
H A Dsx.h265 #define sx_sleep(chan, sx, pri, wmesg, timo) \
266 _sleep((chan), &(sx)->lock_object, (pri), (wmesg), \
H A Dbuf.h316 #define BUF_TIMELOCK(bp, locktype, interlock, wmesg, catch, timo) \
318 (interlock), (wmesg), (PRIBIO + 4) | (catch), (timo), \
/freebsd-13-stable/sys/kern/
H A Dkern_synch.c136 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 Dsubr_sleepqueue.c158 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 Dkern_ktrace.c813 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 Dkern_lock.c267 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 Dprocfs_status.c72 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 Ddb_ps.c98 * 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 Dos_bsd.h210 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 Dos_bsd.h204 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 Dos_bsd.h205 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 Dppb_base.c239 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 Dcam_xpt.h131 #define xpt_path_sleep(path, chan, priority, wmesg, timo) \
132 msleep((chan), xpt_path_mtx(path), (priority), (wmesg), (timo))
H A Dcam_periph.h230 #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 Dvm_object.h261 #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 Dlinux_schedule.c46 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 Dnfs_commonport.c271 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 Dhptiop.h477 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

Completed in 331 milliseconds

12