Home
last modified time | relevance | path

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

123

/onnv-gate/usr/src/uts/common/os/
H A Dprocset.c128 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 Dexit.c932 case P_PID: in waitid()
971 if (idtype != P_PID && (cp->p_pidflag & CLDWAITPID)) in waitid()
973 if (idtype == P_PID && id != cp->p_pid) in waitid()
1013 if (idtype == P_PID) in waitid()
1023 if (idtype == P_PID && id != cp->p_pid) in waitid()
1072 if (idtype != P_PID && in waitid()
1091 if (idtype == P_PID) in waitid()
H A Dpool.c708 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()
1489 if (idtype == P_PID) in pool_do_bind()
1523 if (idtype == P_PID) { in pool_do_bind()
/onnv-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);
/onnv-gate/usr/src/cmd/priocntl/
H A Dsubr.c83 { P_PID, "pid" },
173 case P_PID:
190 if (priocntl(P_PID, P_MYID, PC_GETXPARMS, NULL,
242 case P_PID:
258 if (priocntl(P_PID, P_MYID, PC_GETXPARMS, NULL,
318 if (idtype == P_PID) { in verifyupri()
319 if (priocntl(P_PID, id, PC_GETXPARMS, clname, key, in verifyupri()
443 if (priocntl(P_PID, prinfo.pr_pid, PC_GETXPARMS, in verifyupri()
H A Dtspriocntl.c172 idtype = P_PID; in main()
257 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, "TS", TS_KY_UPRI, in print_tsprocs()
264 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, NULL, in print_tsprocs()
460 if (ts_priocntl(P_PID, P_MYID, PC_SETXPARMS, "TS", args) == -1) in exec_tscmd()
466 if (priocntl(P_PID, P_MYID, PC_GETXPARMS, "TS", in exec_tscmd()
H A Dfsspriocntl.c158 idtype = P_PID; in main()
241 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, "FSS", in print_fssprocs()
249 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, NULL, in print_fssprocs()
444 if (fss_priocntl(P_PID, P_MYID, PC_SETXPARMS, "FSS", args) == -1) in exec_fsscmd()
450 if (priocntl(P_PID, P_MYID, PC_GETXPARMS, "FSS", in exec_fsscmd()
H A Diapriocntl.c183 idtype = P_PID; in main()
276 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, "IA", in print_iaprocs()
284 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, NULL, in print_iaprocs()
492 if (ia_priocntl(P_PID, P_MYID, PC_SETXPARMS, "IA", args) == -1) in exec_iacmd()
498 if (priocntl(P_PID, P_MYID, PC_GETXPARMS, "IA", in exec_iacmd()
H A Dfxpriocntl.c198 idtype = P_PID; in main()
297 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, "FX", in print_fxprocs()
313 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, NULL, in print_fxprocs()
533 if (fx_priocntl(P_PID, P_MYID, PC_SETXPARMS, "FX", args) == -1) in exec_fxcmd()
539 if (priocntl(P_PID, P_MYID, PC_GETXPARMS, "FX", in exec_fxcmd()
H A Dpriocntl.c191 idtype = P_PID; in main()
211 idtype = P_PID; in main()
494 if (clname == NULL && idtype == P_PID && idargc <= 1) {
501 if (priocntl(P_PID, P_MYID, PC_GETXPARMS, NULL,
518 if (priocntl(P_PID, id, PC_GETXPARMS,
612 case P_PID:
759 if (priocntl(P_PID, P_MYID, PC_GETXPARMS, NULL,
874 case P_PID:
H A Drtpriocntl.c201 idtype = P_PID; in main()
299 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, "RT", in print_rtprocs()
314 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, NULL, in print_rtprocs()
516 if (rt_priocntl(P_PID, P_MYID, PC_SETXPARMS, "RT", args) == -1) in exec_rtcmd()
/onnv-gate/usr/src/lib/libc/port/gen/
H A Dklpdlib.c145 if (type == P_PID && (id == 0 || (pid_t)id == getpid())) { in klpd_register_id()
155 return (klpd_register_id(set, handle, P_PID, -1)); in klpd_register()
175 return (klpd_unregister_id(handle, P_PID, -1)); in klpd_unregister()
H A Dwaitpid.c86 idtype = P_PID; in waitpid()
153 idtype = P_PID; in wait4()
/onnv-gate/usr/src/cmd/wracct/
H A Dwracct.c114 ent_flag = P_PID; in main()
119 if (ent_flag == P_PID && rec_flag == EW_INTERVAL) { in main()
/onnv-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()
/onnv-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Exacct/pod/
H A DExacct.pod16 my $ea_rec = getacct(P_PID, $$);
24 The C<P_PID>, C<P_TASKID>, C<P_PROJID> and all the C<EW_*>, C<EP_*>, C<EXR_*>
31 The C<$idtype> parameter must be either C<P_TASKID> or C<P_PID> and C<$id>
39 The C<$idtype> parameter must be either C<P_TASKID> or C<P_PID> and C<$id>
51 The C<$idtype> parameter must be either C<P_TASKID> or C<P_PID> and $id must
136 :CONSTANTS P_PID, P_TASKID, P_PROJID, EW_*, EP_*, and EXR_*
/onnv-gate/usr/src/lib/libc/port/rt/
H A Dsched.c337 if (setprio(P_PID, pid, param->sched_priority, NULL) == -1) in sched_setparam()
405 if (getparam(P_PID, pid, &policy, param) == -1) in sched_getparam()
446 if (setparam(P_PID, pid, policy, prio) == -1) in sched_setscheduler()
466 if ((pccp = get_parms(P_PID, pid, &pcparm)) == NULL) in sched_getscheduler()
520 if ((pccp = get_parms(P_PID, pid, &pcparm)) == NULL) in sched_rr_get_interval()
/onnv-gate/usr/src/lib/libbc/libc/sys/common/
H A Dwait.c95 P_PID, /* A process identifier. */ enumerator
209 idtype = P_PID; in wait4()
/onnv-gate/usr/src/cmd/sulogin/
H A Dsulogin.c492 (void) sigsend(P_PID, masterpid, SIGUSR1); in main_loop()
502 (void) sigsend(P_PID, masterpid, SIGUSR1); in main_loop()
557 (void) sigsend(P_PID, masterpid, SIGUSR1); in main_loop()
744 (void) sigsend(P_PID, pidlist[i], SIGTERM); in parenthandler()
770 (void) sigsend(P_PID, pidlist[i], SIGHUP); in childcleanup()
/onnv-gate/usr/src/uts/common/syscall/
H A Dexacctsys.c157 case P_PID: in getacct()
191 case P_PID: in putacct()
309 case P_PID: in wracct()
/onnv-gate/usr/src/uts/common/sys/
H A Dprocset.h65 P_PID, /* A process identifier. */ enumerator
/onnv-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/pod/
H A DLgrp.pod48 $home = lgrp_home(P_PID, P_MYID);
49 $home = l->home(P_PID, P_MYID);
51 lgrp_affinity_set(P_PID, $pid, $lgrp,
53 $l->affinity_set(P_PID, $pid, $lgrp,
56 my $affinity = lgrp_affinity_get(P_PID, $pid, $lgrp);
57 $affinity = $l->affinity_get(P_PID, $pid, $lgrp);
160 P_PID
223 should be C<P_PID> to specify a process and the B<$id> argument should be its
389 If the B<$idtype> is C<P_PID>, the affinity is retrieved for one of the LWPs in
626 P_PID, P_LWPID P_MYID
/onnv-gate/usr/src/ucblib/libucb/port/sys/
H A Dwait4.c108 idtype = P_PID; in wait4()
/onnv-gate/usr/src/cmd/cvcd/sparc/sun4u/starcat/
H A Dcvcd.c433 if (priocntl(P_PID, pid, PC_GETPARMS, (caddr_t)&pcparms) == -1L) {
462 if (priocntl(P_PID, pid, PC_SETPARMS, (caddr_t)&pcparms) == -1L) {
469 if (priocntl(P_PID, pid, PC_GETPARMS, (caddr_t)&pcparms) ==

123