Lines Matching full:aio
43 #include <aio.h>
262 struct aiocb aio, *aiop; in main() local
265 /* See if we have we have working AIO support */ in main()
266 memset(&aio, 0, sizeof(aio)); in main()
268 aio.aio_buf = aio_buf; in main()
269 if (aio.aio_buf == NULL) in main()
271 aio.aio_fildes = file_fd; in main()
272 aio.aio_offset = 0; in main()
273 aio.aio_nbytes = sector_size; in main()
275 if (aio_read(&aio) != 0) { in main()
276 printf("AIO support is not available- switchin to" in main()
282 assert(aiop == &aio); in main()
287 warnx("aio support tested ok"); in main()
430 /* Check for the next signal, read ready, or AIO completion */ in request_loop()
461 warnx("aio ready"); in request_loop()
721 * Go through all completed AIO/CTIOs for a given ATIO and advance data
771 "aio" : "ctio"); in run_queue()
878 /* Initialize CTIO, CTIO descr, and AIO */ in get_ctio()