Searched refs:aio_events (Results 1 – 8 of 8) sorted by relevance
/external/fio/engines/ |
D | solarisaio.c | 16 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()
|
D | posixaio.c | 16 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()
|
D | libaio.c | 20 struct io_event *aio_events; member 88 ev = ld->aio_events + event; in fio_libaio_event() 163 ld->aio_events + events); in fio_libaio_getevents() 166 max, ld->aio_events + events, lt); in fio_libaio_getevents() 311 return io_cancel(ld->aio_ctx, &io_u->iocb, ld->aio_events); in fio_libaio_cancel() 320 free(ld->aio_events); in fio_libaio_cleanup() 353 ld->aio_events = calloc(ld->entries, sizeof(struct io_event)); in fio_libaio_init()
|
D | windowsaio.c | 26 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() 288 wd->aio_events[dequeued] = io_u; in fio_windowsaio_getevents()
|
D | glusterfs_async.c | 19 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()
|
D | rbd.c | 23 struct io_u **aio_events; member 90 rbd->aio_events = calloc(td->o.iodepth, sizeof(struct io_u *)); in _fio_setup_rbd_data() 91 if (!rbd->aio_events) in _fio_setup_rbd_data() 202 return rbd->aio_events[event]; in fio_rbd_event() 212 rbd->aio_events[*events] = io_u; in fri_check_complete() 417 free(rbd->aio_events); in fio_rbd_cleanup()
|
D | glusterfs.c | 53 g->aio_events = NULL; in fio_gf_setup() 94 if (g->aio_events) in fio_gf_cleanup() 95 free(g->aio_events); in fio_gf_cleanup()
|
D | gfapi.h | 13 struct io_u **aio_events; member
|