H A D | aio.c | 12 #include "aio.h" 25 struct aio_context *aio; member in struct:aio_thread_req 33 * If we don't have aio in libc, we define the necessary stubs here. 69 int len, unsigned long long offset, struct aio_context *aio) 72 .aio_data = (unsigned long) aio, 195 reply = ((struct aio_thread_reply) { .data = req.aio, 197 err = write(req.aio->reply_fd, &reply, sizeof(reply)); 200 "fd = %d, err = %d\n", req.aio->reply_fd, errno); 269 unsigned long long offset, struct aio_context *aio) 274 err = do_aio(ctx, type, io_fd, buf, len, offset, aio); 68 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 268 submit_aio_26(enum aio_type type, int io_fd, char *buf, int len, unsigned long long offset, struct aio_context *aio) argument 297 submit_aio_26(enum aio_type type, int io_fd, char *buf, int len, unsigned long long offset, struct aio_context *aio) argument 364 submit_aio_24(enum aio_type type, int io_fd, char *buf, int len, unsigned long long offset, struct aio_context *aio) argument 384 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...] |