Searched refs:backing_file (Results 1 – 2 of 2) sorted by relevance
141 auto backing_file = dev.GetProperty("loop/backing_file"); in PopulateLoopInfo() local142 if (!backing_file.ok()) { in PopulateLoopInfo()143 return backing_file.error(); in PopulateLoopInfo()145 backing_files.push_back(std::move(*backing_file)); in PopulateLoopInfo()
129 std::string backing_file; in ShouldDeleteLoopDevice() local130 if (ReadFileToString(StringPrintf("%s/loop/backing_file", node.data()), &backing_file)) { in ShouldDeleteLoopDevice()131 if (StartsWith(backing_file, std::string(MNT_DIR) + "/" + FAKE_ROOT_NAME)) { in ShouldDeleteLoopDevice()