Lines Matching refs:IoBlock
120 struct IoBlock { struct
467 void PrepareReadBlock(IoBlock* block, uint64_t id) { in PrepareReadBlock()
475 IoBlock CreateReadBlock(uint64_t id) { in CreateReadBlock()
476 IoBlock block; in CreateReadBlock()
521 IoBlock* block = &read_requests_[read_idx]; in HandleRead()
534 IoBlock* current_block = &read_requests_[read_idx]; in HandleRead()
543 void ProcessRead(IoBlock* block) { in ProcessRead()
575 bool SubmitRead(IoBlock* block) { in SubmitRead()
608 std::unique_ptr<IoBlock> CreateWriteBlock(std::shared_ptr<Block> payload, size_t offset, in CreateWriteBlock()
610 auto block = std::make_unique<IoBlock>(); in CreateWriteBlock()
625 std::unique_ptr<IoBlock> CreateWriteBlock(Block payload, uint64_t id) { in CreateWriteBlock()
692 std::array<IoBlock, kUsbReadQueueDepth> read_requests_;
702 std::deque<std::unique_ptr<IoBlock>> write_requests_ GUARDED_BY(write_mutex_);