/illumos-gate/usr/src/uts/common/syscall/ |
H A D | uid.c | 77 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 D | gid.c | 70 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 D | ppriv.c | 70 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 D | groups.c | 92 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 D | corectl.c | 285 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 D | auditsys.c | 151 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 D | utssys.c | 365 mutex_enter(&prp->p_crlock); in dofusers() 367 mutex_exit(&prp->p_crlock); in dofusers()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | procset.c | 335 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 D | klpd.c | 355 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 D | priv.c | 271 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 D | audit_core.c | 167 mutex_enter(&p->p_crlock); in audit_update_context() 174 mutex_exit(&p->p_crlock); in audit_update_context()
|
H A D | cred.c | 508 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 D | task.c | 860 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 D | exit.c | 274 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 D | session.c | 278 mutex_enter(&p->p_crlock); in sess_ctty_set() 280 mutex_exit(&p->p_crlock); in sess_ctty_set()
|
H A D | core.c | 295 mutex_enter(&p->p_crlock); in set_cred() 299 mutex_exit(&p->p_crlock); in set_cred()
|
H A D | pid.c | 309 mutex_destroy(&prp->p_crlock); in pid_exit()
|
H A D | fork.c | 1002 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 D | class.c | 259 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 D | prcontrol.c | 2330 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 D | prioctl.c | 1000 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 D | prsubr.c | 2493 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 D | audit_event.c | 1580 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 D | audit.c | 1720 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 D | process.c | 492 mutex_enter(&tp->p_crlock); in contract_process_cankill() 494 mutex_exit(&tp->p_crlock); in contract_process_cankill()
|