idr_get_next
void *idr_get_next(struct idr *idp, int *nextid);
for ((id) = 0; ((entry) = idr_get_next(idp, &(id))) != NULL; ++(id))
while ((counter = idr_get_next(&fc_stats->counters_idr, &next_id)) != NULL &&