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

12

/freebsd-10-stable/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.h372 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 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.h210 #define rw_sleep(chan, rw, pri, wmesg, timo) \
211 _sleep((chan), &(rw)->lock_object, (pri), (wmesg), \
H A Dsx.h279 #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 Dsps.c47 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 Dkern_synch.c147 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 Dkern_ktrace.c732 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 Dsubr_sleepqueue.c145 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 Dsubr_smp.c799 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 Dkern_lock.c193 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 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-10-stable/sys/ddb/
H A Ddb_ps.c92 * 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 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-10-stable/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-10-stable/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-10-stable/sys/cam/
H A Dcam_xpt.h123 #define xpt_path_sleep(path, chan, priority, wmesg, timo) \
124 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-10-stable/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-10-stable/sys/fs/nfs/
H A Dnfs_commonport.c254 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 Dvm_object.h235 #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 Dnfs_krpc.c770 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 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 312 milliseconds

12