Searched refs:MAX_AIO_EVENTS (Results 1 – 1 of 1) sorted by relevance
37 #define MAX_AIO_EVENTS 4000 macro50 struct iocb *iocbs[MAX_AIO_EVENTS];51 struct io_event ioevents[MAX_AIO_EVENTS];76 ret = io_setup(MAX_AIO_EVENTS, &ctxp); in main()80 for (i = 0; i < MAX_AIO_EVENTS; ++i) { in main()105 MAX_AIO_EVENTS); in main()112 long n = MAX_AIO_EVENTS; in fun_read()119 r = io_getevents(ctxp, 1, MAX_AIO_EVENTS, ioevents, NULL); in fun_read()148 for(i = 0; i < MAX_AIO_EVENTS; ++i) { in fun_writeN()159 ret = io_submit(ctxp, MAX_AIO_EVENTS, iocbs); in fun_write1()[all …]