Home
last modified time | relevance | path

Searched refs:NonBlockingIoState (Results 1 – 1 of 1) sorted by relevance

/bootable/libbootloader/gbl/libstorage/src/
Dtestlib.rs66 enum NonBlockingIoState { enum
85 io: Option<NonBlockingIoState>,
146 Some(NonBlockingIoState::Pending(query_timestamp(), blk_offset, buffer, false)); in write_blocks()
166 Some(NonBlockingIoState::Pending(query_timestamp(), blk_offset, buffer, true)); in read_blocks()
174 Some(NonBlockingIoState::Pending(ts, blk_offset, ref mut buffer, is_read)) in check_status()
184 self.io = Some(NonBlockingIoState::Ready(IoStatus::Completed)); in check_status()
188 Some(NonBlockingIoState::Ready(v)) => { in check_status()
199 Some(NonBlockingIoState::Pending(_, _, _, _)) => { in abort()
200 self.io = Some(NonBlockingIoState::Ready(IoStatus::Aborted)); in abort()