Lines Matching refs:mIncFs
267 if (auto err = incrementalService.mIncFs->makeDir(control, fullName, 0755); !err) { in makeStorage()
347 mIncFs(sm.getIncFs()), in IncrementalService()
419 dprintf(fd, "IncFs features: 0x%x\n", int(mIncFs->features())); in onDump()
467 const auto incfsMetrics = mIncFs->getMetrics(metricsInstanceName); in onDump()
486 const auto lastReadError = mIncFs->getLastReadError(ifs->control); in onDump()
527 return mIncFs->isEverythingFullyLoaded(ifs.control) == incfs::LoadingState::MissingBlocks; in needStartDataLoaderLocked()
659 control = mIncFs->createControl(cmd, pendingReads, logs, blocksWritten); in createStorage()
697 mIncFs->makeFile(ifs->control, in createStorage()
759 (void)mIncFs->unlink(ifs->control, storageIt->second.name); in createLinkedStorage()
888 if (auto err = mIncFs->makeFile(ifs->control, in disallowReadLogs()
1123 mIncFs->unlink(ifs->control, path::join(ifs->root, constants().mount, savedFile)); in unbind()
1181 if (auto err = mIncFs->makeFile(ifs->control, normPath, mode, id, params); err) { in makeFile()
1187 if (auto err = mIncFs->reserveSpace(ifs->control, id, params.size)) { in makeFile()
1190 (void)mIncFs->unlink(ifs->control, normPath); in makeFile()
1199 (void)mIncFs->unlink(ifs->control, normPath); in makeFile()
1213 return mIncFs->makeDir(ifs->control, normPath, mode); in makeDir()
1232 return mIncFs->makeDirs(ifs.control, normPath, mode); in makeDirs()
1252 if (auto err = mIncFs->link(ifsSrc->control, normOldPath, normNewPath); err < 0) { in link()
1263 return mIncFs->unlink(ifs->control, normOldPath); in unlink()
1289 auto node = mIncFs->makeFile(ifs.control, metadataFullPath, 0444, idFromMetadata(metadata), in addBindMount()
1300 mIncFs->unlink(ifs.control, metadataFullPath); in addBindMount()
1351 return mIncFs->getMetadata(ifs->control, normPath); in getMetadata()
1359 return mIncFs->getMetadata(ifs->control, node); in getMetadata()
1384 if (auto err = mIncFs->setUidReadTimeouts(ifs->control, perUidReadTimeouts); err < 0) { in setUidReadTimeouts()
1404 mIncFs->setUidReadTimeouts(ifs->control, {}); in clearUidReadTimeouts()
1434 mIncFs->listExistingMounts([this, &mountedRootNames](auto root, auto backingDir, auto binds) { in adoptMountedInstances()
1473 auto control = mIncFs->openMount(root); in adoptMountedInstances()
1480 parseFromIncfs<metadata::Mount>(mIncFs.get(), control, in adoptMountedInstances()
1519 parseFromIncfs<metadata::BindPoint>(mIncFs.get(), in adoptMountedInstances()
1526 mIncFs->unlink(ifs->control, path::join(root, name)); in adoptMountedInstances()
1595 mIncFs->unlink(ifs->control, metadataFile); in adoptMountedInstances()
1672 IncFsMount::Control control = mIncFs->createControl(cmd, pendingReads, logs, blocksWritten); in mountExistingImage()
1677 auto mount = parseFromIncfs<metadata::Mount>(mIncFs.get(), ifs->control, in mountExistingImage()
1712 parseFromIncfs<metadata::BindPoint>(mIncFs.get(), in mountExistingImage()
1719 mIncFs->unlink(ifs->control, path::join(ifs->root, constants().mount, name)); in mountExistingImage()
1785 mIncFs->forEachFile(ifs.control, [this](auto&& control, auto&& fileId) { in trimReservedSpaceV1()
1786 if (mIncFs->isFileFullyLoaded(control, fileId) == incfs::LoadingState::Full) { in trimReservedSpaceV1()
1787 mIncFs->reserveSpace(control, fileId, -1); in trimReservedSpaceV1()
1813 if (!(mIncFs->features() & incfs::Features::v2)) { in prepareDataLoaderLocked()
1905 auto mapFiles = (mIncFs->features() & incfs::Features::v2); in configureNativeBinaries()
1908 sourceId = mIncFs->getFileId(ifs->control, apkFullPath); in configureNativeBinaries()
1964 if (auto res = mIncFs->makeMappedFile(ifs->control, targetLibPathAbsolute, 0755, in configureNativeBinaries()
1987 if (auto res = mIncFs->makeFile(ifs->control, targetLibPathAbsolute, 0755, libFileId, in configureNativeBinaries()
2121 const auto writeFd = mIncFs->openForSpecialOps(ifs->control, fileId); in setFileContent()
2147 size_t res = mIncFs->writeBlocks(instructions); in setFileContent()
2179 return mIncFs->isFileFullyLoaded(ifs->control, filePath); in isFileFullyLoaded()
2188 return mIncFs->isEverythingFullyLoaded(ifs->control); in isMountFullyLoaded()
2213 mIncFs->countFilledBlocks(ifs.control, filePath); in getLoadingProgressFromPath()
2476 const auto incfsMetrics = mIncFs->getMetrics(ifs->metricsKey); in getMetrics()
2494 const auto lastReadError = mIncFs->getLastReadError(ifs->control); in getMetrics()
3005 mHealthControl = mService.mIncFs->openMount(mHealthPath); in initializeHealthControl()
3027 if (mService.mIncFs->waitForPendingReads(control, 0ms, &mLastPendingReads) != in getOldestPendingReadTs()
3153 const auto control = mService.mIncFs->openMount(mHealthPath); in onDump()
3156 const auto metadata = mService.mIncFs->getMetadata(control, pendingRead.id); in onDump()