Lines Matching refs:pr
60 struct ps_prochandle *pr;
734 errflg = get_rctls(p.pr);
739 if (match_rctl(p.pr, &rctlblkA, arg_name,
765 if (prctl_setrctl(p.pr, arg_name, NULL,
774 if (match_rctl(p.pr, &rctlblkA, arg_name,
799 if (prctl_setrctl(p.pr, arg_name, NULL,
809 if (match_rctl(p.pr, &rctlblkA, arg_name,
839 if (match_rctl(p.pr, &rctlblkB, arg_name,
886 if (prctl_setrctl(p.pr, arg_name, rctlblkA,
902 if (match_rctl(p.pr, &rctlblkA, arg_name,
931 if (prctl_setrctl(p.pr,
971 if (prctl_setrctl(p.pr, arg_name, rctlblkA,
978 release_process(p.pr);
1040 errflg = get_rctls(p.pr);
1042 release_process(p.pr);
1987 release_process(p->pr);
2140 if (pr_getprojid(p->pr) != projid ||
2141 pr_getzoneid(p->pr) != zone_self) {
2142 release_process(p->pr);
2146 if (pr_gettaskid(p->pr) != taskid) {
2147 release_process(p->pr);
2151 if (pr_getzoneid(p->pr) != zoneid) {
2152 release_process(p->pr);
2167 release_process(p->pr);
2174 release_process(p->pr);
2180 p->taskid = pr_gettaskid(p->pr);
2181 p->projid = pr_getprojid(p->pr);
2182 p->zoneid = pr_getzoneid(p->pr);
2230 p->taskid = pr_gettaskid(p->pr);
2231 p->projid = pr_getprojid(p->pr);
2232 p->zoneid = pr_getzoneid(p->pr);
2257 if ((p->pr = Pgrab(p->pid, arg_force, gret)) != NULL) {
2259 if (Psetflags(p->pr, PR_RLC) != 0) {
2260 Prelease(p->pr, 0);
2263 if (Pcreate_agent(p->pr) == 0) {
2267 Prelease(p->pr, 0);