Searched refs:statfd (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/lib/libcontract/common/ |
H A D | device_dump.c | 53 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 D | Pcontrol.c | 556 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 D | Pcontrol.h | 222 int statfd; /* /proc/<pid>/status filedescriptor */ member
|
H A D | Pidle.c | 188 P->statfd = -1; in Pgrab_file()
|
H A D | Pcore.c | 2427 P->statfd = -1;
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/ses/ |
H A D | ses.c | 510 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()
|