Searched refs:TransferId (Results 1 – 3 of 3) sorted by relevance
27 struct TransferId { struct31 constexpr TransferId() : TransferId(TransferDirection::READ, 0) {} in TransferId() function32 TransferId(const TransferId& copy) = default;33 TransferId(TransferId&& move) = default;35 TransferId& operator=(const TransferId& copy) = default; argument36 TransferId& operator=(TransferId&& move) = default; argument39 constexpr TransferId(TransferDirection direction, uint64_t id) : direction(direction), id(id) {} in TransferId() argument42 bool operator==(const TransferId& rhs) const {50 static constexpr TransferId read(uint64_t id) { in read() argument51 return TransferId(TransferDirection::READ, id); in read()[all …]
94 TransferId id() const { return TransferId::from_value(control.aio_data); } in id()466 block->control.aio_data = static_cast<uint64_t>(TransferId::read(id)); in PrepareReadBlock()496 TransferId id = TransferId::from_value(event.data); in ReadEvents()531 bool HandleRead(TransferId id, int64_t size) { in HandleRead()612 void HandleWrite(TransferId id) { in HandleWrite()629 block.control.aio_data = static_cast<uint64_t>(TransferId::write(id)); in CreateWriteBlock()
112 TransferId id;286 write->id = TransferId::write(next_write_id_++); in SubmitWrite()686 std::unordered_map<TransferId, std::unique_ptr<WriteBlock>> writes_ GUARDED_BY(write_mutex_);