/osnet-11/usr/src/lib/libproc/common/ |
H A D | Psyscall.c | 117 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 D | Pcontrol.h | 208 int ctlfd; /* /proc/<pid>/ctl filedescriptor */ member in struct:ps_prochandle
|
H A D | Pcontrol.c | 246 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...] |
/osnet-11/usr/src/lib/libc/i386/sys/ |
H A D | ptrace.c | 71 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 D | ptrace.c | 71 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/watchmalloc/common/ |
H A D | malloc.c | 1292 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/fm/topo/modules/common/ses/common/ |
H A D | ses.c | 476 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...] |