Searched refs:fileStat (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | d_path.c | 46 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 D | health_metric_collection.cpp | 36 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 D | channel_layer.cpp | 32 struct stat fileStat = {}; in doesDeviceExist() local 35 if (stat(devName.data(), &fileStat) != 0) in doesDeviceExist()
|
H A D | passwd_mgr.cpp | 594 struct stat fileStat = {}; in getUpdatedFileTime() local 595 if (stat(passwdFileName, &fileStat) != 0) in getUpdatedFileTime() 600 return fileStat.st_mtime; in getUpdatedFileTime()
|
H A D | channel_mgmt.cpp | 705 struct stat fileStat; in getUpdatedFileTime() local 706 if (stat(fileName.c_str(), &fileStat) != 0) in getUpdatedFileTime() 711 return fileStat.st_mtime; in getUpdatedFileTime()
|
H A D | user_mgmt.cpp | 1558 struct stat fileStat; in getUpdatedFileTime() local 1559 if (stat(ipmiUserDataFile, &fileStat) != 0) in getUpdatedFileTime() 1564 return fileStat.st_mtim; in getUpdatedFileTime()
|