Lines Matching defs:idname
161 static pid_t grab_process_by_id(char *idname, rctl_entity_t type,
2026 grab_process_by_id(char *idname, rctl_entity_t type, pr_info_handle_t *p,
2052 intidname = strtoul(idname, &end, 10);
2053 if (errno || *end != '\0' || end == idname) {
2063 if (idname == NULL || strcmp(idname, "") == 0) {
2072 if (zone_get_id(idname, &zoneid) != 0) {
2073 warn(gettext("%s: unknown zone\n"), idname);
2077 if (getprojbyname(idname, &proj, prbuf, PROJECT_BUFSZ)
2082 idname);
2088 taskid = (taskid_t)atol(idname);
2098 idname);
2190 "task, project, or zone.\n"), idname);
2200 warn(gettext("%s: cannot control self"), idname);
2207 if ((p->pid = proc_arg_psinfo(idname, PR_ARG_PIDS,
2209 warn(gettext("%s: cannot examine: %s"), idname,
2220 warn(gettext("%s: cannot control: %s"), idname,
2226 warn(gettext("%s: cannot control: %s"), idname,
2237 warn(gettext("%s: unknown resource entity type %d\n"), idname,