Searched refs:fileFD (Results 1 – 5 of 5) sorted by relevance
| /openbmc/openpower-debug-collector/dump/ |
| H A D | create_pel.cpp | 212 calloutFile("/tmp/phalPELCalloutsJson.XXXXXX"), fileFD(-1) in FFDCFile() 224 return fileFD; in getFileFD() 236 fileFD = mkostemp(const_cast<char*>(calloutFile.c_str()), O_RDWR); in createCalloutFile() 238 if (fileFD == -1) in createCalloutFile() 250 ssize_t rc = write(fileFD, calloutData.c_str(), calloutData.size()); in writeCalloutData() 271 int rc = lseek(fileFD, 0, SEEK_SET); in setCalloutFileSeekPos() 287 close(fileFD); in removeCalloutFile()
|
| H A D | create_pel.hpp | 119 int fileFD; member in openpower::dump::pel::FFDCFile
|
| /openbmc/openpower-proc-control/extensions/phal/ |
| H A D | create_pel.cpp | 289 calloutFile("/tmp/phalPELCalloutsJson.XXXXXX"), fileFD(-1) in FFDCFile() 301 return fileFD; in getFileFD() 313 fileFD = mkostemp(const_cast<char*>(calloutFile.c_str()), O_RDWR); in createCalloutFile() 315 if (fileFD == -1) in createCalloutFile() 327 ssize_t rc = write(fileFD, calloutData.c_str(), calloutData.size()); in writeCalloutData() 349 int rc = lseek(fileFD, 0, SEEK_SET); in setCalloutFileSeekPos() 365 close(fileFD); in removeCalloutFile()
|
| H A D | create_pel.hpp | 108 int fileFD; member in openpower::pel::FFDCFile
|
| /openbmc/phosphor-logging/test/openpower-pels/ |
| H A D | pel_manager_test.cpp | 1206 int fileFD = -1; in createHWIsolatedCalloutFile() local 1208 fileFD = mkostemp(calloutFile.data(), O_RDWR); in createHWIsolatedCalloutFile() 1209 if (fileFD == -1) in createHWIsolatedCalloutFile() 1215 ssize_t rc = write(fileFD, calloutData.c_str(), calloutData.size()); in createHWIsolatedCalloutFile() 1219 close(fileFD); in createHWIsolatedCalloutFile() 1224 rc = lseek(fileFD, 0, SEEK_SET); in createHWIsolatedCalloutFile() 1228 close(fileFD); in createHWIsolatedCalloutFile() 1231 return {fileFD, calloutFile}; in createHWIsolatedCalloutFile()
|