Home
last modified time | relevance | path

Searched refs:THREAD_LOCK_HELD (Results 1 – 25 of 26) sorted by relevance

12

/titanic_41/usr/src/uts/common/os/
H A Dwaitq.c159 ASSERT(THREAD_LOCK_HELD(t)); in waitq_unlink()
205 ASSERT(THREAD_LOCK_HELD(t)); in waitq_enqueue()
247 ASSERT(THREAD_LOCK_HELD(t)); in waitq_change_pri()
259 ASSERT(THREAD_LOCK_HELD(t)); in waitq_dequeue()
293 ASSERT(THREAD_LOCK_HELD(t)); in waitq_setrun()
337 ASSERT(THREAD_LOCK_HELD(t)); in waitq_runfirst()
H A Dsemaphore.c73 ASSERT(THREAD_LOCK_HELD(curthread)); \
125 ASSERT(THREAD_LOCK_HELD(t)); in sema_queue()
149 ASSERT(THREAD_LOCK_HELD(t)); in sema_dequeue()
181 ASSERT(THREAD_LOCK_HELD(t)); in sema_unsleep()
301 ASSERT(THREAD_LOCK_HELD(tp)); in sema_p_sig()
349 ASSERT(THREAD_LOCK_HELD(tp)); in sema_v()
H A Dsleepq.c139 ASSERT(THREAD_LOCK_HELD(t)); /* holding the lock on the sleepq */ in sleepq_insert()
173 ASSERT(THREAD_LOCK_HELD(t)); /* thread locked via sleepq */ in sleepq_unsleep()
199 ASSERT(THREAD_LOCK_HELD(t)); /* thread locked via sleepq */ in sleepq_dequeue()
H A Dschedctl.c262 ASSERT(THREAD_LOCK_HELD(t)); in schedctl_get_nopreempt()
274 ASSERT(THREAD_LOCK_HELD(t)); in schedctl_set_nopreempt()
289 ASSERT(THREAD_LOCK_HELD(t)); in schedctl_set_yield()
H A Dcondvar.c73 ASSERT(THREAD_LOCK_HELD(t)); in cv_unsleep()
95 ASSERT(THREAD_LOCK_HELD(t)); in cv_change_pri()
146 ASSERT(THREAD_LOCK_HELD(t)); in cv_block()
H A Dmsacct.c252 ASSERT(THREAD_LOCK_HELD(t)); in mstate_thread_onproc_time()
310 ASSERT(THREAD_LOCK_HELD(t)); in mstate_systhread_times()
618 ASSERT(t == curthread || THREAD_LOCK_HELD(t)); in new_mstate()
H A Dturnstile.c184 ASSERT(THREAD_LOCK_HELD(inheritor)); in turnstile_pi_inherit()
H A Dsched.c515 ASSERT(THREAD_LOCK_HELD(tp)); in swapdeq()
H A Dlgrp.c3023 THREAD_LOCK_HELD(t)); in lgrp_choose()
3269 THREAD_LOCK_HELD(t)); in lgrp_move_thread()
H A Dsig.c182 ASSERT(THREAD_LOCK_HELD(t)); in eat_signal()
/titanic_41/usr/src/uts/common/disp/
H A Ddisp_lock.c198 ASSERT(THREAD_LOCK_HELD(t)); in thread_transition()
217 ASSERT(THREAD_LOCK_HELD(t)); in thread_stop()
H A Drt.c907 ASSERT(THREAD_LOCK_HELD(t)); in rt_preempt()
939 ASSERT(THREAD_LOCK_HELD(t)); in rt_setrun()
963 ASSERT(THREAD_LOCK_HELD(t)); in rt_swapin()
979 ASSERT(THREAD_LOCK_HELD(t)); in rt_swapout()
1019 ASSERT(THREAD_LOCK_HELD(t)); in rt_wakeup()
1032 ASSERT(THREAD_LOCK_HELD(t)); in rt_yield()
1099 ASSERT(THREAD_LOCK_HELD(t)); in rt_change_priority()
H A Dsysdc.c447 ASSERT(THREAD_LOCK_HELD(t)); in sysdc_update_times()
570 ASSERT(THREAD_LOCK_HELD(t)); in sysdc_compute_pri()
657 ASSERT(THREAD_LOCK_HELD(t)); in sysdc_update_pri()
680 ASSERT(THREAD_LOCK_HELD(t)); in sysdc_activate()
867 ASSERT(THREAD_LOCK_HELD(t)); in sysdc_preempt()
908 ASSERT(THREAD_LOCK_HELD(t)); /* t should be in transition */ in sysdc_setrun()
939 ASSERT(THREAD_LOCK_HELD(t)); /* t should be in transition */ in sysdc_sleep()
H A Dshuttle.c51 ASSERT(THREAD_LOCK_HELD(t)); in shuttle_unsleep()
72 ASSERT(THREAD_LOCK_HELD(t)); in shuttle_change_pri()
H A Dfx.c1126 ASSERT(THREAD_LOCK_HELD(curthread)); in fx_preempt()
1197 ASSERT(THREAD_LOCK_HELD(t)); /* t should be in transition */ in fx_setrun()
1217 ASSERT(THREAD_LOCK_HELD(t)); in fx_sleep()
1249 ASSERT(THREAD_LOCK_HELD(t)); in fx_swapin()
1266 ASSERT(THREAD_LOCK_HELD(t)); in fx_swapout()
1278 ASSERT(THREAD_LOCK_HELD(t)); in fx_stop()
1382 ASSERT(THREAD_LOCK_HELD(t)); in fx_trapret()
1397 ASSERT(THREAD_LOCK_HELD(t)); in fx_wakeup()
1436 ASSERT(THREAD_LOCK_HELD(t)); in fx_yield()
1590 ASSERT(THREAD_LOCK_HELD(t)); in fx_change_priority()
H A Dfss.c794 ASSERT(THREAD_LOCK_HELD(t)); in fss_inactive()
821 ASSERT(THREAD_LOCK_HELD(t)); in fss_active()
946 ASSERT(THREAD_LOCK_HELD(tp)); in fss_newpri()
1253 ASSERT(THREAD_LOCK_HELD(t)); in fss_change_priority()
2060 ASSERT(THREAD_LOCK_HELD(t)); in fss_stop()
2155 ASSERT(THREAD_LOCK_HELD(t)); in fss_swapin()
2198 ASSERT(THREAD_LOCK_HELD(t)); in fss_swapout()
2256 ASSERT(THREAD_LOCK_HELD(t)); in fss_trapret()
2298 ASSERT(THREAD_LOCK_HELD(curthread)); in fss_preempt()
2399 ASSERT(THREAD_LOCK_HELD(t)); /* t should be in transition */ in fss_setrun()
[all …]
H A Dts.c1380 ASSERT(THREAD_LOCK_HELD(curthread)); in ts_preempt()
1481 ASSERT(THREAD_LOCK_HELD(t)); /* t should be in transition */ in ts_setrun()
1523 ASSERT(THREAD_LOCK_HELD(t)); in ts_sleep()
1587 ASSERT(THREAD_LOCK_HELD(t)); in ts_swapin()
1649 ASSERT(THREAD_LOCK_HELD(t)); in ts_swapout()
1801 ASSERT(THREAD_LOCK_HELD(t)); in ts_trapret()
1983 ASSERT(THREAD_LOCK_HELD(t)); in ts_wakeup()
2040 ASSERT(THREAD_LOCK_HELD(t)); in ts_yield()
2366 ASSERT(THREAD_LOCK_HELD(t)); in ts_change_priority()
H A Dcmt_policy.c130 ASSERT(THREAD_LOCK_HELD(tp)); in cmt_balance()
H A Dcpucaps.c969 ASSERT(THREAD_LOCK_HELD(t)); in caps_charge_adjust()
1031 ASSERT(THREAD_LOCK_HELD(t)); in cpucaps_charge()
1093 ASSERT(THREAD_LOCK_HELD(t)); in cpucaps_enforce()
H A Ddisp.c1190 ASSERT(THREAD_LOCK_HELD(tp)); in setbackdq()
1379 ASSERT(THREAD_LOCK_HELD(tp)); in setfrontdq()
1615 ASSERT(THREAD_LOCK_HELD(tp)); in dispdeq()
1729 ASSERT(THREAD_LOCK_HELD(tp)); in disp_swapped_enq()
1761 ASSERT(THREAD_LOCK_HELD(tp)); in disp_swapped_setrun()
1803 ASSERT(THREAD_LOCK_HELD(tp)); in cpu_surrender()
2153 ASSERT(THREAD_LOCK_HELD(tp)); in disp_adjust_unbound_pri()
H A Dthread.c1234 ASSERT(THREAD_LOCK_HELD(t)); in setrun_locked()
1764 ASSERT(THREAD_LOCK_HELD(t)); in thread_change_epri()
1828 ASSERT(THREAD_LOCK_HELD(t)); in thread_change_pri()
H A Dcpupart.c672 ASSERT(THREAD_LOCK_HELD(tp)); in cpupart_movable_thread()
/titanic_41/usr/src/uts/common/sys/
H A Dthread.h584 #define THREAD_LOCK_HELD(t) (DISP_LOCK_HELD((t)->t_lockp)) macro
/titanic_41/usr/src/uts/common/syscall/
H A Dlwp_sobj.c2816 ASSERT(THREAD_LOCK_HELD(t)); in lwp_unsleep()
2845 ASSERT(THREAD_LOCK_HELD(t)); in lwp_change_pri()
H A Dlgrpsys.c475 (MUTEX_HELD(&ttoproc(t)->p_lock) && THREAD_LOCK_HELD(t))); in lgrp_affinity_best()

12