Searched defs:gret (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/cmd/ptools/preap/
H A Dpreap.c112 int gret; local
117 if ((pid = proc_arg_psinfo(arg, PR_ARG_PIDS, &psinfo, &gret)) == -1) {
119 command, arg, Pgrab_error(gret));
140 if (proc_usage(pid, &usage, &gret) == 0) {
144 command, (int)pid, Pgrab_error(gret));
155 if ((Pr = Pgrab(ppid, Fflag | PGRAB_NOSTOP, &gret)) == NULL) {
157 (int)ppid, Pgrab_error(gret));
/illumos-gate/usr/src/cmd/ppgsz/
H A Dppgsz.c326 int gret; local
332 pid = proc_arg_psinfo(arg, PR_ARG_PIDS, &psinfo, &gret);
336 " %s\n", command, arg, Pgrab_error(gret));
343 } else if ((Pr = Pgrab(pid, Fflag, &gret)) != NULL) {
353 switch (gret) {
373 command, Pgrab_error(gret), (int)pid);
/illumos-gate/usr/src/cmd/ptools/ptime/
H A Dptime.c69 int gret; local
72 Fflag | PGRAB_RDONLY, &gret)) == NULL) {
74 command, pidstr, Pgrab_error(gret));
92 int gret; local
151 if ((Pr = Pcreate(argv[0], &argv[0], &gret, NULL, 0)) == NULL) {
153 command, argv[0], Pcreate_error(gret));
/illumos-gate/usr/src/cmd/plimit/
H A Dplimit.c169 int gret; local
175 &psinfo, &gret)) == -1) {
177 command, arg, Pgrab_error(gret));
179 } else if ((Pr = Pgrab(pid, Fflag, &gret)) != NULL) {
199 if ((gret == G_SYS || gret == G_SELF) && !set) {
203 if (gret == G_SYS)
210 command, Pgrab_error(gret), (int)pid);
/illumos-gate/usr/src/cmd/newtask/
H A Dnewtask.c330 int error = 0, gret; local
357 if ((p = proc_arg_grab(procname, PR_ARG_PIDS, 0, &gret)) == NULL) {
359 procname, Pgrab_error(gret));
448 if ((p = proc_arg_grab(procname, PR_ARG_PIDS, 0, &gret)) == NULL) {
450 procname, Pgrab_error(gret));
/illumos-gate/usr/src/cmd/ptools/pfiles/
H A Dpfiles.c135 int gret; local
143 &psinfo, &gret)) == -1) {
146 Fflag, &gret, NULL)) == NULL) {
149 command, arg, Pgrab_error(gret));
154 &gret) < 0) {
157 command, arg, Pgrab_error(gret));
168 } else if ((Pr = Pgrab(pid, Fflag, &gret)) != NULL) {
184 switch (gret) {
193 command, Pgrab_error(gret), (int)pid);
/illumos-gate/usr/src/cmd/prctl/
H A Dprctl.c161 static pid_t regrab_process(pid_t pid, pr_info_handle_t *p, int, int *gret);
163 pr_info_handle_t *p, int, int *gret);
164 static int grab_process(pr_info_handle_t *p, int *gret);
221 int gret; local
676 gret = 0;
719 search_type, &p, arg_priv, &gret)) < 0) {
760 &p, arg_priv, &gret);
829 &p, arg_priv, &gret);
953 &p, arg_priv, &gret);
1003 gret
1977 regrab_process(pid_t pid, pr_info_handle_t *p, int priv, int *gret) argument
2027 grab_process_by_id(char *idname, rctl_entity_t type, pr_info_handle_t *p, int priv, int *gret) argument
2257 grab_process(pr_info_handle_t *p, int *gret) argument
[all...]
/illumos-gate/usr/src/cmd/ptools/pargs/
H A Dpargs.c1354 int gret, r; local
1384 &gret) == -1) {
1386 command, arg, Pgrab_error(gret));
1414 &gret)) == NULL) {
1416 command, arg, Pgrab_error(gret));

Completed in 83 milliseconds