Lines Matching defs:events
206 unsigned int *events)
212 rbd->aio_events[*events] = io_u;
213 (*events)++;
253 static int rbd_iter_events(struct thread_data *td, unsigned int *events,
268 if (fri_check_complete(rbd, io_u, events))
278 * Sort events, oldest issue first, then wait on as many as we
279 * need in order of age. If we have enough events, stop waiting,
288 if (fri_check_complete(rbd, io_u, events)) {
297 if (*events >= min_evts)
302 if (fri_check_complete(rbd, io_u, events))
312 unsigned int this_events, events = 0;
317 this_events = rbd_iter_events(td, &events, min, wait);
319 if (events >= min)
330 return events;