/illumos-gate/usr/src/uts/common/os/ |
H A D | sched.c | 223 thread_lock(t); in sched() 280 thread_lock(t); in sched() 314 thread_lock(t); in sched() 424 thread_lock(t); in sched() 490 thread_lock(t); in sched() 552 thread_lock(tp); in swapin() 597 thread_lock(tp); in swapin() 652 thread_lock(tp); in swapout() 775 thread_lock(tp); in swapout_lwp() 785 thread_lock(tp); in swapout_lwp()
|
H A D | condvar.c | 198 thread_lock(curthread); /* lock the thread */ in cv_wait() 281 thread_lock(t); /* lock the thread */ in cv_timedwait_hires() 334 thread_lock(t); in cv_wait_sig() 414 thread_lock(t); in cv_timedwait_sig_hires() 555 thread_lock(t); in cv_wait_sig_swap_core() 684 thread_lock(t); /* lock the thread */ in cv_wait_stop()
|
H A D | sig.c | 269 thread_lock(tt); in sigtoproc() 313 thread_lock(t); in sigtoproc() 337 thread_lock(tt); in sigtoproc() 352 thread_lock(tt); in sigtoproc() 829 thread_lock(t); in jobstopped() 970 thread_lock(tx); in stop() 1078 thread_lock(tx); in stop() 1174 thread_lock(t); in stop() 1194 thread_lock(t); in stop() 1205 thread_lock(t); in stop() [all …]
|
H A D | clock_thread.c | 90 thread_lock(t); in clock_thread_usrsys_gettime()
|
H A D | lwp.c | 809 thread_lock(t); in lwp_create_done() 1122 thread_lock(t); in lwp_suspend() 1170 thread_lock(t); in lwp_suspend() 1198 thread_lock(t); in lwp_continue() 1572 thread_lock(t); in pokelwps() 1630 thread_lock(t); /* SUSPENDED looks at t_schedflag */ in continuelwps()
|
H A D | schedctl.c | 125 thread_lock(t); /* protect against ts_tick and ts_update */ in schedctl() 152 thread_lock(t); /* protect against ts_tick and ts_update */ in schedctl_lwp_cleanup()
|
H A D | cpu.c | 448 thread_lock(t); in thread_affinity_set() 489 thread_lock(t); in thread_affinity_clear() 601 thread_lock(curthread); in thread_nomigrate() 880 thread_lock(t); in cpu_pause_alloc() 914 thread_lock(t); in cpu_pause_free() 982 thread_lock(t); in cpu_pause_start() 2561 thread_lock(tp); in cpu_bind_thread()
|
/illumos-gate/usr/src/cmd/svc/configd/ |
H A D | configd.c | 90 static pthread_mutex_t thread_lock = PTHREAD_MUTEX_INITIALIZER; variable 156 (void) pthread_mutex_lock(&thread_lock); in reserve_new_thread() 159 (void) pthread_mutex_unlock(&thread_lock); in reserve_new_thread() 163 (void) pthread_mutex_unlock(&thread_lock); in reserve_new_thread() 184 (void) pthread_mutex_lock(&thread_lock); in thread_exiting() 196 (void) pthread_mutex_unlock(&thread_lock); in thread_exiting() 278 (void) pthread_mutex_lock(&thread_lock); in thread_start() 282 (void) pthread_mutex_unlock(&thread_lock); in thread_start()
|
/illumos-gate/usr/src/uts/common/cpr/ |
H A D | cpr_uthread.c | 128 thread_lock(tp); /* needed to check CPR_ISTOPPED */ in cpr_stop_user() 145 thread_lock(tp); in cpr_stop_user() 182 thread_lock(tp); in cpr_check_user_threads() 243 thread_lock(tp); in cpr_start_user_threads()
|
/illumos-gate/usr/src/uts/common/disp/ |
H A D | shuttle.c | 91 thread_lock(curthread); in shuttle_resume() 183 thread_lock(curthread); in shuttle_swtch() 220 thread_lock(t); in shuttle_sleep()
|
H A D | ts.c | 631 thread_lock(t); /* get dispatcher lock on thread */ in ts_enterclass() 695 thread_lock(t); in ts_fork() 747 thread_lock(t); in ts_forkret() 1210 thread_lock(tx); in ts_parmsset() 1273 thread_lock(tx); in ia_parmsset() 1302 thread_lock(tx); in ia_parmsset() 1331 thread_lock(t); in ts_exit() 1657 thread_lock(t); in ts_tick() 1768 thread_lock(t); in ts_trapret() 1849 thread_lock(tx); in ts_update_list() [all …]
|
H A D | fx.c | 523 thread_lock(t); /* get dispatcher lock on thread */ in fx_enterclass() 542 thread_lock(t); in fx_exit() 574 thread_lock(fxpp->fx_tp); in fx_exitclass() 613 thread_lock(t); in fx_fork() 667 thread_lock(t); in fx_forkret() 1023 thread_lock(tx); in fx_parmsset() 1293 thread_lock(t); in fx_tick() 1702 thread_lock(curthread); /* get dispatcher lock on thread */ in fx_register_callbacks() 1765 thread_lock(fxpp->fx_tp); in fx_unregister_callbacks() 1794 thread_lock(fxpp->fx_tp); in fx_modify_priority()
|
H A D | fss.c | 1368 thread_lock(t); in fss_update_list() 1731 thread_lock(t); in fss_enterclass() 1782 thread_lock(t); in fss_exitclass() 1866 thread_lock(pt); in fss_fork() 1876 thread_lock(pt); in fss_fork() 1933 thread_lock(t); in fss_forkret() 2031 thread_lock(t); in fss_parmsset() 2085 thread_lock(t); in fss_exit() 2120 thread_lock(t); in fss_exit() 2252 thread_lock(t); in fss_trapret() [all …]
|
H A D | rt.c | 414 thread_lock(t); in rt_enterclass() 469 thread_lock(t); in rt_fork() 875 thread_lock(tx); in rt_parmsset() 996 thread_lock(t); in rt_tick() 1002 thread_lock(t); in rt_tick()
|
H A D | sysdc.c | 743 thread_lock(t); in sysdc_update() 851 thread_lock(t); in sysdc_tick() 979 thread_lock(t); in sysdc_enterclass() 1045 thread_lock(t); in sysdc_exit()
|
H A D | disp_lock.c | 116 thread_lock(kthread_id_t t) in thread_lock() function
|
/illumos-gate/usr/src/uts/sun4u/sunfire/io/ |
H A D | sysctrl_quiesce.c | 357 thread_lock(tp); in sysctrl_stop_user_threads() 369 thread_lock(tp); in sysctrl_stop_user_threads() 409 thread_lock(tp); in sysctrl_stop_user_threads() 513 thread_lock(tp); in sysctrl_start_user_threads()
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | yield.c | 50 thread_lock(t); in yield()
|
H A D | lwp_timer.c | 82 thread_lock(t); in lwp_timer_timeout()
|
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp_quiesce.c | 540 thread_lock(tp); 552 thread_lock(tp); 590 thread_lock(tp); 643 thread_lock(tp);
|
/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prcontrol.c | 1144 thread_lock(t); in pr_thread() 1186 thread_lock(t); in pr_stop() 1262 thread_lock(t); in pr_wait_stop() 1274 thread_lock(t); in pr_wait_stop() 1357 thread_lock(t); in pr_setrun() 1415 thread_lock(tx); in pr_setrun() 1474 thread_lock(t); in allsetrun() 1616 thread_lock(t); in pr_setsig() 1635 thread_lock(tx); in pr_setsig() 2227 thread_lock(ct); in pr_agent() [all …]
|
/illumos-gate/usr/src/uts/i86pc/io/dr/ |
H A D | dr_quiesce.c | 558 thread_lock(tp); in dr_stop_user_threads() 570 thread_lock(tp); in dr_stop_user_threads() 609 thread_lock(tp); in dr_stop_user_threads() 676 thread_lock(tp); in dr_start_user_threads()
|
/illumos-gate/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr_quiesce.c | 559 thread_lock(tp); in dr_stop_user_threads() 571 thread_lock(tp); in dr_stop_user_threads() 610 thread_lock(tp); in dr_stop_user_threads() 677 thread_lock(tp); in dr_start_user_threads()
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | syscall.c | 706 thread_lock(t); in post_syscall() 722 thread_lock(t); in post_syscall() 915 thread_lock(t); in get_syscall_args()
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_squeue.c | 286 thread_lock(sq->sq_worker); in ip_squeue_getfree() 290 thread_lock(sq->sq_poll_thr); in ip_squeue_getfree()
|