Lines Matching defs:ctl_name
190 rctl_set(char *ctl_name, char *val, struct ps_prochandle *Pr, int flags)
208 if (strncmp(ctl_name, "zone.", strlen("zone.")) == 0) {
214 if (strncmp(ctl_name, "project.", strlen("project.")) == 0) {
216 } else if ((strncmp(ctl_name, "process.", strlen("process.")) != 0) &&
217 (strncmp(ctl_name, "task.", strlen("task.")) != 0)) {
238 * The ctl_name has been verified as valid, so we have no reason
241 (void) pr_getrctl(Pr, ctl_name, NULL, blk, RCTL_FIRST);
366 if (pr_getrctl(Pr, ctl_name, NULL, rnext, RCTL_FIRST) == 0) {
371 (void) pr_setrctl(Pr, ctl_name, NULL,
377 (void) pr_setrctl(Pr, ctl_name, NULL,
382 if (pr_getrctl(Pr, ctl_name, rnext, rnext,
396 if (pr_setprojrctl(Pr, ctl_name, blk, count, flags) == -1)
401 if (pr_setrctl(Pr, ctl_name,