Searched refs:gc_path (Results 1 – 2 of 2) sorted by relevance
62 std::string gc_path = GetGarbageCollectPath(); in GarbageCollect() local64 if (gc_path.empty()) { in GarbageCollect()71 LOG(INFO) << "Start Dev GC on " << gc_path; in GarbageCollect()74 if (!ReadFileToString(gc_path, &require_gc)) { in GarbageCollect()75 PLOG(WARNING) << "Reading manual_gc failed in " << gc_path; in GarbageCollect()97 LOG(DEBUG) << "Trigger Dev GC on " << gc_path << " having " << require_gc << ", WB on " in GarbageCollect()99 if (!WriteStringToFile("1", gc_path)) { in GarbageCollect()100 PLOG(WARNING) << "Start Dev GC failed on " << gc_path; in GarbageCollect()111 LOG(INFO) << "Stop Dev GC on " << gc_path; in GarbageCollect()112 if (!WriteStringToFile("0", gc_path)) { in GarbageCollect()[all …]
103 std::string gc_path; in addFromVolumeManager() local105 if (fs_type == "f2fs" && (Realpath(vol->getRawDmDevPath(), &gc_path) || in addFromVolumeManager()106 Realpath(vol->getRawDevPath(), &gc_path))) { in addFromVolumeManager()107 paths->push_back(std::string("/sys/fs/") + fs_type + "/" + Basename(gc_path)); in addFromVolumeManager()145 std::string gc_path; in addFromFstab() local147 Realpath(android::vold::BlockDeviceForPath(entry.mount_point + "/"), &gc_path)) { in addFromFstab()148 paths->push_back("/sys/fs/" + entry.fs_type + "/" + Basename(gc_path)); in addFromFstab()