Home
last modified time | relevance | path

Searched refs:pidlock (Results 1 – 25 of 90) sorted by relevance

1234

/titanic_50/usr/src/uts/common/syscall/
H A Dpgrpsys.c53 mutex_enter(&pidlock); in setpgrp()
55 mutex_exit(&pidlock); in setpgrp()
58 mutex_exit(&pidlock); in setpgrp()
65 mutex_enter(&pidlock); in setpgrp()
67 mutex_exit(&pidlock); in setpgrp()
70 mutex_exit(&pidlock); in setpgrp()
79 mutex_enter(&pidlock); in setpgrp()
83 mutex_exit(&pidlock); in setpgrp()
88 mutex_exit(&pidlock); in setpgrp()
95 mutex_exit(&pidlock); in setpgrp()
[all …]
H A Dprocessor_bind.c57 ASSERT(MUTEX_HELD(&pidlock)); in cpu_bind_process()
92 ASSERT(MUTEX_HELD(&pidlock)); in cpu_bind_task()
119 ASSERT(MUTEX_HELD(&pidlock)); in cpu_bind_project()
144 ASSERT(MUTEX_HELD(&pidlock)); in cpu_bind_zone()
169 ASSERT(MUTEX_HELD(&pidlock)); in cpu_bind_contract()
262 mutex_enter(&pidlock); in processor_bind()
270 mutex_exit(&pidlock); in processor_bind()
274 mutex_enter(&pidlock); in processor_bind()
282 mutex_exit(&pidlock); in processor_bind()
285 mutex_exit(&pidlock); in processor_bind()
[all …]
H A Dpset.c335 ASSERT(MUTEX_HELD(&pidlock)); in pset_bind_task()
362 ASSERT(MUTEX_HELD(&pidlock)); in pset_bind_project()
387 ASSERT(MUTEX_HELD(&pidlock)); in pset_bind_zone()
421 mutex_enter(&pidlock); in pset_unbind()
445 mutex_exit(&pidlock); in pset_unbind()
456 ASSERT(MUTEX_HELD(&pidlock)); in pset_bind_contract()
489 mutex_enter(&pidlock); in pset_bind_lwp()
517 mutex_exit(&pidlock); in pset_bind_lwp()
581 mutex_enter(&pidlock); in pset_bind()
588 mutex_exit(&pidlock); in pset_bind()
[all …]
H A Dexacctsys.c123 mutex_enter(&pidlock); in getacct_proc()
125 mutex_exit(&pidlock); in getacct_proc()
131 mutex_exit(&pidlock); in getacct_proc()
192 mutex_enter(&pidlock); in putacct()
194 mutex_exit(&pidlock); in putacct()
201 mutex_exit(&pidlock); in putacct()
268 mutex_enter(&pidlock); in wracct_proc()
270 mutex_exit(&pidlock); in wracct_proc()
276 mutex_exit(&pidlock); in wracct_proc()
H A Dtasksys.c86 mutex_enter(&pidlock); in tasksys_settaskid()
88 mutex_exit(&pidlock); in tasksys_settaskid()
91 mutex_exit(&pidlock); in tasksys_settaskid()
205 mutex_enter(&pidlock); in tasksys_gettaskid()
207 mutex_exit(&pidlock); in tasksys_gettaskid()
226 mutex_enter(&pidlock); in tasksys_getprojid()
228 mutex_exit(&pidlock); in tasksys_getprojid()
H A Duid.c112 mutex_enter(&pidlock); in setuid()
114 mutex_exit(&pidlock); in setuid()
159 mutex_enter(&pidlock); in setuid()
161 mutex_exit(&pidlock); in setuid()
334 mutex_enter(&pidlock); in setreuid()
336 mutex_exit(&pidlock); in setreuid()
389 mutex_enter(&pidlock); in setreuid()
391 mutex_exit(&pidlock); in setreuid()
H A Dcorectl.c277 mutex_enter(&pidlock); in corectl()
280 mutex_exit(&pidlock); in corectl()
284 mutex_exit(&pidlock); in corectl()
387 mutex_enter(&pidlock); in corectl()
389 mutex_exit(&pidlock); in corectl()
395 mutex_exit(&pidlock); in corectl()
489 mutex_enter(&pidlock); in set_proc_info()
497 mutex_exit(&pidlock); in set_proc_info()
507 mutex_enter(&pidlock); in set_proc_info()
514 mutex_exit(&pidlock); in set_proc_info()
H A Dsignotify.c113 mutex_enter(&pidlock); in signotify()
120 mutex_exit(&pidlock); in signotify()
126 mutex_exit(&pidlock); in signotify()
179 mutex_enter(&pidlock); in signotify()
181 mutex_exit(&pidlock); in signotify()
185 mutex_exit(&pidlock); in signotify()
H A Dsigqueue.c58 mutex_enter(&pidlock); in sigqkill()
66 mutex_exit(&pidlock); in sigqkill()
77 mutex_enter(&pidlock); in sigqkill()
84 mutex_exit(&pidlock); in sigqkill()
H A Ducredsys.c149 mutex_enter(&pidlock); in ucred_get()
153 mutex_exit(&pidlock); in ucred_get()
167 mutex_exit(&pidlock); in ucred_get()
/titanic_50/usr/src/uts/common/os/
H A Dsession.c68 ASSERT(MUTEX_HELD(&pidlock) || MUTEX_HELD(&p->p_splock)); in sess_hold()
77 ASSERT(MUTEX_HELD(&pidlock) || !pidlock_held); in sess_rele()
117 mutex_enter(&pidlock); in sess_rele()
120 mutex_exit(&pidlock); in sess_rele()
135 ASSERT(MUTEX_NOT_HELD(&pidlock)); in tty_hold()
190 ASSERT(MUTEX_NOT_HELD(&pidlock)); in tty_rele()
219 mutex_enter(&pidlock); in sess_create()
237 mutex_exit(&pidlock); in sess_create()
257 ASSERT(MUTEX_HELD(&stp->sd_lock) && MUTEX_HELD(&pidlock) && in sess_ctty_clear()
277 ASSERT(MUTEX_HELD(&stp->sd_lock) && MUTEX_HELD(&pidlock) && in sess_ctty_set()
[all …]
H A Dpid.c78 kmutex_t pidlock; /* global process lock */ variable
276 ASSERT(MUTEX_HELD(&pidlock)); in pid_exit()
331 ASSERT(MUTEX_HELD(&pidlock)); in prfind_zone()
367 ASSERT(MUTEX_HELD(&pidlock)); in pgfind_zone()
460 mutex_enter(&pidlock); in sprlock_zone()
462 mutex_exit(&pidlock); in sprlock_zone()
466 mutex_exit(&pidlock); in sprlock_zone()
556 ASSERT(MUTEX_HELD(&pidlock)); in pid_entry()
579 mutex_enter(&pidlock); in signal()
583 mutex_exit(&pidlock); in signal()
[all …]
H A Dpgrp.c63 ASSERT(MUTEX_HELD(&pidlock));
84 mutex_enter(&pidlock);
90 mutex_exit(&pidlock);
104 ASSERT(MUTEX_HELD(&pidlock));
122 ASSERT(MUTEX_HELD(&pidlock));
164 ASSERT(MUTEX_HELD(&pidlock));
212 ASSERT(MUTEX_HELD(&pidlock));
253 ASSERT(MUTEX_HELD(&pidlock));
H A Dfork.c268 mutex_enter(&pidlock); in cfork()
286 mutex_exit(&pidlock); in cfork()
519 mutex_enter(&pidlock); in cfork()
571 mutex_exit(&pidlock); in cfork()
585 ASSERT(MUTEX_NOT_HELD(&pidlock)); in cfork()
631 mutex_enter(&pidlock); in cfork()
654 mutex_exit(&pidlock); in cfork()
678 mutex_enter(&pidlock); in fork_fail()
680 mutex_exit(&pidlock); in fork_fail()
754 mutex_enter(&pidlock); in forklwp_fail()
[all …]
H A Dprocset.c106 mutex_enter(&pidlock); in dotoprocs()
143 mutex_exit(&pidlock); in dotoprocs()
151 mutex_exit(&pidlock); in dotoprocs()
188 mutex_exit(&pidlock); in dotoprocs()
191 mutex_exit(&pidlock); in dotoprocs()
198 mutex_exit(&pidlock); in dotoprocs()
205 mutex_exit(&pidlock); in dotoprocs()
897 mutex_enter(&pidlock); in dotolwp()
918 mutex_exit(&pidlock); in dotolwp()
927 mutex_exit(&pidlock); in dotolwp()
[all …]
H A Dexit.c627 mutex_enter(&pidlock); in proc_exit()
860 mutex_exit(&pidlock); in proc_exit()
901 ASSERT(MUTEX_HELD(&pidlock)); in winfo()
963 mutex_enter(&pidlock); in waitid()
973 mutex_exit(&pidlock); in waitid()
977 mutex_exit(&pidlock); in waitid()
1020 mutex_exit(&pidlock); in waitid()
1048 mutex_exit(&pidlock); in waitid()
1066 mutex_exit(&pidlock); in waitid()
1077 mutex_exit(&pidlock); in waitid()
[all …]
H A Dlockstat_subr.c52 mutex_enter(&pidlock); in lockstat_active_threads()
58 mutex_exit(&pidlock); in lockstat_active_threads()
/titanic_50/usr/src/uts/common/cpr/
H A Dcpr_uthread.c57 mutex_enter(&pidlock); in cpr_signal_user()
69 mutex_exit(&pidlock); in cpr_signal_user()
109 mutex_enter(&pidlock); in cpr_stop_user()
164 mutex_exit(&pidlock); in cpr_stop_user()
178 mutex_enter(&pidlock); in cpr_check_user_threads()
191 mutex_exit(&pidlock); in cpr_check_user_threads()
216 mutex_exit(&pidlock); in cpr_check_user_threads()
230 mutex_enter(&pidlock); in cpr_start_user_threads()
260 mutex_exit(&pidlock); in cpr_start_user_threads()
323 mutex_enter(&pidlock); in cpr_threads_are_stopped()
[all …]
/titanic_50/usr/src/uts/sun4u/sunfire/io/
H A Dsysctrl_quiesce.c347 mutex_enter(&pidlock); in sysctrl_stop_user_threads()
386 mutex_exit(&pidlock); in sysctrl_stop_user_threads()
394 mutex_enter(&pidlock); in sysctrl_stop_user_threads()
423 mutex_exit(&pidlock); in sysctrl_stop_user_threads()
471 mutex_enter(&pidlock); in sysctrl_stop_kernel_threads()
482 mutex_exit(&pidlock); in sysctrl_stop_kernel_threads()
489 mutex_exit(&pidlock); in sysctrl_stop_kernel_threads()
498 mutex_enter(&pidlock); in sysctrl_start_user_threads()
521 mutex_exit(&pidlock); in sysctrl_start_user_threads()
529 mutex_enter(&pidlock); in sysctrl_signal_user()
[all …]
/titanic_50/usr/src/cmd/dtrace/test/tst/common/privs/
H A Dtst.func_access.ksh37 BEGIN { trace(mutex_owned(&`pidlock)); }
38 BEGIN { trace(mutex_owner(&`pidlock)); }
39 BEGIN { trace(mutex_type_adaptive(&`pidlock)); }
40 BEGIN { trace(mutex_type_spin(&`pidlock)); }
/titanic_50/usr/src/uts/common/tnf/
H A Dtnf.c587 mutex_enter(&pidlock); in tnf_getstate()
591 mutex_exit(&pidlock); in tnf_getstate()
659 mutex_enter(&pidlock); in tnf_deallocbuf()
666 mutex_exit(&pidlock); in tnf_deallocbuf()
675 mutex_exit(&pidlock); in tnf_deallocbuf()
748 mutex_enter(&pidlock); in tnf_getpidstate()
753 mutex_exit(&pidlock); in tnf_getpidstate()
769 mutex_enter(&pidlock); in tnf_setpidstate()
777 mutex_exit(&pidlock); in tnf_setpidstate()
818 mutex_enter(&pidlock); in tnf_pidfilterget()
[all …]
/titanic_50/usr/src/uts/common/disp/
H A Dpriocntl.c314 mutex_enter(&pidlock); in priocntl_common()
318 mutex_exit(&pidlock); in priocntl_common()
323 mutex_enter(&pidlock); in priocntl_common()
325 mutex_exit(&pidlock); in priocntl_common()
460 mutex_enter(&pidlock); in priocntl_common()
462 mutex_exit(&pidlock); in priocntl_common()
917 ASSERT(MUTEX_HELD(&pidlock)); in setthreadnice()
962 ASSERT(MUTEX_HELD(&pidlock)); in setprocnice()
1044 mutex_enter(&pidlock); in donice()
1054 mutex_exit(&pidlock); in donice()
[all …]
/titanic_50/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_quiesce.c528 mutex_enter(&pidlock);
566 mutex_exit(&pidlock);
574 mutex_enter(&pidlock);
601 mutex_exit(&pidlock);
626 mutex_enter(&pidlock);
649 mutex_exit(&pidlock);
657 mutex_enter(&pidlock);
670 mutex_exit(&pidlock);
/titanic_50/usr/src/lib/libfakekernel/common/sys/
H A Dproc.h94 #define PID_HOLD(pidp) ASSERT(MUTEX_HELD(&pidlock)); \
96 #define PID_RELE(pidp) ASSERT(MUTEX_HELD(&pidlock)); \
/titanic_50/usr/src/uts/i86pc/io/dr/
H A Ddr_quiesce.c547 mutex_enter(&pidlock); in dr_stop_user_threads()
586 mutex_exit(&pidlock); in dr_stop_user_threads()
594 mutex_enter(&pidlock); in dr_stop_user_threads()
638 mutex_exit(&pidlock); in dr_stop_user_threads()
660 mutex_enter(&pidlock); in dr_start_user_threads()
683 mutex_exit(&pidlock); in dr_start_user_threads()
691 mutex_enter(&pidlock); in dr_signal_user()
704 mutex_exit(&pidlock); in dr_signal_user()

1234