| /titanic_50/usr/src/cmd/svc/configd/ |
| H A D | configd.c | 89 static pthread_mutex_t thread_lock = PTHREAD_MUTEX_INITIALIZER; variable 155 (void) pthread_mutex_lock(&thread_lock); in reserve_new_thread() 158 (void) pthread_mutex_unlock(&thread_lock); in reserve_new_thread() 162 (void) pthread_mutex_unlock(&thread_lock); in reserve_new_thread() 183 (void) pthread_mutex_lock(&thread_lock); in thread_exiting() 195 (void) pthread_mutex_unlock(&thread_lock); in thread_exiting() 277 (void) pthread_mutex_lock(&thread_lock); in thread_start() 281 (void) pthread_mutex_unlock(&thread_lock); in thread_start()
|
| /titanic_50/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() 600 thread_lock(tp); in swapin() 655 thread_lock(tp); in swapout() 784 thread_lock(tp); in swapout_lwp() 794 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 | lwp.c | 808 thread_lock(t); in lwp_create_done() 1127 thread_lock(t); in lwp_suspend() 1175 thread_lock(t); in lwp_suspend() 1203 thread_lock(t); in lwp_continue() 1577 thread_lock(t); in pokelwps() 1635 thread_lock(t); /* SUSPENDED looks at t_schedflag */ in continuelwps()
|
| H A D | schedctl.c | 117 thread_lock(t); /* protect against ts_tick and ts_update */ in schedctl() 144 thread_lock(t); /* protect against ts_tick and ts_update */ in schedctl_lwp_cleanup()
|
| H A D | callb.c | 382 thread_lock(tp); in callb_is_stopped()
|
| H A D | cpu.c | 423 thread_lock(t); in thread_affinity_set() 463 thread_lock(t); in thread_affinity_clear() 575 thread_lock(curthread); in thread_nomigrate() 854 thread_lock(t); in cpu_pause_alloc() 888 thread_lock(t); in cpu_pause_free() 956 thread_lock(t); in cpu_pause_start() 2536 thread_lock(tp); in cpu_bind_thread()
|
| /titanic_50/usr/src/uts/common/cpr/ |
| H A D | cpr_uthread.c | 130 thread_lock(tp); /* needed to check CPR_ISTOPPED */ in cpr_stop_user() 147 thread_lock(tp); in cpr_stop_user() 184 thread_lock(tp); in cpr_check_user_threads() 245 thread_lock(tp); in cpr_start_user_threads()
|
| /titanic_50/usr/src/uts/common/disp/ |
| H A D | shuttle.c | 93 thread_lock(curthread); in shuttle_resume() 185 thread_lock(curthread); in shuttle_swtch() 222 thread_lock(t); in shuttle_sleep()
|
| H A D | fx.c | 524 thread_lock(t); /* get dispatcher lock on thread */ in fx_enterclass() 543 thread_lock(t); in fx_exit() 575 thread_lock(fxpp->fx_tp); in fx_exitclass() 614 thread_lock(t); in fx_fork() 668 thread_lock(t); in fx_forkret() 1024 thread_lock(tx); in fx_parmsset() 1297 thread_lock(t); in fx_tick() 1708 thread_lock(curthread); /* get dispatcher lock on thread */ in fx_register_callbacks() 1771 thread_lock(fxpp->fx_tp); in fx_unregister_callbacks() 1800 thread_lock(fxpp->fx_tp); in fx_modify_priority()
|
| H A D | ts.c | 632 thread_lock(t); /* get dispatcher lock on thread */ in ts_enterclass() 696 thread_lock(t); in ts_fork() 748 thread_lock(t); in ts_forkret() 1211 thread_lock(tx); in ts_parmsset() 1274 thread_lock(tx); in ia_parmsset() 1303 thread_lock(tx); in ia_parmsset() 1332 thread_lock(t); in ts_exit() 1661 thread_lock(t); in ts_tick() 1774 thread_lock(t); in ts_trapret() 1855 thread_lock(tx); in ts_update_list() [all …]
|
| H A D | fss.c | 1369 thread_lock(t); in fss_update_list() 1732 thread_lock(t); in fss_enterclass() 1783 thread_lock(t); in fss_exitclass() 1867 thread_lock(pt); in fss_fork() 1877 thread_lock(pt); in fss_fork() 1934 thread_lock(t); in fss_forkret() 2032 thread_lock(t); in fss_parmsset() 2086 thread_lock(t); in fss_exit() 2121 thread_lock(t); in fss_exit() 2253 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 | 118 thread_lock(kthread_id_t t) in thread_lock() function
|
| /titanic_50/usr/src/uts/sun4u/sunfire/io/ |
| H A D | sysctrl_quiesce.c | 356 thread_lock(tp); in sysctrl_stop_user_threads() 368 thread_lock(tp); in sysctrl_stop_user_threads() 408 thread_lock(tp); in sysctrl_stop_user_threads() 512 thread_lock(tp); in sysctrl_start_user_threads()
|
| /titanic_50/usr/src/uts/common/syscall/ |
| H A D | yield.c | 53 thread_lock(t); in yield()
|
| H A D | lwp_timer.c | 82 thread_lock(t); in lwp_timer_timeout()
|
| /titanic_50/usr/src/uts/sun4u/serengeti/io/ |
| H A D | sbdp_quiesce.c | 537 thread_lock(tp); 549 thread_lock(tp); 587 thread_lock(tp); 640 thread_lock(tp);
|
| /titanic_50/usr/src/uts/common/fs/proc/ |
| H A D | prcontrol.c | 1005 thread_lock(t); in pr_thread() 1047 thread_lock(t); in pr_stop() 1123 thread_lock(t); in pr_wait_stop() 1135 thread_lock(t); in pr_wait_stop() 1218 thread_lock(t); in pr_setrun() 1276 thread_lock(tx); in pr_setrun() 1335 thread_lock(t); in allsetrun() 1477 thread_lock(t); in pr_setsig() 1496 thread_lock(tx); in pr_setsig() 2109 thread_lock(ct); in pr_agent() [all …]
|
| /titanic_50/usr/src/uts/i86pc/io/dr/ |
| H A D | dr_quiesce.c | 556 thread_lock(tp); in dr_stop_user_threads() 568 thread_lock(tp); in dr_stop_user_threads() 607 thread_lock(tp); in dr_stop_user_threads() 674 thread_lock(tp); in dr_start_user_threads()
|
| /titanic_50/usr/src/uts/sun4u/ngdr/io/ |
| H A D | dr_quiesce.c | 557 thread_lock(tp); in dr_stop_user_threads() 569 thread_lock(tp); in dr_stop_user_threads() 608 thread_lock(tp); in dr_stop_user_threads() 675 thread_lock(tp); in dr_start_user_threads()
|
| /titanic_50/usr/src/uts/intel/ia32/os/ |
| H A D | syscall.c | 728 thread_lock(t); in post_syscall() 744 thread_lock(t); in post_syscall() 931 thread_lock(t); in get_syscall_args()
|
| /titanic_50/usr/src/uts/common/inet/ip/ |
| H A D | ip_squeue.c | 296 thread_lock(sq->sq_worker); in ip_squeue_getfree() 300 thread_lock(sq->sq_poll_thr); in ip_squeue_getfree()
|