Searched refs:statfd (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/lib/libcontract/common/
H A Ddevice_dump.c55 int statfd; local
60 statfd = contract_open(ctid, "device", "status", O_RDONLY);
61 if (statfd == -1) {
66 if (ct_status_read(statfd, CTD_ALL, &stathdl) != 0) {
102 (void) close(statfd);
/illumos-gate/usr/src/lib/libproc/common/
H A DPcontrol.c498 P->statfd = -1;
534 P->statfd = fd;
788 P->statfd = -1;
795 if (P->statfd >= 0)
796 (void) close(P->statfd);
801 P->statfd = -1;
872 P->statfd = fd;
1218 if (P->statfd >= 0)
1219 (void) close(P->statfd);
1227 P->statfd
[all...]
H A DPcontrol.h213 int statfd; /* /proc/<pid>/status filedescriptor */ member in struct:ps_prochandle
H A DPidle.c188 P->statfd = -1;
H A DPcore.c2325 P->statfd = -1;
/illumos-gate/usr/src/lib/fm/topo/modules/common/ses/
H A Dses.c463 int efd, ctlfd, statfd; local
526 statfd = open64(path, O_RDONLY);
527 (void) ct_status_read(statfd, CTD_COMMON, &stathdl);
531 (void) close(statfd);

Completed in 81 milliseconds