Home
last modified time | relevance | path

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

/freebsd-14-stable/sys/kern/
HDkern_thread.c938 int wakeup_swapper; in thread_exit() local
984 wakeup_swapper = thread_unsuspend_one( in thread_exit()
986 if (wakeup_swapper) in thread_exit()
1143 int wakeup_swapper; in weed_inhib() local
1149 wakeup_swapper = 0; in weed_inhib()
1159 wakeup_swapper |= thread_unsuspend_one(td2, p, true); in weed_inhib()
1164 wakeup_swapper |= sleepq_abort(td2, EINTR); in weed_inhib()
1165 return (wakeup_swapper); in weed_inhib()
1172 wakeup_swapper |= thread_unsuspend_one(td2, p, false); in weed_inhib()
1177 wakeup_swapper |= sleepq_abort(td2, ERESTART); in weed_inhib()
[all …]
HDkern_synch.c349 int wakeup_swapper; in wakeup() local
352 wakeup_swapper = sleepq_broadcast(ident, SLEEPQ_SLEEP, 0, 0); in wakeup()
354 if (wakeup_swapper) { in wakeup()
369 int wakeup_swapper; in wakeup_one() local
372 wakeup_swapper = sleepq_signal(ident, SLEEPQ_SLEEP | SLEEPQ_DROP, 0, 0); in wakeup_one()
373 if (wakeup_swapper) in wakeup_one()
380 int wakeup_swapper; in wakeup_any() local
383 wakeup_swapper = sleepq_signal(ident, SLEEPQ_SLEEP | SLEEPQ_UNFAIR | in wakeup_any()
385 if (wakeup_swapper) in wakeup_any()
HDsubr_sleepqueue.c933 int wakeup_swapper; in sleepq_signal() local
976 wakeup_swapper = sleepq_resume_thread(sq, besttd, pri, in sleepq_signal()
978 return (wakeup_swapper); in sleepq_signal()
1016 int wakeup_swapper; in sleepq_remove_matching() local
1024 wakeup_swapper = 0; in sleepq_remove_matching()
1027 wakeup_swapper |= sleepq_resume_thread(sq, td, pri, in sleepq_remove_matching()
1031 return (wakeup_swapper); in sleepq_remove_matching()
1045 int wakeup_swapper; in sleepq_timeout() local
1068 wakeup_swapper = sleepq_resume_thread(sq, td, 0, 0); in sleepq_timeout()
1069 if (wakeup_swapper) in sleepq_timeout()
[all …]
HDkern_lock.c192 lockmgr_exit(u_int flags, struct lock_object *ilk, int wakeup_swapper) in lockmgr_exit() argument
201 if (__predict_false(wakeup_swapper)) in lockmgr_exit()
321 int queue, wakeup_swapper; in wakeupshlk() local
323 wakeup_swapper = 0; in wakeupshlk()
367 wakeup_swapper = in wakeupshlk()
396 wakeup_swapper |= sleepq_broadcast(&lk->lock_object, SLEEPQ_LK, in wakeupshlk()
403 return (wakeup_swapper); in wakeupshlk()
1108 int wakeup_swapper = 0; in lockmgr_sunlock_hard() local
1113 wakeup_swapper = wakeupshlk(lk, file, line); in lockmgr_sunlock_hard()
1116 lockmgr_exit(flags, ilk, wakeup_swapper); in lockmgr_sunlock_hard()
[all …]
HDkern_condvar.c465 int wakeup_swapper; in cv_broadcastpri() local
473 wakeup_swapper = 0; in cv_broadcastpri()
479 wakeup_swapper = sleepq_broadcast(cvp, SLEEPQ_CONDVAR, pri, 0); in cv_broadcastpri()
482 if (wakeup_swapper) in cv_broadcastpri()
HDkern_sx.c479 int wakeup_swapper; in sx_downgrade_int() local
521 wakeup_swapper = 0; in sx_downgrade_int()
526 wakeup_swapper = sleepq_broadcast(&sx->lock_object, SLEEPQ_SX, in sx_downgrade_int()
530 if (wakeup_swapper) in sx_downgrade_int()
915 int queue, wakeup_swapper; in _sx_xunlock_hard() local
972 wakeup_swapper = sleepq_broadcast(&sx->lock_object, SLEEPQ_SX, 0, in _sx_xunlock_hard()
975 if (wakeup_swapper) in _sx_xunlock_hard()
1318 int wakeup_swapper = 0; in _sx_sunlock_hard() local
1351 wakeup_swapper = sleepq_broadcast(&sx->lock_object, SLEEPQ_SX, in _sx_sunlock_hard()
1357 if (wakeup_swapper) in _sx_sunlock_hard()
HDkern_sig.c2301 int wakeup_swapper; in tdsendsignal() local
2412 wakeup_swapper = 0; in tdsendsignal()
2519 wakeup_swapper = sig_sleepq_abort(td, intrval); in tdsendsignal()
2544 wakeup_swapper = sig_suspend_threads(td, p, &res); in tdsendsignal()
2581 if (wakeup_swapper) in tdsendsignal()
2596 int prop, wakeup_swapper; in tdsigwakeup() local
2652 wakeup_swapper = sig_sleepq_abort(td, intrval); in tdsigwakeup()
2654 if (wakeup_swapper) in tdsigwakeup()
2821 int wakeup_swapper; in sig_suspend_threads() local
2827 wakeup_swapper = 0; in sig_suspend_threads()
[all …]
/freebsd-14-stable/sys/compat/linuxkpi/common/src/
HDlinux_schedule.c102 int ret, wakeup_swapper; in wake_up_task() local
104 ret = wakeup_swapper = 0; in wake_up_task()
108 wakeup_swapper = sleepq_signal(task, SLEEPQ_SLEEP, 0, 0); in wake_up_task()
112 if (wakeup_swapper) in wake_up_task()
340 int wakeup_swapper; in wake_up_sleepers() local
343 wakeup_swapper = sleepq_signal(wchan, SLEEPQ_SLEEP, 0, 0); in wake_up_sleepers()
345 if (wakeup_swapper) in wake_up_sleepers()
HDlinux_compat.c2156 int wakeup_swapper; in linux_complete_common() local
2161 wakeup_swapper = sleepq_broadcast(c, SLEEPQ_SLEEP, 0, 0); in linux_complete_common()
2165 wakeup_swapper = sleepq_signal(c, SLEEPQ_SLEEP, 0, 0); in linux_complete_common()
2168 if (wakeup_swapper) in linux_complete_common()
/freebsd-14-stable/sys/dev/qat/qat_common/
HDadf_aer.c31 int wakeup_swapper; in linux_complete_common() local
36 wakeup_swapper = sleepq_broadcast(c, SLEEPQ_SLEEP, 0, 0); in linux_complete_common()
38 wakeup_swapper = sleepq_signal(c, SLEEPQ_SLEEP, 0, 0); in linux_complete_common()
40 if (wakeup_swapper) in linux_complete_common()