Lines Matching refs:incfs

141     return incfs::toString(fileId);  in toString()
148 Features features() const final { return incfs::features(); } in features()
150 for (auto mount : incfs::defaultMountRegistry().copyMounts()) { in listExistingMounts()
155 Control openMount(std::string_view path) const final { return incfs::open(path); } in openMount()
158 return incfs::createControl(cmd, pendingReads, logs, blocksWritten); in createControl()
161 incfs::NewFileParams params) const final { in makeFile()
162 return incfs::makeFile(control, path, mode, id, params); in makeFile()
165 incfs::NewMappedFileParams params) const final { in makeMappedFile()
166 return incfs::makeMappedFile(control, path, mode, params); in makeMappedFile()
169 return incfs::makeDir(control, path, mode); in makeDir()
172 return incfs::makeDirs(control, path, mode); in makeDirs()
174 incfs::RawMetadata getMetadata(const Control& control, FileId fileid) const final { in getMetadata()
175 return incfs::getMetadata(control, fileid); in getMetadata()
177 incfs::RawMetadata getMetadata(const Control& control, std::string_view path) const final { in getMetadata()
178 return incfs::getMetadata(control, path); in getMetadata()
181 return incfs::getFileId(control, path); in getFileId()
185 if (incfs::features() & Features::v2) { in countFilledBlocks()
186 const auto counts = incfs::getBlockCount(control, path); in countFilledBlocks()
193 const auto fileId = incfs::getFileId(control, path); in countFilledBlocks()
194 const auto fd = incfs::openForSpecialOps(control, fileId); in countFilledBlocks()
199 const auto ranges = incfs::getFilledRanges(res); in countFilledBlocks()
214 incfs::LoadingState isFileFullyLoaded(const Control& control, in isFileFullyLoaded()
216 return incfs::isFullyLoaded(control, path); in isFileFullyLoaded()
218 incfs::LoadingState isFileFullyLoaded(const Control& control, FileId id) const final { in isFileFullyLoaded()
219 return incfs::isFullyLoaded(control, id); in isFileFullyLoaded()
221 incfs::LoadingState isEverythingFullyLoaded(const Control& control) const final { in isEverythingFullyLoaded()
222 return incfs::isEverythingFullyLoaded(control); in isEverythingFullyLoaded()
225 return incfs::link(control, from, to); in link()
228 return incfs::unlink(control, path); in unlink()
230 incfs::UniqueFd openForSpecialOps(const Control& control, FileId id) const final { in openForSpecialOps()
231 return incfs::openForSpecialOps(control, id); in openForSpecialOps()
233 ErrorCode writeBlocks(std::span<const incfs::DataBlock> blocks) const final { in writeBlocks()
234 return incfs::writeBlocks({blocks.data(), size_t(blocks.size())}); in writeBlocks()
237 return incfs::reserveSpace(control, id, size); in reserveSpace()
241 std::vector<incfs::ReadInfoWithUid>* pendingReadsBuffer) const final { in waitForPendingReads()
242 return incfs::waitForPendingReads(control, timeout, pendingReadsBuffer); in waitForPendingReads()
247 std::vector<incfs::UidReadTimeouts> timeouts(perUidReadTimeouts.size()); in setUidReadTimeouts()
256 return incfs::setUidReadTimeouts(control, timeouts); in setUidReadTimeouts()
259 return incfs::forEachFile(control, in forEachFile()
263 return incfs::forEachIncompleteFile(control, [&](auto& control, FileId id) { in forEachIncompleteFile()
268 return incfs::getMetrics(sysfsName); in getMetrics()
271 return incfs::getLastReadError(control); in getLastReadError()