/illumos-gate/usr/src/uts/common/os/ |
H A D | procset.c | 128 if (((psp->p_lidtype == P_PID) && (psp->p_ridtype == P_ALL)) || in dotoprocs() 129 ((psp->p_ridtype == P_PID) && (psp->p_lidtype == P_ALL))) { in dotoprocs() 132 pid = (psp->p_lidtype == P_PID) ? in dotoprocs() 217 case P_PID: in checkprocset() 237 case P_PID: in checkprocset() 299 case P_PID: in procinset() 389 case P_PID: in procinset() 542 case P_PID: in lwpinset() 628 case P_PID: in lwpinset() 758 if (((psp->p_lidtype == P_PID && in cur_inset_only() [all …]
|
H A D | exit.c | 1075 case P_PID: in waitid() 1114 if (idtype != P_PID && (cp->p_pidflag & CLDWAITPID)) in waitid() 1116 if (idtype == P_PID && id != cp->p_pid) in waitid() 1156 if (idtype == P_PID) in waitid() 1166 if (idtype == P_PID && id != cp->p_pid) in waitid() 1215 if (idtype != P_PID && in waitid() 1234 if (idtype == P_PID) in waitid()
|
H A D | pool.c | 708 case P_PID: in pool_bind() 727 if (idtype != P_PID) in pool_query_binding() 1387 if (idtype == P_PID) { in pool_do_bind() 1423 if (idtype == P_PID) in pool_do_bind() 1442 case P_PID: in pool_do_bind() 1493 if (idtype == P_PID) in pool_do_bind() 1527 if (idtype == P_PID) { in pool_do_bind()
|
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/t/ |
H A D | Lgrp_api.t | 143 $home = $c->home(P_PID, P_MYID); 148 $c->affinity_set(P_PID, P_MYID, $lgrp, LGRP_AFF_STRONG) or 151 $home = $c->home(P_PID, P_MYID); 154 $c->affinity_set(P_PID, P_MYID, $lgrp, LGRP_AFF_NONE) or 165 $c->affinity_set(P_PID, P_MYID, $root, $aff) or 167 my $affinity = $c->affinity_get(P_PID, $$, $root);
|
H A D | Lgrp.t | 259 $home = lgrp_home(P_PID, P_MYID); 261 my $home1 = $c->home(P_PID, P_MYID); 277 $affinity = $c->affinity_set(P_PID, P_MYID, $home, LGRP_AFF_WEAK); 283 $affinity = lgrp_affinity_set(P_PID, P_MYID, $home, LGRP_AFF_WEAK); 293 $affinity = lgrp_affinity_get(P_PID, P_MYID, $home); 299 $affinity = $c->affinity_get(P_PID, P_MYID, $home);
|
/illumos-gate/usr/src/cmd/priocntl/ |
H A D | subr.c | 80 { P_PID, "pid" }, 170 case P_PID: 187 if (priocntl(P_PID, P_MYID, PC_GETXPARMS, NULL, 239 case P_PID: 255 if (priocntl(P_PID, P_MYID, PC_GETXPARMS, NULL, 315 if (idtype == P_PID) { in verifyupri() 316 if (priocntl(P_PID, id, PC_GETXPARMS, clname, key, in verifyupri() 440 if (priocntl(P_PID, prinfo.pr_pid, PC_GETXPARMS, in verifyupri()
|
H A D | fsspriocntl.c | 156 idtype = P_PID; in main() 239 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, "FSS", in print_fssprocs() 247 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, NULL, in print_fssprocs() 442 if (fss_priocntl(P_PID, P_MYID, PC_SETXPARMS, "FSS", args) == -1) in exec_fsscmd() 448 if (priocntl(P_PID, P_MYID, PC_GETXPARMS, "FSS", in exec_fsscmd()
|
H A D | tspriocntl.c | 170 idtype = P_PID; in main() 255 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, "TS", TS_KY_UPRI, in print_tsprocs() 262 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, NULL, in print_tsprocs() 458 if (ts_priocntl(P_PID, P_MYID, PC_SETXPARMS, "TS", args) == -1) in exec_tscmd() 464 if (priocntl(P_PID, P_MYID, PC_GETXPARMS, "TS", in exec_tscmd()
|
H A D | iapriocntl.c | 181 idtype = P_PID; in main() 274 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, "IA", in print_iaprocs() 282 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, NULL, in print_iaprocs() 490 if (ia_priocntl(P_PID, P_MYID, PC_SETXPARMS, "IA", args) == -1) in exec_iacmd() 496 if (priocntl(P_PID, P_MYID, PC_GETXPARMS, "IA", in exec_iacmd()
|
H A D | fxpriocntl.c | 196 idtype = P_PID; in main() 295 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, "FX", in print_fxprocs() 311 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, NULL, in print_fxprocs() 531 if (fx_priocntl(P_PID, P_MYID, PC_SETXPARMS, "FX", args) == -1) in exec_fxcmd() 537 if (priocntl(P_PID, P_MYID, PC_GETXPARMS, "FX", in exec_fxcmd()
|
H A D | priocntl.c | 189 idtype = P_PID; in main() 209 idtype = P_PID; in main() 488 if (clname == NULL && idtype == P_PID && idargc <= 1) { in set_procs() 495 if (priocntl(P_PID, P_MYID, PC_GETXPARMS, NULL, in set_procs() 512 if (priocntl(P_PID, id, PC_GETXPARMS, in set_procs() 606 case P_PID: in set_procs() 751 if (priocntl(P_PID, P_MYID, PC_GETXPARMS, NULL, in exec_cmd() 862 case P_PID: in ids2pids()
|
H A D | rtpriocntl.c | 199 idtype = P_PID; in main() 297 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, "RT", in print_rtprocs() 312 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, NULL, in print_rtprocs() 514 if (rt_priocntl(P_PID, P_MYID, PC_SETXPARMS, "RT", args) == -1) in exec_rtcmd()
|
/illumos-gate/usr/src/test/os-tests/tests/secflags/ |
H A D | secflags_syscall.c | 32 if ((err = psecflags(P_PID, P_MYID, PSF_INHERIT, NULL)) != 0) { in main() 41 if ((err = psecflags(P_PID, P_MYID, PSF_INHERIT, in main()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | klpdlib.c | 142 if (type == P_PID && (id == 0 || (pid_t)id == getpid())) { in klpd_register_id() 152 return (klpd_register_id(set, handle, P_PID, -1)); in klpd_register() 172 return (klpd_unregister_id(handle, P_PID, -1)); in klpd_unregister()
|
H A D | waitpid.c | 84 idtype = P_PID; in waitpid() 151 idtype = P_PID; in wait4()
|
/illumos-gate/usr/src/cmd/pools/poolbind/ |
H A D | poolbind.c | 65 { P_PID, "pid" }, 110 idtype_t idtype = P_PID; in main() 190 if (pool_set_binding(pool_name, P_PID, getpid()) != PO_SUCCESS) { in exec_cmd()
|
/illumos-gate/usr/src/cmd/wracct/ |
H A D | wracct.c | 112 ent_flag = P_PID; in main() 117 if (ent_flag == P_PID && rec_flag == EW_INTERVAL) { in main()
|
/illumos-gate/usr/src/cmd/ptools/psecflags/ |
H A D | psecflags.c | 56 { P_PID, "pid" }, 134 idtype_t idtype = P_PID; in main() 228 errc = psecflags(P_PID, P_MYID, which, &act); in main()
|
/illumos-gate/usr/src/lib/libc/port/rt/ |
H A D | sched.c | 335 if (setprio(P_PID, pid, param->sched_priority, NULL) == -1) in sched_setparam() 403 if (getparam(P_PID, pid, &policy, param) == -1) in sched_getparam() 444 if (setparam(P_PID, pid, policy, prio) == -1) in sched_setscheduler() 464 if ((pccp = get_parms(P_PID, pid, &pcparm)) == NULL) in sched_getscheduler() 518 if ((pccp = get_parms(P_PID, pid, &pcparm)) == NULL) in sched_rr_get_interval()
|
/illumos-gate/usr/src/cmd/sulogin/ |
H A D | sulogin.c | 505 (void) sigsend(P_PID, masterpid, SIGUSR1); in main_loop() 515 (void) sigsend(P_PID, masterpid, SIGUSR1); in main_loop() 570 (void) sigsend(P_PID, masterpid, SIGUSR1); in main_loop() 757 (void) sigsend(P_PID, pidlist[i], SIGTERM); in parenthandler() 783 (void) sigsend(P_PID, pidlist[i], SIGHUP); in childcleanup()
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | exacctsys.c | 155 case P_PID: in getacct() 189 case P_PID: in putacct() 307 case P_PID: in wracct()
|
/illumos-gate/usr/src/cmd/pbind/ |
H A D | pbind.c | 316 if (processor_bind(P_PID, pid, PBIND_QUERY, &binding) < 0) { in query_all_proc() 355 if (processor_bind(P_PID, P_MYID, cpu, NULL) == -1) { in exec_cmd() 557 if (processor_bind(P_PID, pid, cpu, &old_cpu) < 0) { in main()
|
/illumos-gate/usr/src/test/libc-tests/tests/random/ |
H A D | inz_region.c | 57 ret = waitid(P_PID, child, &info, WEXITED); in main()
|
H A D | inz_mlock.c | 60 ret = waitid(P_PID, child, &info, WEXITED); in main()
|
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/pod/ |
H A D | Lgrp.pod | 46 $home = lgrp_home(P_PID, P_MYID); 47 $home = l->home(P_PID, P_MYID); 49 lgrp_affinity_set(P_PID, $pid, $lgrp, 51 $l->affinity_set(P_PID, $pid, $lgrp, 54 my $affinity = lgrp_affinity_get(P_PID, $pid, $lgrp); 55 $affinity = $l->affinity_get(P_PID, $pid, $lgrp); 158 P_PID 221 should be C<P_PID> to specify a process and the B<$id> argument should be its 387 If the B<$idtype> is C<P_PID>, the affinity is retrieved for one of the LWPs in 624 P_PID, P_LWPID P_MYID
|