Home
last modified time | relevance | path

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

/external/fio/engines/
Dlibaio.c18 struct io_event *aio_events; member
64 ev = ld->aio_events + event; in fio_libaio_event()
133 ld->aio_events + events); in fio_libaio_getevents()
136 max, ld->aio_events + events, t); in fio_libaio_getevents()
239 return io_cancel(ld->aio_ctx, &io_u->iocb, ld->aio_events); in fio_libaio_cancel()
248 free(ld->aio_events); in fio_libaio_cleanup()
279 ld->aio_events = malloc(td->o.iodepth * sizeof(struct io_event)); in fio_libaio_init()
280 memset(ld->aio_events, 0, td->o.iodepth * sizeof(struct io_event)); in fio_libaio_init()
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()
Drbd.c21 struct io_u **aio_events; member
78 rbd_data->aio_events = malloc(td->o.iodepth * sizeof(struct io_u *)); in _fio_setup_rbd_data()
79 if (!rbd_data->aio_events) in _fio_setup_rbd_data()
82 memset(rbd_data->aio_events, 0, td->o.iodepth * sizeof(struct io_u *)); in _fio_setup_rbd_data()
200 return rbd_data->aio_events[event]; in fio_rbd_event()
221 rbd_data->aio_events[events] = io_u; in fio_rbd_getevents()
326 free(rbd_data->aio_events); in fio_rbd_cleanup()
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()
143 free(wd->aio_events); in fio_windowsaio_cleanup()
255 return wd->aio_events[event]; in fio_windowsaio_event()
287 wd->aio_events[dequeued] = io_u; in fio_windowsaio_getevents()