Home
last modified time | relevance | path

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

12

/illumos-gate/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()
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 Dcondvar.c198 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 Dclock_thread.c90 thread_lock(t); in clock_thread_usrsys_gettime()
H A Dsig.c269 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 Dlwp.c809 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 Dschedctl.c125 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 Dcallb.c380 thread_lock(tp); in callb_is_stopped()
/illumos-gate/usr/src/cmd/svc/configd/
H A Dconfigd.c90 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 Dcpr_uthread.c128 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 Dshuttle.c91 thread_lock(curthread); in shuttle_resume()
183 thread_lock(curthread); in shuttle_swtch()
220 thread_lock(t); in shuttle_sleep()
H A Dts.c695 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()
2179 thread_lock(tx); in ia_set_process_group()
[all …]
H A Dfx.c523 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 Dfss.c1368 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()
2410 thread_lock(t); in fss_tick()
2770 thread_lock(t); in fss_changeproj()
[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.c743 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 Ddisp_lock.c116 thread_lock(kthread_id_t t) in thread_lock() function
/illumos-gate/usr/src/uts/sun4u/sunfire/io/
H A Dsysctrl_quiesce.c357 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 Dyield.c50 thread_lock(t); in yield()
H A Dlwp_timer.c82 thread_lock(t); in lwp_timer_timeout()
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_quiesce.c540 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 Dprcontrol.c1144 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()
1474 thread_lock(t); in allsetrun()
1616 thread_lock(t); in pr_setsig()
2227 thread_lock(ct); in pr_agent()
2488 thread_lock(t); in pr_allstopped()
2522 thread_lock(t); in pauselwps()
[all …]
/illumos-gate/usr/src/uts/i86pc/io/dr/
H A Ddr_quiesce.c558 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 Ddr_quiesce.c559 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 Dsyscall.c706 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 Dip_squeue.c286 thread_lock(sq->sq_worker); in ip_squeue_getfree()
290 thread_lock(sq->sq_poll_thr); in ip_squeue_getfree()

12