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