Lines Matching defs:idname
162 static pid_t grab_process_by_id(char *idname, rctl_entity_t type,
2027 grab_process_by_id(char *idname, rctl_entity_t type, pr_info_handle_t *p,
2053 intidname = strtoul(idname, &end, 10);
2054 if (errno || *end != '\0' || end == idname) {
2064 if (idname == NULL || strcmp(idname, "") == 0) {
2073 if (zone_get_id(idname, &zoneid) != 0) {
2074 warn(gettext("%s: unknown zone\n"), idname);
2078 if (getprojbyname(idname, &proj, prbuf, PROJECT_BUFSZ)
2083 idname);
2089 taskid = (taskid_t)atol(idname);
2099 idname);
2193 "task, project, or zone.\n"), idname);
2203 warn(gettext("%s: cannot control self"), idname);
2210 if ((p->pid = proc_arg_psinfo(idname, PR_ARG_PIDS,
2212 warn(gettext("%s: cannot examine: %s"), idname,
2223 warn(gettext("%s: cannot control: %s"), idname,
2229 warn(gettext("%s: cannot control: %s"), idname,
2240 warn(gettext("%s: unknown resource entity type %d\n"), idname,