Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libcontract/common/
H A Ddevice_dump.c53 int statfd; in event_device() local
58 statfd = contract_open(ctid, "device", "status", O_RDONLY); in event_device()
59 if (statfd == -1) { in event_device()
64 if (ct_status_read(statfd, CTD_ALL, &stathdl) != 0) { in event_device()
100 (void) close(statfd); in event_device()
/illumos-gate/usr/src/lib/libproc/common/
H A DPcontrol.c556 P->statfd = -1; in Pxcreate()
593 P->statfd = fd; in Pxcreate()
846 P->statfd = -1; in Pgrab()
853 if (P->statfd >= 0) in Pgrab()
854 (void) close(P->statfd); in Pgrab()
859 P->statfd = -1; in Pgrab()
931 P->statfd = fd; in Pgrab()
1278 if (P->statfd >= 0) in Pfree()
1279 (void) close(P->statfd); in Pfree()
1287 P->statfd = -1; in Pfree()
[all …]
H A DPcontrol.h222 int statfd; /* /proc/<pid>/status filedescriptor */ member
H A DPidle.c188 P->statfd = -1; in Pgrab_file()
H A DPcore.c2427 P->statfd = -1;
/illumos-gate/usr/src/lib/fm/topo/modules/common/ses/
H A Dses.c510 int efd, ctlfd, statfd; in ses_contract_thread() local
573 statfd = open64(path, O_RDONLY); in ses_contract_thread()
574 (void) ct_status_read(statfd, CTD_COMMON, &stathdl); in ses_contract_thread()
578 (void) close(statfd); in ses_contract_thread()