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

12

/freebsd-11.0-release/release/picobsd/tinyware/sps/
H A Dsps.c47 char buf[MAXPATHLEN], vty[5], pst[5], wmesg[10]; local
84 sprintf(wmesg, "-");
86 strcpy(wmesg, ki->ki_wmesg);
116 wmesg,
/freebsd-11.0-release/sys/sys/
H A Dlockmgr.h70 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 Dsystm.h381 int _sleep(void *chan, struct lock_object *lock, int pri, const char *wmesg,
383 #define msleep(chan, mtx, pri, wmesg, timo) \
384 _sleep((chan), &(mtx)->lock_object, (pri), (wmesg), \
386 #define msleep_sbt(chan, mtx, pri, wmesg, bt, pr, flags) \
387 _sleep((chan), &(mtx)->lock_object, (pri), (wmesg), (bt), (pr), \
389 int msleep_spin_sbt(void *chan, struct mtx *mtx, const char *wmesg,
391 #define msleep_spin(chan, mtx, wmesg, timo) \
392 msleep_spin_sbt((chan), (mtx), (wmesg), tick_sbt * (timo), \
394 int pause_sbt(const char *wmesg, sbintime_t sbt, sbintime_t pr,
396 #define pause(wmesg, tim
[all...]
H A Dsleepqueue.h89 void sleepq_add(void *wchan, struct lock_object *lock, const char *wmesg,
H A Drmlock.h97 #define rm_sleep(chan, rm, pri, wmesg, timo) \
98 _sleep((chan), &(rm)->lock_object, (pri), (wmesg), \
H A Dktrace.h148 char wmesg[8]; member in struct:ktr_csw
H A Drwlock.h214 #define rw_sleep(chan, rw, pri, wmesg, timo) \
215 _sleep((chan), &(rw)->lock_object, (pri), (wmesg), \
H A Dsx.h285 #define sx_sleep(chan, sx, pri, wmesg, timo) \
286 _sleep((chan), &(sx)->lock_object, (pri), (wmesg), \
H A Dbuf.h283 #define BUF_TIMELOCK(bp, locktype, interlock, wmesg, catch, timo) \
285 (interlock), (wmesg), (PRIBIO + 4) | (catch), (timo), \
H A Dmutex.h419 #define mtx_sleep(chan, mtx, pri, wmesg, timo) \
420 _sleep((chan), &(mtx)->lock_object, (pri), (wmesg), \
/freebsd-11.0-release/sys/kern/
H A Dkern_synch.c136 const char *wmesg, sbintime_t sbt, sbintime_t pr, int flags)
149 ktrcsw(1, 0, wmesg);
152 "Sleeping on \"%s\"", wmesg);
191 td->td_tid, p->p_pid, td->td_name, wmesg, ident);
213 sleepq_add(ident, lock, wmesg, sleepq_flags, 0);
234 ktrcsw(0, 0, wmesg);
245 msleep_spin_sbt(void *ident, struct mtx *mtx, const char *wmesg, argument
264 td->td_tid, p->p_pid, td->td_name, wmesg, ident);
274 sleepq_add(ident, &mtx->lock_object, wmesg, SLEEPQ_SLEEP, 0);
288 ktrcsw(1, 0, wmesg);
135 _sleep(void *ident, struct lock_object *lock, int priority, const char *wmesg, sbintime_t sbt, sbintime_t pr, int flags) argument
322 pause_sbt(const char *wmesg, sbintime_t sbt, sbintime_t pr, int flags) argument
[all...]
H A Dkern_ktrace.c731 ktrcsw(out, user, wmesg)
733 const char *wmesg;
745 if (wmesg != NULL)
746 strlcpy(kc->wmesg, wmesg, sizeof(kc->wmesg));
748 bzero(kc->wmesg, sizeof(kc->wmesg));
H A Dsubr_sleepqueue.c147 static void sleepq_profile(const char *wmesg);
296 sleepq_add(void *wchan, struct lock_object *lock, const char *wmesg, int flags, argument
363 td->td_wmesg = wmesg;
1184 sleepq_profile(const char *wmesg) argument
1191 LIST_FOREACH(sp, &sleepq_hash[SC_HASH(wmesg)], sp_link)
1192 if (sp->sp_wmesg == wmesg)
1197 sp->sp_wmesg = wmesg;
1199 LIST_INSERT_HEAD(&sleepq_hash[SC_HASH(wmesg)], sp, sp_link);
H A Dkern_lock.c188 const char *wmesg, int pri, int timo, int queue)
207 sleepq_add(&lk->lock_object, NULL, wmesg, SLEEPQ_LK | (catch ?
372 lockinit(struct lock *lk, int pri, const char *wmesg, int timo, int flags) argument
378 ("%s: lockmgr not aligned for %s: %p", __func__, wmesg,
396 lock_init(&lk->lock_object, &lock_class_lockmgr, wmesg, NULL, iflags);
453 const char *wmesg, int pri, int timo, const char *file, int line)
473 iwmesg = (wmesg == LK_WMESG_DEFAULT) ? lk->lock_object.lo_name : wmesg;
187 sleeplk(struct lock *lk, u_int flags, struct lock_object *ilk, const char *wmesg, int pri, int timo, int queue) argument
452 __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-11.0-release/sys/fs/procfs/
H A Dprocfs_status.c70 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-11.0-release/sys/ddb/
H A Ddb_ps.c72 * pid ppid pgrp uid state wmesg wchan cmd
73 * <pid> <ppi> <pgi> <uid> <stat> < wmesg > < wchan > <name>
75 * <tid > <stat> < wmesg > < wchan > <name>
98 db_printf(" pid ppid pgrp uid state wmesg wchan cmd\n");
100 db_printf(" pid ppid pgrp uid state wmesg wchan cmd\n");
225 const char *wmesg; local
269 wmesg = td->td_lockname;
272 wmesg = td->td_wmesg;
276 wmesg = state;
279 wmesg
[all...]
/freebsd-11.0-release/sys/dev/hpt27xx/
H A Dos_bsd.h208 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-11.0-release/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 timo) argument
204 return msleep(ident, &vbus_ext->lock, priority, wmesg, timo);
/freebsd-11.0-release/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 timo) argument
205 return msleep(ident, &vbus_ext->lock, priority, wmesg, timo);
/freebsd-11.0-release/sys/cam/
H A Dcam_xpt.h122 #define xpt_path_sleep(path, chan, priority, wmesg, timo) \
123 msleep((chan), xpt_path_mtx(path), (priority), (wmesg), (timo))
H A Dcam_periph.h213 #define cam_periph_sleep(periph, chan, priority, wmesg, timo) \
214 xpt_path_sleep((periph)->path, (chan), (priority), (wmesg), (timo))
/freebsd-11.0-release/sys/dev/ppbus/
H A Dppb_base.c237 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-11.0-release/sys/fs/nfs/
H A Dnfs_commonport.c252 nfsmsleep(void *chan, void *mutex, int prio, const char *wmesg, argument
267 error = msleep(chan, (struct mtx *)mutex, prio, wmesg, timeo);
412 nfs_catnap(int prio, int errval, const char *wmesg) argument
418 ret = tsleep(&non_event, prio, wmesg, 5 * hz);
420 ret = tsleep(&non_event, prio, wmesg, 1);
/freebsd-11.0-release/sys/vm/
H A Dvm_object.h237 #define VM_OBJECT_SLEEP(object, wchan, pri, wmesg, timo) \
238 rw_sleep((wchan), &(object)->lock, (pri), (wmesg), (timo))
/freebsd-11.0-release/sys/dev/hptiop/
H A Dhptiop.h475 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

Completed in 180 milliseconds

12