Home
last modified time | relevance | path

Searched refs:thread_lock (Results 1 – 25 of 48) sorted by relevance

12

/titanic_41/usr/src/cmd/svc/configd/
H A Dconfigd.c89 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_41/usr/src/uts/common/os/
H A Dsched.c223 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 Dcondvar.c197 thread_lock(curthread); /* lock the thread */ in cv_wait()
280 thread_lock(t); /* lock the thread */ in cv_timedwait_hires()
333 thread_lock(t); in cv_wait_sig()
413 thread_lock(t); in cv_timedwait_sig_hires()
554 thread_lock(t); in cv_wait_sig_swap_core()
684 thread_lock(t); /* lock the thread */ in cv_wait_stop()
H A Dsig.c262 thread_lock(tt); in sigtoproc()
306 thread_lock(t); in sigtoproc()
325 thread_lock(tt); in sigtoproc()
340 thread_lock(tt); in sigtoproc()
813 thread_lock(t); in jobstopped()
954 thread_lock(tx); in stop()
1062 thread_lock(tx); in stop()
1158 thread_lock(t); in stop()
1178 thread_lock(t); in stop()
1189 thread_lock(t); in stop()
[all …]
H A Dlwp.c808 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 Dschedctl.c117 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 Dcallb.c382 thread_lock(tp); in callb_is_stopped()
H A Dcpu.c423 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_41/usr/src/uts/common/cpr/
H A Dcpr_uthread.c130 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_41/usr/src/uts/common/disp/
H A Dshuttle.c93 thread_lock(curthread); in shuttle_resume()
185 thread_lock(curthread); in shuttle_swtch()
222 thread_lock(t); in shuttle_sleep()
H A Dfx.c524 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 Dfss.c1369 thread_lock(t); in fss_update_list()
1734 thread_lock(t); in fss_enterclass()
1785 thread_lock(t); in fss_exitclass()
1869 thread_lock(pt); in fss_fork()
1879 thread_lock(pt); in fss_fork()
1936 thread_lock(t); in fss_forkret()
2035 thread_lock(t); in fss_parmsset()
2094 thread_lock(t); in fss_exit()
2129 thread_lock(t); in fss_exit()
2282 thread_lock(t); in fss_trapret()
[all …]
H A Dts.c633 thread_lock(t); /* get dispatcher lock on thread */ in ts_enterclass()
697 thread_lock(t); in ts_fork()
749 thread_lock(t); in ts_forkret()
1213 thread_lock(tx); in ts_parmsset()
1281 thread_lock(tx); in ia_parmsset()
1310 thread_lock(tx); in ia_parmsset()
1339 thread_lock(t); in ts_exit()
1712 thread_lock(t); in ts_tick()
1845 thread_lock(t); in ts_trapret()
1926 thread_lock(tx); in ts_update_list()
[all …]
H A Drt.c414 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 Dsysdc.c769 thread_lock(t); in sysdc_update()
877 thread_lock(t); in sysdc_tick()
1005 thread_lock(t); in sysdc_enterclass()
1071 thread_lock(t); in sysdc_exit()
H A Ddisp_lock.c118 thread_lock(kthread_id_t t) in thread_lock() function
/titanic_41/usr/src/uts/sun4u/sunfire/io/
H A Dsysctrl_quiesce.c356 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_41/usr/src/uts/common/syscall/
H A Dyield.c53 thread_lock(t); in yield()
H A Dlwp_timer.c82 thread_lock(t); in lwp_timer_timeout()
/titanic_41/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_quiesce.c537 thread_lock(tp);
549 thread_lock(tp);
587 thread_lock(tp);
640 thread_lock(tp);
/titanic_41/usr/src/uts/common/fs/proc/
H A Dprcontrol.c1005 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_41/usr/src/uts/i86pc/io/dr/
H A Ddr_quiesce.c556 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_41/usr/src/uts/sun4u/ngdr/io/
H A Ddr_quiesce.c557 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_41/usr/src/uts/intel/ia32/os/
H A Dsyscall.c727 thread_lock(t); in post_syscall()
743 thread_lock(t); in post_syscall()
930 thread_lock(t); in get_syscall_args()
/titanic_41/usr/src/uts/common/inet/ip/
H A Dip_squeue.c296 thread_lock(sq->sq_worker); in ip_squeue_getfree()
300 thread_lock(sq->sq_poll_thr); in ip_squeue_getfree()

12