Lines Matching refs:aiow
760 /// 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.as_mut()], SigevNotify::SigevNone)
1092 /// // At this point, we are guaranteed that aiow is complete.
1093 /// assert_eq!(aiow.as_mut().aio_return().unwrap(), WBUF.len());
1110 /// let mut aiow = Box::pin(AioWrite::new(
1117 /// lio_listio(LioMode::LIO_NOWAIT, &mut[aiow.as_mut()], SigevNotify::SigevNone)
1120 /// while (aiow.as_mut().error() == Err(Errno::EINPROGRESS)) {
1123 /// assert_eq!(aiow.as_mut().aio_return().unwrap(), WBUF.len());
1159 /// let mut aiow = Box::pin(AioWrite::new(
1167 /// lio_listio(LioMode::LIO_NOWAIT, &mut[aiow.as_mut()], sev).unwrap();
1173 /// assert_eq!(aiow.as_mut().aio_return().unwrap(), WBUF.len());
1213 let aiow = AioWrite::new(666, 0, &wbuf, 0, sev);
1215 aiow.as_ref() as *const libc::aiocb,
1216 &aiow as *const AioWrite as *const libc::aiocb