Home
last modified time | relevance | path

Searched refs:aiow (Results 1 - 2 of 2) sorted by relevance

/third_party/rust/crates/nix/test/sys/
H A Dtest_aio.rs152 // Wait for aiow to complete, but don't care whether it succeeded in cancel()
331 let mut aiow = Box::pin(AioWrite::new( in cancel() variables
338 aiow.as_mut().submit().unwrap(); in cancel()
339 let err = aiow.as_mut().error(); in cancel()
342 aiow.as_mut().cancel().unwrap(); in cancel()
344 // Wait for aiow to complete, but don't care whether it succeeded in cancel()
345 let _ = poll_aio!(&mut aiow); in cancel()
346 let _ = aiow.as_mut().aio_return(); in cancel()
361 let mut aiow = Box::pin(AioWrite::new( in ok() variables
368 aiow in ok()
391 let mut aiow = AioWrite::new( on_stack() variables
398 let mut aiow = unsafe { Pin::new_unchecked(&mut aiow) }; on_stack() variables
419 let mut aiow = Box::pin(AioWrite::new( error() variables
477 let mut aiow = Box::pin(AioWritev::new( ok() variables
524 let mut aiow = Box::pin(AioWrite::new( sigev_signal() variables
[all...]
/third_party/rust/crates/nix/src/sys/
H A Daio.rs760 /// let mut aiow = Box::pin(
769 /// aiow.as_mut().submit().unwrap();
770 /// while (aiow.as_mut().error() == Err(Errno::EINPROGRESS)) {
773 /// assert_eq!(aiow.as_mut().aio_return().unwrap(), WBUF.len());
877 /// let mut aiow = Box::pin(
886 /// aiow.as_mut().submit().unwrap();
887 /// while (aiow.as_mut().error() == Err(Errno::EINPROGRESS)) {
890 /// assert_eq!(aiow.as_mut().aio_return().unwrap(), len);
1083 /// let mut aiow = Box::pin(AioWrite::new(
1090 /// lio_listio(LioMode::LIO_WAIT, &mut[aiow
[all...]

Completed in 3 milliseconds