Lines Matching refs:fs
44 namespace fs = std::filesystem;
74 const fs::path kDevBlock = "/dev/block";
75 const fs::path kSysBlock = "/sys/block";
80 explicit BlockDevice(const fs::path& path) { name = path.filename(); } in BlockDevice()
88 fs::path SysPath() const { return kSysBlock / name; } in SysPath()
90 fs::path DevPath() const { return kDevBlock / name; } in DevPath()
106 if (fs::is_block_file(dev.DevPath(), ec)) { in GetSlaves()
117 std::pair<fs::path, fs::path> parseMountInfo(const std::string& mountInfo) { in parseMountInfo()
126 auto packageId = fs::path(mountPoint).filename(); in parseMountPoint()
155 auto status = WalkDir(dir, [&](const fs::directory_entry& entry) { in scanFlattendedPackages()
267 if (fs::path(mountPoint).parent_path() != kApexRoot) { in PopulateFromMounts()