Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/libcontract/common/
H A Ddevice_dump.c55 int statfd; in event_device() local
60 statfd = contract_open(ctid, "device", "status", O_RDONLY); in event_device()
61 if (statfd == -1) { in event_device()
66 if (ct_status_read(statfd, CTD_ALL, &stathdl) != 0) { in event_device()
102 (void) close(statfd); in event_device()
/titanic_44/usr/src/lib/libproc/common/
H A DPcontrol.c488 P->statfd = -1; in Pxcreate()
524 P->statfd = fd; in Pxcreate()
778 P->statfd = -1; in Pgrab()
785 if (P->statfd >= 0) in Pgrab()
786 (void) close(P->statfd); in Pgrab()
791 P->statfd = -1; in Pgrab()
862 P->statfd = fd; in Pgrab()
1208 if (P->statfd >= 0) in Pfree()
1209 (void) close(P->statfd); in Pfree()
1217 P->statfd = -1; in Pfree()
[all …]
H A DPcontrol.h211 int statfd; /* /proc/<pid>/status filedescriptor */ member
H A DPidle.c187 P->statfd = -1; in Pgrab_file()
H A DPcore.c2274 P->statfd = -1; in Pfgrab_core()
/titanic_44/usr/src/lib/fm/topo/modules/common/ses/
H A Dses.c463 int efd, ctlfd, statfd; in ses_contract_thread() local
526 statfd = open64(path, O_RDONLY); in ses_contract_thread()
527 (void) ct_status_read(statfd, CTD_COMMON, &stathdl); in ses_contract_thread()
531 (void) close(statfd); in ses_contract_thread()