Home
last modified time | relevance | path

Searched refs:p_crlock (Results 1 – 25 of 34) sorted by relevance

12

/illumos-gate/usr/src/uts/common/syscall/
H A Duid.c77 mutex_enter(&p->p_crlock); in setuid()
81 mutex_exit(&p->p_crlock); in setuid()
85 mutex_enter(&p->p_crlock); in setuid()
94 mutex_exit(&p->p_crlock); in setuid()
96 mutex_enter(&p->p_crlock); in setuid()
110 mutex_exit(&p->p_crlock); in setuid()
145 mutex_exit(&p->p_crlock); in setuid()
215 mutex_enter(&p->p_crlock); in seteuid()
218 mutex_exit(&p->p_crlock); in seteuid()
227 mutex_enter(&p->p_crlock); in seteuid()
[all …]
H A Dgid.c70 mutex_enter(&p->p_crlock); in setgid()
74 mutex_exit(&p->p_crlock); in setgid()
79 mutex_enter(&p->p_crlock); in setgid()
88 mutex_exit(&p->p_crlock); in setgid()
90 mutex_enter(&p->p_crlock); in setgid()
108 mutex_exit(&p->p_crlock); in setgid()
167 mutex_enter(&p->p_crlock); in setegid()
170 mutex_exit(&p->p_crlock); in setegid()
174 mutex_enter(&p->p_crlock); in setegid()
189 mutex_exit(&p->p_crlock); in setegid()
[all …]
H A Dppriv.c70 mutex_enter(&p->p_crlock); in setppriv()
91 mutex_exit(&p->p_crlock); in setppriv()
97 mutex_exit(&p->p_crlock); in setppriv()
105 mutex_enter(&p->p_crlock); in setppriv()
176 mutex_exit(&p->p_crlock); in setppriv()
271 mutex_enter(&p->p_crlock); in setpflags()
290 mutex_exit(&p->p_crlock); in setpflags()
311 mutex_exit(&p->p_crlock); in setpflags()
320 mutex_exit(&p->p_crlock); in setpflags()
347 mutex_exit(&p->p_crlock); in setpflags()
H A Dgroups.c92 mutex_enter(&p->p_crlock); in setgroups()
96 mutex_exit(&p->p_crlock); in setgroups()
107 mutex_enter(&p->p_crlock); in setgroups()
119 mutex_exit(&p->p_crlock); in setgroups()
H A Dcorectl.c285 mutex_enter(&p->p_crlock); in corectl()
290 mutex_exit(&p->p_crlock); in corectl()
396 mutex_enter(&p->p_crlock); in corectl()
403 mutex_exit(&p->p_crlock); in corectl()
433 mutex_enter(&p->p_crlock); in set_one_proc_info()
436 mutex_exit(&p->p_crlock); in set_one_proc_info()
456 mutex_exit(&p->p_crlock); in set_one_proc_info()
H A Dauditsys.c151 mutex_enter(&p->p_crlock); in setauid()
158 mutex_exit(&p->p_crlock); in setauid()
296 mutex_enter(&p->p_crlock); in setaudit()
318 mutex_exit(&p->p_crlock); in setaudit()
363 mutex_enter(&p->p_crlock); in setaudit_addr()
398 mutex_exit(&p->p_crlock); in setaudit_addr()
914 mutex_enter(&p->p_crlock); in setumask()
916 mutex_exit(&p->p_crlock); in setumask()
997 mutex_enter(&p->p_crlock); in setsmask()
999 mutex_exit(&p->p_crlock); in setsmask()
[all …]
H A Dutssys.c365 mutex_enter(&prp->p_crlock); in dofusers()
367 mutex_exit(&prp->p_crlock); in dofusers()
/illumos-gate/usr/src/uts/common/os/
H A Dprocset.c335 mutex_enter(&pp->p_crlock); in procinset()
338 mutex_exit(&pp->p_crlock); in procinset()
342 mutex_enter(&pp->p_crlock); in procinset()
345 mutex_exit(&pp->p_crlock); in procinset()
425 mutex_enter(&pp->p_crlock); in procinset()
428 mutex_exit(&pp->p_crlock); in procinset()
432 mutex_enter(&pp->p_crlock); in procinset()
435 mutex_exit(&pp->p_crlock); in procinset()
575 mutex_enter(&pp->p_crlock); in lwpinset()
578 mutex_exit(&pp->p_crlock); in lwpinset()
[all …]
H A Dklpd.c355 mutex_owned(&curproc->p_crlock)) { in klpd_call()
536 mutex_enter(&p->p_crlock); in klpd_reg()
543 mutex_exit(&p->p_crlock); in klpd_reg()
556 mutex_enter(&p->p_crlock); in klpd_reg()
559 mutex_exit(&p->p_crlock); in klpd_reg()
651 mutex_enter(&p->p_crlock); in klpd_unreg()
655 mutex_enter(&p->p_crlock); in klpd_unreg()
667 mutex_exit(&p->p_crlock); in klpd_unreg()
H A Dpriv.c271 mutex_enter(&p->p_crlock); in priv_pr_spriv()
274 mutex_exit(&p->p_crlock); in priv_pr_spriv()
578 mutex_enter(&tp->p_crlock); in priv_proc_cred_perm()
580 mutex_exit(&tp->p_crlock); in priv_proc_cred_perm()
H A Daudit_core.c167 mutex_enter(&p->p_crlock); in audit_update_context()
174 mutex_exit(&p->p_crlock); in audit_update_context()
H A Dcred.c508 mutex_enter(&p->p_crlock); in crgetcred()
510 mutex_exit(&p->p_crlock); in crgetcred()
625 ASSERT(MUTEX_NOT_HELD(&tp->p_crlock)); in prochasprocperm()
633 mutex_enter(&tp->p_crlock); in prochasprocperm()
635 mutex_exit(&tp->p_crlock); in prochasprocperm()
1024 mutex_enter(&p->p_crlock); in pgetucred()
1027 mutex_exit(&p->p_crlock); in pgetucred()
H A Dtask.c860 mutex_enter(&p->p_crlock); in task_join()
865 mutex_exit(&p->p_crlock); in task_join()
872 mutex_enter(&p->p_crlock); in task_join()
875 mutex_exit(&p->p_crlock); in task_join()
H A Dexit.c274 mutex_enter(&p->p_crlock); in restart_init()
276 mutex_enter(&pp->p_crlock); in restart_init()
278 mutex_exit(&pp->p_crlock); in restart_init()
279 mutex_exit(&p->p_crlock); in restart_init()
H A Dsession.c278 mutex_enter(&p->p_crlock); in sess_ctty_set()
280 mutex_exit(&p->p_crlock); in sess_ctty_set()
H A Dcore.c295 mutex_enter(&p->p_crlock); in set_cred()
299 mutex_exit(&p->p_crlock); in set_cred()
H A Dpid.c309 mutex_destroy(&prp->p_crlock); in pid_exit()
H A Dfork.c1002 mutex_init(&cp->p_crlock, NULL, MUTEX_DEFAULT, NULL); in getproc()
1248 mutex_destroy(&cp->p_crlock); in getproc()
/illumos-gate/usr/src/uts/common/disp/
H A Dclass.c259 mutex_enter(&reqpp->p_crlock); in parmsset()
261 mutex_exit(&reqpp->p_crlock); in parmsset()
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprcontrol.c2330 mutex_enter(&p->p_crlock); in pr_scred()
2332 mutex_exit(&p->p_crlock); in pr_scred()
2349 mutex_enter(&p->p_crlock); in pr_scred()
2352 mutex_exit(&p->p_crlock); in pr_scred()
2400 mutex_enter(&p->p_crlock); in pr_szoneid()
2403 mutex_exit(&p->p_crlock); in pr_szoneid()
2411 mutex_enter(&p->p_crlock); in pr_szoneid()
2414 mutex_exit(&p->p_crlock); in pr_szoneid()
H A Dprioctl.c1000 mutex_enter(&p->p_crlock); in prioctl64()
1009 mutex_exit(&p->p_crlock); in prioctl64()
1021 mutex_enter(&p->p_crlock); in prioctl64()
1024 mutex_exit(&p->p_crlock); in prioctl64()
1525 mutex_enter(&p->p_crlock); in oprgetpsinfo32()
1531 mutex_exit(&p->p_crlock); in oprgetpsinfo32()
2602 mutex_enter(&p->p_crlock); in prioctl32()
2611 mutex_exit(&p->p_crlock); in prioctl32()
2623 mutex_enter(&p->p_crlock); in prioctl32()
2626 mutex_exit(&p->p_crlock); in prioctl32()
[all …]
H A Dprsubr.c2493 mutex_enter(&p->p_crlock); in prgetpsinfo()
2499 mutex_exit(&p->p_crlock); in prgetpsinfo()
3157 mutex_enter(&p->p_crlock); in prgetpsinfo32()
3163 mutex_exit(&p->p_crlock); in prgetpsinfo32()
4938 mutex_enter(&p->p_crlock); in prgetcred()
4940 mutex_exit(&p->p_crlock); in prgetcred()
4973 mutex_enter(&p->p_crlock); in prgetpriv()
4975 mutex_exit(&p->p_crlock); in prgetpriv()
/illumos-gate/usr/src/uts/common/c2/
H A Daudit_event.c1580 mutex_enter(&p->p_crlock); in aus_kill()
1582 mutex_exit(&p->p_crlock); in aus_kill()
2187 mutex_enter(&p->p_crlock); in aus_setpgrp()
2189 mutex_exit(&p->p_crlock); in aus_setpgrp()
5007 mutex_enter(&p->p_crlock); in aus_sigqueue()
5009 mutex_exit(&p->p_crlock); in aus_sigqueue()
5152 mutex_enter(&p->p_crlock); in aus_processor_bind()
5154 mutex_exit(&p->p_crlock); in aus_processor_bind()
5183 mutex_enter(&p->p_crlock); in aus_processor_bind()
5185 mutex_exit(&p->p_crlock); in aus_processor_bind()
[all …]
H A Daudit.c1720 mutex_enter(&p->p_crlock); in audit_psecflags()
1724 mutex_exit(&p->p_crlock); in audit_psecflags()
/illumos-gate/usr/src/uts/common/contract/
H A Dprocess.c492 mutex_enter(&tp->p_crlock); in contract_process_cankill()
494 mutex_exit(&tp->p_crlock); in contract_process_cankill()

12