Home
last modified time | relevance | path

Searched refs:io_context_t (Results 1 – 20 of 20) sorted by relevance

/external/ltp/android/include/
Dlibaio.h45 typedef unsigned long io_context_t; typedef
46 typedef io_context_t aio_context_t;
59 typedef void (*io_callback_t)(io_context_t ctx, struct iocb *iocb, long res, long res2);
68 static inline int libaio_setup(int maxevents, io_context_t *ctxp) { in libaio_setup()
73 static inline int libaio_destroy(io_context_t ctx) { in libaio_destroy()
78 static inline int libaio_submit(io_context_t ctx, long nr, struct iocb *ios[]) { in libaio_submit()
83 static inline int libaio_cancel(io_context_t ctx, struct iocb *iocb, struct io_event *evt) { in libaio_cancel()
88 static inline int libaio_getevents(io_context_t ctx_id, long min_nr, long nr, struct io_event *even… in libaio_getevents()
98 static inline int io_queue_init(int maxevents, io_context_t *ctxp) { in io_queue_init()
/external/ltp/testcases/kernel/syscalls/io_setup/
Dio_setup01.c42 static void verify_failure(unsigned int nr, io_context_t *ctx, int init_val, long exp_err) in verify_failure()
64 static void verify_success(unsigned int nr, io_context_t *ctx, int init_val) in verify_success()
81 io_context_t ctx; in verify_io_setup()
/external/ltp/testcases/kernel/syscalls/io_submit/
Dio_submit01.c33 static io_context_t ctx;
34 static io_context_t invalid_ctx;
58 io_context_t *ctx;
/external/ltp/testcases/kernel/io/aio/
Daio02.c67 static void work_done(io_context_t ctx, struct iocb *iocb, long res, long res2) in work_done()
84 static int io_wait_run(io_context_t ctx, struct timespec *to) in io_wait_run()
115 io_context_t myctx; in io_tio()
Daio01.c80 io_context_t io_ctx; /* I/O Context */
/external/ltp/testcases/kernel/syscalls/eventfd/
Deventfd01.c501 static int trigger_eventfd_overflow(int evfd, int *fd, io_context_t * ctx) in trigger_eventfd_overflow()
558 static void cleanup_overflow(int fd, io_context_t ctx) in cleanup_overflow()
569 io_context_t ctx; in overflow_select_test()
597 io_context_t ctx; in overflow_poll_test()
624 io_context_t ctx; in overflow_read_test()
/external/ltp/testcases/kernel/io/ltp-aiodio/
Daiocp.c177 int io_wait_run(io_context_t ctx, struct timespec *to) in io_wait_run()
225 static void wr_done(io_context_t ctx, struct iocb *iocb, long res, long res2) in wr_done()
246 static void rd_done(io_context_t ctx, struct iocb *iocb, long res, long res2) in rd_done()
327 io_context_t myctx; in main()
Daiodio_append.c90 io_context_t myctx; in aiodio_append()
Daiodio_sparse.c68 io_context_t myctx; in aiodio_sparse()
Daio-stress.c217 io_context_t io_ctx;
936 void aio_setup(io_context_t * io_ctx, int n)
/external/ltp/testcases/kernel/syscalls/io_destroy/
Dio_destroy01.c38 io_context_t ctx; in verify_io_destroy()
/external/autotest/client/tests/aio_dio_bugs/src/
Daio-free-ring-with-bogus-nr-pages.c42 io_context_t ctx = (void*) 0; in main()
Daio-dio-subblock-eof-read.c43 io_context_t ioctx; in main()
Daio-dio-invalidate-failure.c47 io_context_t ctx; in spin_dio()
Daio-dio-extend-stat.c49 io_context_t ctxp;
/external/ltp/testcases/kernel/syscalls/io_cancel/
Dio_cancel01.c72 io_context_t ctx; in main()
/external/ltp/testcases/kernel/syscalls/io_getevents/
Dio_getevents01.c71 io_context_t ctx; in main()
/external/autotest/client/tests/aiostress/
Daio-stress.c215 io_context_t io_ctx;
916 void aio_setup(io_context_t *io_ctx, int n)
/external/stressapptest/src/
Dworker.h769 io_context_t aio_ctx_; // Asynchronous I/O context for Linux native AIO.
/external/blktrace/btreplay/
Dbtreplay.c109 io_context_t ctx;