Home
last modified time | relevance | path

Searched refs:aio_events (Results 1 – 8 of 8) sorted by relevance

/external/fio/engines/
Dsolarisaio.c16 struct io_u **aio_events; member
69 sd->aio_events[sd->aio_pending] = io_u; in wait_for_event()
105 return sd->aio_events[event]; in fio_solarisaio_event()
161 free(sd->aio_events); in fio_solarisaio_cleanup()
199 sd->aio_events = malloc(max_depth * sizeof(struct io_u *)); in fio_solarisaio_init()
200 memset(sd->aio_events, 0, max_depth * sizeof(struct io_u *)); in fio_solarisaio_init()
Dposixaio.c16 struct io_u **aio_events; member
131 pd->aio_events[r++] = io_u; in fio_posixaio_getevents()
166 return pd->aio_events[event]; in fio_posixaio_event()
226 free(pd->aio_events); in fio_posixaio_cleanup()
236 pd->aio_events = malloc(td->o.iodepth * sizeof(struct io_u *)); in fio_posixaio_init()
237 memset(pd->aio_events, 0, td->o.iodepth * sizeof(struct io_u *)); in fio_posixaio_init()
Dlibaio.c22 struct io_event *aio_events; member
90 ev = ld->aio_events + event; in fio_libaio_event()
165 ld->aio_events + events); in fio_libaio_getevents()
168 max, ld->aio_events + events, lt); in fio_libaio_getevents()
313 return io_cancel(ld->aio_ctx, &io_u->iocb, ld->aio_events); in fio_libaio_cancel()
329 free(ld->aio_events); in fio_libaio_cleanup()
362 ld->aio_events = calloc(ld->entries, sizeof(struct io_event)); in fio_libaio_init()
Dwindowsaio.c26 struct io_u **aio_events; member
62 wd->aio_events = malloc(td->o.iodepth * sizeof(struct io_u*)); in fio_windowsaio_init()
63 if (wd->aio_events == NULL) { in fio_windowsaio_init()
80 if (wd->aio_events != NULL) in fio_windowsaio_init()
81 free(wd->aio_events); in fio_windowsaio_init()
148 free(wd->aio_events); in fio_windowsaio_cleanup()
260 return wd->aio_events[event]; in fio_windowsaio_event()
292 wd->aio_events[dequeued] = io_u; in fio_windowsaio_getevents()
Dglusterfs_async.c19 return gf_data->aio_events[event]; in fio_gf_event()
41 g->aio_events[events] = io_u; in fio_gf_getevents()
154 g->aio_events = calloc(td->o.iodepth, sizeof(struct io_u *)); in fio_gf_async_setup()
155 if (!g->aio_events) { in fio_gf_async_setup()
Drbd.c36 struct io_u **aio_events; member
120 rbd->aio_events = calloc(td->o.iodepth, sizeof(struct io_u *)); in _fio_setup_rbd_data()
121 if (!rbd->aio_events) in _fio_setup_rbd_data()
133 if (rbd->aio_events) in _fio_setup_rbd_data()
134 free(rbd->aio_events); in _fio_setup_rbd_data()
305 return rbd->aio_events[event]; in fio_rbd_event()
315 rbd->aio_events[*events] = io_u; in fri_check_complete()
558 free(rbd->aio_events);
Dglusterfs.c54 g->aio_events = NULL; in fio_gf_setup()
95 if (g->aio_events) in fio_gf_cleanup()
96 free(g->aio_events); in fio_gf_cleanup()
Dgfapi.h13 struct io_u **aio_events; member