Lines Matching refs:IoBufferState
219 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()
319 IoBufferState::Ready(buffer, _) => { in take()