Searched refs:io_context_t (Results 1 – 20 of 20) sorted by relevance
/external/ltp/android/include/ |
D | libaio.h | 45 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/ |
D | io_setup01.c | 42 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/ |
D | io_submit01.c | 33 static io_context_t ctx; 34 static io_context_t invalid_ctx; 58 io_context_t *ctx;
|
/external/ltp/testcases/kernel/io/aio/ |
D | aio02.c | 67 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()
|
D | aio01.c | 80 io_context_t io_ctx; /* I/O Context */
|
/external/ltp/testcases/kernel/syscalls/eventfd/ |
D | eventfd01.c | 501 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/ |
D | aiocp.c | 177 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()
|
D | aiodio_append.c | 90 io_context_t myctx; in aiodio_append()
|
D | aiodio_sparse.c | 68 io_context_t myctx; in aiodio_sparse()
|
D | aio-stress.c | 217 io_context_t io_ctx; 936 void aio_setup(io_context_t * io_ctx, int n)
|
/external/ltp/testcases/kernel/syscalls/io_destroy/ |
D | io_destroy01.c | 38 io_context_t ctx; in verify_io_destroy()
|
/external/autotest/client/tests/aio_dio_bugs/src/ |
D | aio-free-ring-with-bogus-nr-pages.c | 42 io_context_t ctx = (void*) 0; in main()
|
D | aio-dio-subblock-eof-read.c | 43 io_context_t ioctx; in main()
|
D | aio-dio-invalidate-failure.c | 47 io_context_t ctx; in spin_dio()
|
D | aio-dio-extend-stat.c | 49 io_context_t ctxp;
|
/external/ltp/testcases/kernel/syscalls/io_cancel/ |
D | io_cancel01.c | 72 io_context_t ctx; in main()
|
/external/ltp/testcases/kernel/syscalls/io_getevents/ |
D | io_getevents01.c | 71 io_context_t ctx; in main()
|
/external/autotest/client/tests/aiostress/ |
D | aio-stress.c | 215 io_context_t io_ctx; 916 void aio_setup(io_context_t *io_ctx, int n)
|
/external/stressapptest/src/ |
D | worker.h | 769 io_context_t aio_ctx_; // Asynchronous I/O context for Linux native AIO.
|
/external/blktrace/btreplay/ |
D | btreplay.c | 109 io_context_t ctx;
|