Searched refs:Pgrab (Results 1 - 20 of 20) sorted by relevance

/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddlink_audit.c116 P = Pgrab(getpid(), PGRAB_RDONLY, &err);
H A Ddt_proc.c945 if ((dpr->dpr_proc = Pgrab(pid, flags, &err)) == NULL) {
/illumos-gate/usr/src/lib/libproc/common/
H A Dproc_arg.c164 return (Pgrab(psinfo.pr_pid, gflag,
206 return (Pgrab(psinfo.pr_pid, gflag, perr));
H A Dlibproc.h116 /* Flags accepted by Pgrab() */
132 /* Error codes from Pgrab(), Pfgrab_core(), and Pgrab_core() */
243 extern struct ps_prochandle *Pgrab(pid_t, int, int *);
696 * performing a Pcreate() or Pgrab():
H A Dllib-lproc43 struct ps_prochandle *Pgrab(pid_t pid, int gflag, int *perr);
H A DPcontrol.c766 Pgrab(pid_t pid, int flags, int *perr) function
845 dprintf("Pgrab: failed to open %s: %s\n",
865 dprintf("Pgrab: failed to open %s: %s\n",
886 dprintf("Pgrab: failed to open %s: %s\n",
997 dprintf("Pgrab: failed to set RLC\n");
1055 dprintf("Pgrab: failed to PCSTOP\n");
1069 dprintf("Pgrab: process is not stopped\n");
1106 * Return a printable string corresponding to a Pgrab() error return.
/illumos-gate/usr/src/cmd/ptools/preap/
H A Dpreap.c155 if ((Pr = Pgrab(ppid, Fflag | PGRAB_NOSTOP, &gret)) == NULL) {
/illumos-gate/usr/src/cmd/ppgsz/
H A Dppgsz.c343 } else if ((Pr = Pgrab(pid, Fflag, &gret)) != NULL) {
/illumos-gate/usr/src/cmd/pbind/
H A Dpbind.c188 if ((Pr = Pgrab(pid, 0, &ret)) == NULL) {
/illumos-gate/usr/src/cmd/plimit/
H A Dplimit.c179 } else if ((Pr = Pgrab(pid, Fflag, &gret)) != NULL) {
/illumos-gate/usr/src/lib/abi/apptrace/common/
H A Dapptrace.c392 * only call Pgrab() once to get the ps_prochandle
395 proc_hdl = Pgrab(getpid(), PGRAB_RDONLY, &perr);
/illumos-gate/usr/src/cmd/psrset/
H A Dpsrset.c118 if ((Pr = Pgrab(pid, 0, &ret)) == NULL) {
/illumos-gate/usr/src/cmd/ptools/pfiles/
H A Dpfiles.c168 } else if ((Pr = Pgrab(pid, Fflag, &gret)) != NULL) {
/illumos-gate/usr/src/man/man3proc/
H A DMakefile59 Pgrab.3proc \
/illumos-gate/usr/src/lib/libpctx/common/
H A Dlibpctx.c177 if ((pctx->Pr = Pgrab(pid, 0, &err)) == NULL) {
/illumos-gate/usr/src/cmd/rcap/rcapd/
H A Drcapd_scanner.c769 if ((scan_pr = Pgrab(vic->lpc_pid, 0, &res)) == NULL) {
/illumos-gate/usr/src/cmd/truss/
H A Dmain.c2437 if ((Proc = Pgrab(pid, PGRAB_RETAIN, &rc)) == NULL) {
2496 if ((Proc = Pgrab(set->pid, Fflag, &gcode)) == NULL) {
/illumos-gate/usr/src/cmd/prctl/
H A Dprctl.c731 * Do not call any Pgrab-unsafe functions until
1100 * This function is Pgrab-safe.
1124 * This function is Pgrab-safe
1262 * This function is Pgrab-safe.
1301 * This function is Pgrab-safe.
1338 * This function is Pgrab-safe.
1641 * This function is Pgrab-safe.
2260 if ((p->pr = Pgrab(p->pid, arg_force, gret)) != NULL) {
2284 * This function is Pgrab-safe.
2300 * function that is called while the victim process is held by Pgrab
[all...]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_proc.c663 if ((C = Pgrab(psp->pr_rval1, PGRAB_RETAIN, &gcode)) == NULL) {
1259 t->t_pshandle = Pgrab((pid_t)addr, pt->p_gflags, &perr);
5445 * to an already running process. Pgrab() has already set the PR_RLC
/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dlibzonecfg.c3827 if ((p->pr = Pgrab(p->pid, 0, &ret)) != NULL) {
3851 * This function is Pgrab-safe.

Completed in 106 milliseconds