Home
last modified time | relevance | path

Searched refs:fileStat (Results 1 – 5 of 5) sorted by relevance

/openbmc/phosphor-health-monitor/
H A Dhealth_metric_collection.cpp36 std::ifstream fileStat(procStat); in readCPU() local
37 if (!fileStat.is_open()) in readCPU()
46 std::getline(fileStat, firstLine); in readCPU()
/openbmc/phosphor-host-ipmid/user_channel/
H A Dchannel_layer.cpp32 struct stat fileStat = {}; in doesDeviceExist() local
42 if (stat(devName.data(), &fileStat) != 0) in doesDeviceExist()
H A Dpasswd_mgr.cpp594 struct stat fileStat = {}; in getUpdatedFileTime() local
595 if (stat(passwdFileName, &fileStat) != 0) in getUpdatedFileTime()
600 return fileStat.st_mtime; in getUpdatedFileTime()
H A Dchannel_mgmt.cpp711 struct stat fileStat; in getUpdatedFileTime() local
712 if (stat(fileName.c_str(), &fileStat) != 0) in getUpdatedFileTime()
717 return fileStat.st_mtime; in getUpdatedFileTime()
H A Duser_mgmt.cpp1443 struct stat fileStat; in getUpdatedFileTime() local
1444 if (stat(ipmiUserDataFile, &fileStat) != 0) in getUpdatedFileTime()
1449 return fileStat.st_mtim; in getUpdatedFileTime()