H A D | aio.c | 13 #include "aio.h" 24 struct aio_context *aio; member in struct:aio_thread_req 31 * If we don't have aio in libc, we define the necessary stubs here. 66 int len, unsigned long long offset, struct aio_context *aio) 72 iocb = ((struct iocb) { .aio_data = (unsigned long) aio, 202 reply = ((struct aio_thread_reply) { .data = req.aio, 204 err = write(req.aio->reply_fd, &reply, sizeof(reply)); 207 "err = %d\n", req.aio->reply_fd, errno); 277 unsigned long long offset, struct aio_context *aio) 282 err = do_aio(ctx, type, io_fd, buf, len, offset, aio); 65 do_aio(aio_context_t ctx, enum aio_type type, int fd, char *buf, int len, unsigned long long offset, struct aio_context *aio) argument 276 submit_aio_26(enum aio_type type, int io_fd, char *buf, int len, unsigned long long offset, struct aio_context *aio) argument 305 submit_aio_26(enum aio_type type, int io_fd, char *buf, int len, unsigned long long offset, struct aio_context *aio) argument 374 submit_aio_24(enum aio_type type, int io_fd, char *buf, int len, unsigned long long offset, struct aio_context *aio) argument 394 submit_aio(enum aio_type type, int io_fd, char *buf, int len, unsigned long long offset, int reply_fd, struct aio_context *aio) argument [all...] |