Home
last modified time | relevance | path

Searched refs:P_PID (Results 1 – 25 of 57) sorted by relevance

123

/illumos-gate/usr/src/uts/common/os/
H A Dprocset.c128 if (((psp->p_lidtype == P_PID) && (psp->p_ridtype == 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()
767 if (((psp->p_ridtype == P_PID && in cur_inset_only()
[all …]
H A Dexit.c1075 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()
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/t/
H A DLgrp_api.t143 $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 DLgrp.t259 $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 Dsubr.c80 { 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 Dtspriocntl.c170 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 Dfsspriocntl.c156 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 Diapriocntl.c181 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 Dfxpriocntl.c196 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 Dpriocntl.c189 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 Drtpriocntl.c199 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 Dsecflags_syscall.c32 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 Dklpdlib.c142 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 Dwaitpid.c84 idtype = P_PID; in waitpid()
151 idtype = P_PID; in wait4()
/illumos-gate/usr/src/cmd/pools/poolbind/
H A Dpoolbind.c65 { 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 Dwracct.c112 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 Dpsecflags.c56 { 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 Dsched.c335 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 Dsulogin.c505 (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 Dexacctsys.c155 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 Dpbind.c316 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 Dinz_region.c57 ret = waitid(P_PID, child, &info, WEXITED); in main()
H A Dinz_mlock.c60 ret = waitid(P_PID, child, &info, WEXITED); in main()
H A Dinz_child.c63 ret = waitid(P_PID, child, &info, WEXITED); in main()
/illumos-gate/usr/src/uts/common/sys/
H A Dprocset.h63 P_PID, /* A process identifier. */ enumerator

123