Home
last modified time | relevance | path

Searched refs:PR_ARG_PIDS (Results 1 – 21 of 21) sorted by relevance

/illumos-gate/usr/src/lib/libproc/common/
H A Dproc_arg.c121 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 Dlibproc.h708 #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 Dpwdx.c44 if (proc_arg_psinfo(arg, PR_ARG_PIDS, &p, &gcode) == -1) { in show_cwd()
/illumos-gate/usr/src/cmd/nohup/
H A Dnohup.c735 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 Dpstop.c72 if ((P = proc_arg_xgrab(arg, NULL, PR_ARG_PIDS, PGRAB_RETAIN | in stop()
/illumos-gate/usr/src/cmd/ptools/prun/
H A Dprun.c72 if ((P = proc_arg_xgrab(arg, NULL, PR_ARG_PIDS, PGRAB_FORCE | in start()
/illumos-gate/usr/src/cmd/ptools/preap/
H A Dpreap.c115 if ((pid = proc_arg_psinfo(arg, PR_ARG_PIDS, &psinfo, &gret)) == -1) { in reap()
/illumos-gate/usr/src/cmd/newtask/
H A Dnewtask.c357 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 Dgcore.c238 P = proc_arg_grab(argv[i], PR_ARG_PIDS, oflags, &gerr); in main()
/illumos-gate/usr/src/cmd/ptools/ptime/
H A Dptime.c71 if ((Pr = proc_arg_grab(pidstr, PR_ARG_PIDS, in ptime_pid()
/illumos-gate/usr/src/cmd/ptools/pcred/
H A Dpcred.c171 if ((Pr = proc_arg_grab(arg, doset ? PR_ARG_PIDS : PR_ARG_ANY, in look()
/illumos-gate/usr/src/cmd/ptools/psig/
H A Dpsig.c191 if ((Pr = proc_arg_grab(arg, PR_ARG_PIDS, PGRAB_RDONLY|PGRAB_FORCE, in look()
/illumos-gate/usr/src/cmd/plimit/
H A Dplimit.c174 if ((pid = proc_arg_psinfo(arg = *argv++, PR_ARG_PIDS, in main()
/illumos-gate/usr/src/cmd/ppgsz/
H A Dppgsz.c330 pid = proc_arg_psinfo(arg, PR_ARG_PIDS, &psinfo, &gret); in main()
/illumos-gate/usr/src/cmd/ptools/pflags/
H A Dpflags.c147 proc_arg_psinfo(arg, PR_ARG_PIDS, &psinfo, &gcode2) > 0 && in look()
/illumos-gate/usr/src/cmd/ptools/ppriv/
H A Dppriv.c177 if ((Pr = proc_arg_grab(arg, set ? PR_ARG_PIDS : PR_ARG_ANY, in look()
/illumos-gate/usr/src/cmd/ptools/pfiles/
H A Dpfiles.c134 if ((pid = proc_arg_psinfo(arg, PR_ARG_PIDS, in main()
/illumos-gate/usr/src/cmd/ptools/pmadvise/
H A Dpmadvise.c1048 if ((Pr = proc_arg_grab(arg = *argv++, PR_ARG_PIDS, in main()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_main.c814 if (proc_arg_psinfo(pidarg, PR_ARG_PIDS, NULL, &status) == -1) { in main()
/illumos-gate/usr/src/cmd/prctl/
H A Dprctl.c2210 if ((p->pid = proc_arg_psinfo(idname, PR_ARG_PIDS, in grab_process_by_id()
/illumos-gate/usr/src/cmd/truss/
H A Dmain.c2244 if ((pid = proc_arg_xpsinfo(arg, PR_ARG_PIDS, NULL, &i, &lwps)) < 0) { in pids()