Home
last modified time | relevance | path

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

/bootable/libbootloader/gbl/libstorage/src/
Dnon_blocking.rs219 enum IoBufferState<'a> { enum
228 struct IoBuffer<'a>(IoBufferState<'a>);
244 Self(IoBufferState::Ready(buffer, IoStatus::Completed)) in new()
252 IoBufferState::Ready(_, status) => status, in status()
279 IoBufferState::Ready(b, _) => { in set_pending()
281 self.0 = IoBufferState::Pending(*b as _, ptr, PhantomData); in set_pending()
291 IoBufferState::Ready(buffer, _) => buffer, in get()
299 IoBufferState::Ready(_, _) => {} in update()
300 IoBufferState::Pending(buffer, ptr, _) => { in update()
309 self.0 = IoBufferState::Ready(unsafe { &mut **buffer }, v); in update()
[all …]