Lines Matching refs:ErrorCode
183 using ErrorCode = IncFsErrorCode; variable
217 ErrorCode setOptions(const Control& control, MountOptions newOptions);
219 ErrorCode bindMount(std::string_view sourceDir, std::string_view targetDir);
220 ErrorCode unmount(std::string_view dir);
224 ErrorCode makeFile(const Control& control, std::string_view path, int mode, FileId fileId,
226 ErrorCode makeMappedFile(const Control& control, std::string_view path, int mode,
228 ErrorCode makeDir(const Control& control, std::string_view path, int mode = 0555);
229 ErrorCode makeDirs(const Control& control, std::string_view path, int mode = 0555);
238 ErrorCode link(const Control& control, std::string_view sourcePath, std::string_view targetPath);
239 ErrorCode unlink(const Control& control, std::string_view path);
254 ErrorCode writeBlocks(Span<const DataBlock> blocks);
256 std::pair<ErrorCode, FilledRanges> getFilledRanges(int fd);
257 std::pair<ErrorCode, FilledRanges> getFilledRanges(int fd, FilledRanges::RangeBuffer&& buffer);
258 std::pair<ErrorCode, FilledRanges> getFilledRanges(int fd, FilledRanges&& resumeFrom);
260 ErrorCode setUidReadTimeouts(const Control& control, Span<const UidReadTimeouts> timeouts);
269 ErrorCode forEachFile(const Control& control, Callback&& cb);
271 ErrorCode forEachIncompleteFile(const Control& control, Callback&& cb);
282 ErrorCode reserveSpace(const Control& control, std::string_view path, Size size);
283 ErrorCode reserveSpace(const Control& control, FileId id, Size size);