Lines Matching defs:pd
96 struct posixaio_data *pd = td->io_ops->data;
130 pd->queued--;
131 pd->aio_events[r++] = io_u;
164 struct posixaio_data *pd = td->io_ops->data;
166 return pd->aio_events[event];
172 struct posixaio_data *pd = td->io_ops->data;
183 if (pd->queued)
192 if (pd->queued)
217 pd->queued++;
223 struct posixaio_data *pd = td->io_ops->data;
225 if (pd) {
226 free(pd->aio_events);
227 free(pd);
233 struct posixaio_data *pd = malloc(sizeof(*pd));
235 memset(pd, 0, sizeof(*pd));
236 pd->aio_events = malloc(td->o.iodepth * sizeof(struct io_u *));
237 memset(pd->aio_events, 0, td->o.iodepth * sizeof(struct io_u *));
239 td->io_ops->data = pd;