Lines Matching refs:aio
23 struct aio_context *aio; member
67 int len, unsigned long long offset, struct aio_context *aio) in do_aio() argument
70 .aio_data = (unsigned long) aio, in do_aio()
192 reply = ((struct aio_thread_reply) { .data = req.aio, in not_aio_thread()
194 err = write(req.aio->reply_fd, &reply, sizeof(reply)); in not_aio_thread()
197 "fd = %d, err = %d\n", req.aio->reply_fd, errno); in not_aio_thread()
266 unsigned long long offset, struct aio_context *aio) in submit_aio_26() argument
271 err = do_aio(ctx, type, io_fd, buf, len, offset, aio); in submit_aio_26()
273 reply = ((struct aio_thread_reply) { .data = aio, in submit_aio_26()
275 err = write(aio->reply_fd, &reply, sizeof(reply)); in submit_aio_26()
279 "fd = %d, err = %d\n", aio->reply_fd, -err); in submit_aio_26()
295 unsigned long long offset, struct aio_context *aio) in submit_aio_26() argument
362 unsigned long long offset, struct aio_context *aio) in submit_aio_24() argument
369 .aio = aio, in submit_aio_24()
383 struct aio_context *aio) in submit_aio() argument
385 aio->reply_fd = reply_fd; in submit_aio()
387 return submit_aio_24(type, io_fd, buf, len, offset, aio); in submit_aio()
389 return submit_aio_26(type, io_fd, buf, len, offset, aio); in submit_aio()