Home
last modified time | relevance | path

Searched refs:wakeup_swapper (Results 1 – 11 of 11) sorted by relevance

/trueos/sys/kern/
HDkern_thread.c403 int wakeup_swapper; in thread_exit() local
450 wakeup_swapper = thread_unsuspend_one( in thread_exit()
453 if (wakeup_swapper) in thread_exit()
597 int wakeup_swapper; in weed_inhib() local
603 wakeup_swapper = 0; in weed_inhib()
607 wakeup_swapper |= thread_unsuspend_one(td2, p, true); in weed_inhib()
609 wakeup_swapper |= sleepq_abort(td2, EINTR); in weed_inhib()
613 wakeup_swapper |= thread_unsuspend_one(td2, p, false); in weed_inhib()
615 wakeup_swapper |= sleepq_abort(td2, ERESTART); in weed_inhib()
619 wakeup_swapper |= thread_unsuspend_one(td2, p, false); in weed_inhib()
[all …]
HDkern_condvar.c420 int wakeup_swapper; in cv_signal() local
422 wakeup_swapper = 0; in cv_signal()
426 wakeup_swapper = sleepq_signal(cvp, SLEEPQ_CONDVAR, 0, 0); in cv_signal()
429 if (wakeup_swapper) in cv_signal()
440 int wakeup_swapper; in cv_broadcastpri() local
446 wakeup_swapper = 0; in cv_broadcastpri()
452 wakeup_swapper = sleepq_broadcast(cvp, SLEEPQ_CONDVAR, pri, 0); in cv_broadcastpri()
455 if (wakeup_swapper) in cv_broadcastpri()
HDsubr_sleepqueue.c812 int wakeup_swapper; in sleepq_signal() local
836 wakeup_swapper = sleepq_resume_thread(sq, besttd, pri); in sleepq_signal()
838 return (wakeup_swapper); in sleepq_signal()
849 int wakeup_swapper; in sleepq_broadcast() local
861 wakeup_swapper = 0; in sleepq_broadcast()
865 wakeup_swapper = 1; in sleepq_broadcast()
868 return (wakeup_swapper); in sleepq_broadcast()
882 int wakeup_swapper; in sleepq_timeout() local
885 wakeup_swapper = 0; in sleepq_timeout()
901 wakeup_swapper = sleepq_resume_thread(sq, td, 0); in sleepq_timeout()
[all …]
HDkern_synch.c389 int wakeup_swapper; in wakeup() local
392 wakeup_swapper = sleepq_broadcast(ident, SLEEPQ_SLEEP, 0, 0); in wakeup()
394 if (wakeup_swapper) { in wakeup()
409 int wakeup_swapper; in wakeup_one() local
412 wakeup_swapper = sleepq_signal(ident, SLEEPQ_SLEEP, 0, 0); in wakeup_one()
414 if (wakeup_swapper) in wakeup_one()
HDkern_lock.c240 int queue, wakeup_swapper; in wakeupshlk() local
245 wakeup_swapper = 0; in wakeupshlk()
308 wakeup_swapper = in wakeupshlk()
334 wakeup_swapper |= sleepq_broadcast(&lk->lock_object, SLEEPQ_LK, in wakeupshlk()
343 return (wakeup_swapper); in wakeupshlk()
465 int error, ipri, itimo, queue, wakeup_swapper; in __lockmgr_args() local
519 wakeup_swapper = 0; in __lockmgr_args()
752 wakeup_swapper |= wakeupshlk(lk, file, line); in __lockmgr_args()
1086 wakeup_swapper = in __lockmgr_args()
1108 wakeup_swapper |= sleepq_broadcast(&lk->lock_object, in __lockmgr_args()
[all …]
HDkern_sx.c433 int wakeup_swapper; in sx_downgrade_() local
477 wakeup_swapper = 0; in sx_downgrade_()
482 wakeup_swapper = sleepq_broadcast(&sx->lock_object, SLEEPQ_SX, in sx_downgrade_()
489 if (wakeup_swapper) in sx_downgrade_()
735 int queue, wakeup_swapper; in _sx_xunlock_hard() local
780 wakeup_swapper = sleepq_broadcast(&sx->lock_object, SLEEPQ_SX, 0, in _sx_xunlock_hard()
783 if (wakeup_swapper) in _sx_xunlock_hard()
987 int wakeup_swapper; in _sx_sunlock_hard() local
1058 wakeup_swapper = sleepq_broadcast(&sx->lock_object, SLEEPQ_SX, in _sx_sunlock_hard()
1061 if (wakeup_swapper) in _sx_sunlock_hard()
HDkern_sig.c2088 int wakeup_swapper; in tdsendsignal() local
2295 wakeup_swapper = 0; in tdsendsignal()
2299 wakeup_swapper = sleepq_abort(td, intrval); in tdsendsignal()
2302 if (wakeup_swapper) in tdsendsignal()
2370 int wakeup_swapper; in tdsigwakeup() local
2372 wakeup_swapper = 0; in tdsigwakeup()
2426 wakeup_swapper = sleepq_abort(td, intrval); in tdsigwakeup()
2441 if (wakeup_swapper) in tdsigwakeup()
/trueos/sys/ofed/include/linux/
HDwait.h52 int wakeup_swapper; in __wake_up() local
58 wakeup_swapper = sleepq_broadcast(c, SLEEPQ_SLEEP, 0, 0); in __wake_up()
60 wakeup_swapper = sleepq_signal(c, SLEEPQ_SLEEP, 0, 0); in __wake_up()
62 if (wakeup_swapper) in __wake_up()
HDsched.h94 int wakeup_swapper; \
100 wakeup_swapper = sleepq_signal(c, SLEEPQ_SLEEP, 0, 0); \
102 if (wakeup_swapper) \
HDlinux_compat.c765 int wakeup_swapper; in linux_complete_common() local
770 wakeup_swapper = sleepq_broadcast(c, SLEEPQ_SLEEP, 0, 0); in linux_complete_common()
772 wakeup_swapper = sleepq_signal(c, SLEEPQ_SLEEP, 0, 0); in linux_complete_common()
774 if (wakeup_swapper) in linux_complete_common()
/trueos/
Dinitial stab at compiling mach.diff7044 wakeup_swapper = 0;