Searched defs:asfd (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/lib/libcmdutils/common/
H A Dprocess_xattrs.c87 int asfd = -1; local
169 get_attrdirs(indfd, outdfd, dp->d_name, &asfd,
180 (renameat(asfd, VIEW_READWRITE, atfd,
197 if (asfd != -1)
198 (void) close(asfd);
240 if (asfd != -1)
241 (void) close(asfd);
/illumos-gate/usr/src/lib/libc/i386/sys/
H A Dptrace.c70 int asfd; /* /proc/<pid>/as */ member in struct:cstatus
238 if (pread(cp->asfd, (char *)&data, sizeof (data), (off_t)addr)
267 if (pwrite(cp->asfd, (char *)&data, sizeof (data), (off_t)addr)
490 omode = (cp->asfd > 0)? O_RDWR : (O_RDWR|O_EXCL);
493 (cp->asfd = Dupfd(fd, cp->asfd)) < 0)
519 if (cp->asfd > 0)
520 (void) close(cp->asfd);
525 cp->asfd = 0;
/illumos-gate/usr/src/lib/libc/sparc/sys/
H A Dptrace.c70 int asfd; /* /proc/<pid>/as */ member in struct:cstatus
238 if (pread(cp->asfd, (char *)&data, sizeof (data), (off_t)addr)
271 if (pwrite(cp->asfd, (char *)&data, sizeof (data), (off_t)addr)
326 (void) pread(cp->asfd, (char *)&ps->pr_lwp.pr_reg[R_L0],
498 omode = (cp->asfd > 0)? O_RDWR : (O_RDWR|O_EXCL);
501 (cp->asfd = Dupfd(fd, cp->asfd)) < 0)
527 if (cp->asfd > 0)
528 (void) close(cp->asfd);
533 cp->asfd
[all...]
/illumos-gate/usr/src/cmd/ps/
H A Ducbps.c401 int asfd; /* file descriptor for /proc/nnnnn/as */ local
412 asfd = -1;
418 asfd = open(asname, O_RDONLY);
431 if (asfd > 0)
432 (void) close(asfd);
476 if (asfd > 0) {
478 preadargs(asfd, &info, psargs) == -1) ||
479 (eflg && preadenvs(asfd, &info, psargs) == -1)) {
482 (void) close(asfd);
523 if (asfd >
[all...]
/illumos-gate/usr/src/cmd/power/
H A Dpowerd.c463 int asfd; local
465 if ((asfd = open(CPR_CONFIG, O_RDONLY)) < 0) {
470 if (read(asfd, (void *)&asinfo, sizeof (asinfo)) != sizeof (asinfo)) {
472 (void) close(asfd);
476 (void) close(asfd);
/illumos-gate/usr/src/lib/libproc/common/
H A DPcontrol.h211 int asfd; /* /proc/<pid>/as filedescriptor */ member in struct:ps_prochandle

Completed in 54 milliseconds