Searched refs:ctlfd (Results 1 - 10 of 10) sorted by relevance

/osnet-11/usr/src/lib/libproc/common/
H A DPcontrol.c246 P->ctlfd = -1;
293 P->ctlfd = fd;
536 P->ctlfd = -1;
540 if (P->ctlfd >= 0)
541 (void) close(P->ctlfd);
548 P->ctlfd = -1;
642 P->ctlfd = fd;
997 if (P->ctlfd >= 0)
998 (void) close(P->ctlfd);
1007 P->ctlfd
1230 int ctlfd = (P->agentctlfd >= 0)? P->agentctlfd : P->ctlfd; local
1637 int ctlfd = (P->agentctlfd >= 0)? P->agentctlfd : P->ctlfd; local
1902 int ctlfd = (P->agentctlfd >= 0) ? P->agentctlfd : P->ctlfd; local
2031 int ctlfd = (P->agentctlfd >= 0)? P->agentctlfd : P->ctlfd; local
2043 int ctlfd = (P->agentctlfd >= 0)? P->agentctlfd : P->ctlfd; local
2143 execute_bkpt( int ctlfd, const fltset_t *faultset, const sigset_t *sigmask, uintptr_t address, ulong_t saved) argument
2242 int ctlfd = (P->agentctlfd >= 0)? P->agentctlfd : P->ctlfd; local
2330 execute_wapt( int ctlfd, const fltset_t *faultset, const sigset_t *sigmask, const prwatch_t *wp) argument
2437 int ctlfd = (P->agentctlfd >= 0)? P->agentctlfd : P->ctlfd; local
3194 int ctlfd = L->lwp_ctlfd; local
3230 int ctlfd = L->lwp_ctlfd; local
3430 int ctlfd = L->lwp_ctlfd; local
3487 int ctlfd = L->lwp_ctlfd; local
3499 int ctlfd = L->lwp_ctlfd; local
[all...]
H A DPsyscall.c117 if (write(P->ctlfd, &cmd, sizeof (cmd)) != sizeof (cmd))
230 int ctlfd = (P->agentctlfd >= 0)? P->agentctlfd : P->ctlfd; local
271 (void) write(ctlfd, &ctl, sizeof (ctl));
H A DPcontrol.h208 int ctlfd; /* /proc/<pid>/ctl filedescriptor */ member in struct:ps_prochandle
H A DPidle.c141 P->ctlfd = -1;
H A DPlwpregs.c155 if (writev(P->ctlfd, iov, 2) == -1)
H A DPcore.c1758 P->ctlfd = -1;
/osnet-11/usr/src/lib/watchmalloc/common/
H A Dmalloc.c1292 static int ctlfd = -1; variable
1328 if ((ctlfd = open("/proc/self/ctl", O_WRONLY)) < 0 ||
1329 fstat(ctlfd, &ctlstatb) != 0) {
1330 if (ctlfd >= 0)
1331 (void) close(ctlfd);
1332 ctlfd = -1;
1337 (void) fcntl(ctlfd, F_SETFD, 1);
1360 (void) write(ctlfd, &ctl, sizeof (ctl));
1371 if (ctlfd < 0) /* first time */
1373 else if (fstat(ctlfd,
[all...]
/osnet-11/usr/src/lib/libc/i386/sys/
H A Dptrace.c71 int ctlfd; /* /proc/<pid>/ctl */ member in struct:cstatus
325 if (writev(cp->ctlfd, iov, 2) < 0)
332 if (write(cp->ctlfd, (char *)runctl, 2*sizeof (long))
342 if (write(cp->ctlfd, (char *)&ctl,
353 if (write(cp->ctlfd, (char *)runctl, 3*sizeof (long))
374 (void) write(cp->ctlfd, (char *)&ctl,
498 (cp->ctlfd = Dupfd(fd, cp->ctlfd)) < 0)
521 if (cp->ctlfd > 0)
522 (void) close(cp->ctlfd);
[all...]
/osnet-11/usr/src/lib/libc/sparc/sys/
H A Dptrace.c71 int ctlfd; /* /proc/<pid>/ctl */ member in struct:cstatus
333 if (writev(cp->ctlfd, iov, 2) < 0)
340 if (write(cp->ctlfd, (char *)runctl, 2*sizeof (long))
350 if (write(cp->ctlfd, (char *)&ctl,
361 if (write(cp->ctlfd, (char *)runctl, 3*sizeof (long))
382 (void) write(cp->ctlfd, (char *)&ctl,
506 (cp->ctlfd = Dupfd(fd, cp->ctlfd)) < 0)
529 if (cp->ctlfd > 0)
530 (void) close(cp->ctlfd);
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/common/ses/common/
H A Dses.c476 int efd, ctlfd, statfd; local
559 ctlfd = open64(path, O_WRONLY);
561 (void) ct_ctl_ack(ctlfd, evid);
563 (void) ct_ctl_abandon(ctlfd);
564 (void) close(ctlfd);
574 ctlfd = open64(path, O_WRONLY);
584 (void) ct_ctl_ack(ctlfd, evid);
594 (void) ct_ctl_abandon(ctlfd);
596 (void) close(ctlfd);
758 int ctlfd; local
[all...]

Completed in 57 milliseconds