Lines Matching refs:fs
29 namespace fs = std::filesystem;
49 fs::path ioChannelsPath{iochanneldir}; in findPhandleMatch()
52 if (!fs::exists(ioChannelsPath)) in findPhandleMatch()
63 for (const auto& ofInst : fs::recursive_directory_iterator(phandledir)) in findPhandleMatch()
89 fs::path devPath{instancePath}; in findCalloutPath()
94 devPath = fs::canonical(devPath); in findCalloutPath()
102 fs::path p{devPath}; in findCalloutPath()
104 p = fs::canonical(p); in findCalloutPath()
114 fs::path ofDevPath{devPath}; in findCalloutPath()
119 ofDevPath = fs::canonical(ofDevPath); in findCalloutPath()
130 for (const auto& iioDev : fs::recursive_directory_iterator(iioDevices)) in findCalloutPath()
137 p = fs::canonical(p); in findCalloutPath()
152 return fs::canonical(iioDev).parent_path(); in findCalloutPath()
168 auto fullOfPath = fs::path(ofRoot) / fs::path(ofNode).relative_path(); in findHwmonFromOFPath()
170 for (const auto& hwmonInst : fs::directory_iterator(hwmonRoot)) in findHwmonFromOFPath()
177 path = fs::canonical(path); in findHwmonFromOFPath()
206 fs::path p{"/sys"}; in findHwmonFromDevPath()
207 p /= fs::path(devPath).relative_path(); in findHwmonFromDevPath()
222 auto dir_iter = fs::directory_iterator(path); in findHwmonFromDevPath()
224 [](const fs::directory_entry& d) { in findHwmonFromDevPath()