Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dd_path.c46 struct stat fileStat; in trigger_fstat_events() local
95 fstat(pipefd[0], &fileStat); in trigger_fstat_events()
96 fstat(pipefd[1], &fileStat); in trigger_fstat_events()
97 fstat(sockfd, &fileStat); in trigger_fstat_events()
98 fstat(procfd, &fileStat); in trigger_fstat_events()
99 fstat(devfd, &fileStat); in trigger_fstat_events()
100 fstat(localfd, &fileStat); in trigger_fstat_events()
101 fstat(indicatorfd, &fileStat); in trigger_fstat_events()
/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
35 if (stat(devName.data(), &fileStat) != 0) in doesDeviceExist()
H A Dpasswd_mgr.cpp602 struct stat fileStat = {}; in getUpdatedFileTime() local
603 if (stat(passwdFileName, &fileStat) != 0) in getUpdatedFileTime()
608 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.cpp1570 struct stat fileStat; in getUpdatedFileTime() local
1571 if (stat(ipmiUserDataFile, &fileStat) != 0) in getUpdatedFileTime()
1576 return fileStat.st_mtim; in getUpdatedFileTime()