Lines Matching refs:aio_events
179 struct io_event *aio_events; member
187 if (rwio->aio_events) { in tapdisk_rwio_destroy()
188 free(rwio->aio_events); in tapdisk_rwio_destroy()
189 rwio->aio_events = NULL; in tapdisk_rwio_destroy()
199 rwio->aio_events = calloc(size, sizeof(struct io_event)); in tapdisk_rwio_setup()
200 if (!rwio->aio_events) in tapdisk_rwio_setup()
243 ep = rwio->aio_events + i; in tapdisk_rwio_submit()
249 split = io_split(&queue->opioctx, rwio->aio_events, merged); in tapdisk_rwio_submit()
250 tapdisk_filter_events(queue->filter, rwio->aio_events, split); in tapdisk_rwio_submit()
252 for (i = split, ep = rwio->aio_events; i-- > 0; ep++) { in tapdisk_rwio_submit()
277 struct io_event *aio_events; member
414 if (lio->aio_events) { in tapdisk_lio_destroy()
415 free(lio->aio_events); in tapdisk_lio_destroy()
416 lio->aio_events = NULL; in tapdisk_lio_destroy()
455 queue->size, lio->aio_events, NULL); in tapdisk_lio_event()
456 split = io_split(&queue->opioctx, lio->aio_events, ret); in tapdisk_lio_event()
457 tapdisk_filter_events(queue->filter, lio->aio_events, split); in tapdisk_lio_event()
464 for (i = split, ep = lio->aio_events; i-- > 0; ep++) { in tapdisk_lio_event()
495 lio->aio_events = calloc(qlen, sizeof(struct io_event)); in tapdisk_lio_setup()
496 if (!lio->aio_events) { in tapdisk_lio_setup()