Searched refs:asfd (Results 1 - 8 of 8) sorted by relevance

/osnet-11/usr/src/lib/libcmdutils/common/
H A Dprocess_xattrs.c86 int asfd = -1; local
168 get_attrdirs(indfd, outdfd, dp->d_name, &asfd,
179 (renameat(asfd, VIEW_READWRITE, atfd,
196 if (asfd != -1)
197 (void) close(asfd);
240 if (asfd != -1)
241 (void) close(asfd);
/osnet-11/usr/src/lib/libproc/common/
H A DPcore.c80 fd = P->asfd;
163 * seek pointer on P->asfd positioned appropriately. We populate a table
175 read(P->asfd, &ps32, sizeof (ps32)) != sizeof (ps32))
183 read(P->asfd, &P->status, sizeof (pstatus_t)) != sizeof (pstatus_t))
207 read(P->asfd, &l32, sizeof (l32)) != sizeof (l32))
214 read(P->asfd, &lps, sizeof (lps)) != sizeof (lps))
246 read(P->asfd, &ps32, sizeof (ps32)) != sizeof (ps32))
253 read(P->asfd, &P->psinfo, sizeof (psinfo_t)) != sizeof (psinfo_t))
278 read(P->asfd, &l32, sizeof (l32)) != sizeof (l32))
285 read(P->asfd,
[all...]
H A DPscantext.c140 (void) lseek(P->asfd, (off_t)offset, 0);
142 if ((nbytes = read(P->asfd, buf, 2*BLKSIZE)) <= 0)
166 n2bytes = read(P->asfd,
H A DPidle.c55 if ((len = pread64(P->asfd, buf, len, off)) <= 0)
140 P->asfd = fd;
H A DPcontrol.c81 return (pread(P->asfd, buf, n, (off_t)addr));
87 return (pwrite(P->asfd, buf, n, (off_t)addr));
245 P->asfd = -1;
273 P->asfd = fd;
535 P->asfd = -1;
542 if (P->asfd >= 0)
543 (void) close(P->asfd);
549 P->asfd = -1;
601 P->asfd = fd;
999 if (P->asfd >
[all...]
H A DPcontrol.h207 int asfd; /* /proc/<pid>/as filedescriptor */ member in struct:ps_prochandle
/osnet-11/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...]
/osnet-11/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;

Completed in 36 milliseconds