Lines Matching refs:FileId
58 using FileId = int16_t; typedef
122 FileId file_id; // 2 bytes
131 FileId file_id; // 2 bytes
152 File(const char* filepath, FileId id, int64_t size, unique_fd fd, int64_t tree_offset, in File()
182 const FileId id;
186 File(const char* filepath, FileId id, int64_t size, int64_t tree_offset) in File()
239 SendResult SendDataBlock(FileId fileId, BlockIdx blockIdx, bool flush = false);
241 bool SendTreeBlock(FileId fileId, int32_t fileBlockIdx, BlockIdx blockIdx);
242 bool SendTreeBlocksForDataBlock(FileId fileId, BlockIdx blockIdx);
347 request.file_id = readBigEndian<FileId>(&commandBuf[2]); in ReadRequest()
352 bool IncrementalServer::SendTreeBlocksForDataBlock(const FileId fileId, const BlockIdx blockIdx) { in SendTreeBlocksForDataBlock()
388 bool IncrementalServer::SendTreeBlock(FileId fileId, int32_t fileBlockIdx, BlockIdx blockIdx) { in SendTreeBlock()
410 auto IncrementalServer::SendDataBlock(FileId fileId, BlockIdx blockIdx, bool flush) -> SendResult { in SendDataBlock()
551 std::unordered_set<FileId> prefetchedFiles; in Serve()
581 FileId fileId = request->file_id; in Serve()
597 if (fileId < 0 || fileId >= (FileId)files_.size() || blockIdx < 0 || in Serve()