/illumos-gate/usr/src/lib/libproc/common/ |
H A D | proc_arg.c | 121 if ((oflag & PR_ARG_ANY) == PR_ARG_PIDS) in open_error() 150 if ((oflag & PR_ARG_PIDS) && in proc_grab_common() 200 if ((oflag & PR_ARG_PIDS) && (fd = open_psinfo(arg, perr)) != -1) { in proc_grab_common()
|
H A D | libproc.h | 708 #define PR_ARG_PIDS 0x1 /* Allow pid and /proc file arguments */ macro 711 #define PR_ARG_ANY (PR_ARG_PIDS | PR_ARG_CORES)
|
/illumos-gate/usr/src/cmd/ptools/pwdx/ |
H A D | pwdx.c | 44 if (proc_arg_psinfo(arg, PR_ARG_PIDS, &p, &gcode) == -1) { in show_cwd()
|
/illumos-gate/usr/src/cmd/nohup/ |
H A D | nohup.c | 735 PR_ARG_PIDS, &psinfo, &gcode) == -1) in pnohup() 748 PR_ARG_PIDS, flag, &gcode)) == NULL) { in pnohup() 802 if ((P = proc_arg_grab(argv[i], PR_ARG_PIDS, flag, in pnohup()
|
/illumos-gate/usr/src/cmd/ptools/pstop/ |
H A D | pstop.c | 72 if ((P = proc_arg_xgrab(arg, NULL, PR_ARG_PIDS, PGRAB_RETAIN | in stop()
|
/illumos-gate/usr/src/cmd/ptools/prun/ |
H A D | prun.c | 72 if ((P = proc_arg_xgrab(arg, NULL, PR_ARG_PIDS, PGRAB_FORCE | in start()
|
/illumos-gate/usr/src/cmd/ptools/preap/ |
H A D | preap.c | 115 if ((pid = proc_arg_psinfo(arg, PR_ARG_PIDS, &psinfo, &gret)) == -1) { in reap()
|
/illumos-gate/usr/src/cmd/newtask/ |
H A D | newtask.c | 357 if ((p = proc_arg_grab(procname, PR_ARG_PIDS, 0, &gret)) == NULL) { in update_running_proc() 448 if ((p = proc_arg_grab(procname, PR_ARG_PIDS, 0, &gret)) == NULL) { in update_running_proc()
|
/illumos-gate/usr/src/cmd/gcore/ |
H A D | gcore.c | 238 P = proc_arg_grab(argv[i], PR_ARG_PIDS, oflags, &gerr); in main()
|
/illumos-gate/usr/src/cmd/ptools/ptime/ |
H A D | ptime.c | 71 if ((Pr = proc_arg_grab(pidstr, PR_ARG_PIDS, in ptime_pid()
|
/illumos-gate/usr/src/cmd/ptools/pcred/ |
H A D | pcred.c | 171 if ((Pr = proc_arg_grab(arg, doset ? PR_ARG_PIDS : PR_ARG_ANY, in look()
|
/illumos-gate/usr/src/cmd/ptools/psig/ |
H A D | psig.c | 191 if ((Pr = proc_arg_grab(arg, PR_ARG_PIDS, PGRAB_RDONLY|PGRAB_FORCE, in look()
|
/illumos-gate/usr/src/cmd/plimit/ |
H A D | plimit.c | 174 if ((pid = proc_arg_psinfo(arg = *argv++, PR_ARG_PIDS, in main()
|
/illumos-gate/usr/src/cmd/ppgsz/ |
H A D | ppgsz.c | 330 pid = proc_arg_psinfo(arg, PR_ARG_PIDS, &psinfo, &gret); in main()
|
/illumos-gate/usr/src/cmd/ptools/pflags/ |
H A D | pflags.c | 147 proc_arg_psinfo(arg, PR_ARG_PIDS, &psinfo, &gcode2) > 0 && in look()
|
/illumos-gate/usr/src/cmd/ptools/ppriv/ |
H A D | ppriv.c | 177 if ((Pr = proc_arg_grab(arg, set ? PR_ARG_PIDS : PR_ARG_ANY, in look()
|
/illumos-gate/usr/src/cmd/ptools/pfiles/ |
H A D | pfiles.c | 134 if ((pid = proc_arg_psinfo(arg, PR_ARG_PIDS, in main()
|
/illumos-gate/usr/src/cmd/ptools/pmadvise/ |
H A D | pmadvise.c | 1048 if ((Pr = proc_arg_grab(arg = *argv++, PR_ARG_PIDS, in main()
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_main.c | 814 if (proc_arg_psinfo(pidarg, PR_ARG_PIDS, NULL, &status) == -1) { in main()
|
/illumos-gate/usr/src/cmd/prctl/ |
H A D | prctl.c | 2210 if ((p->pid = proc_arg_psinfo(idname, PR_ARG_PIDS, in grab_process_by_id()
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | main.c | 2244 if ((pid = proc_arg_xpsinfo(arg, PR_ARG_PIDS, NULL, &i, &lwps)) < 0) { in pids()
|