idr_get_next (9) - Linux Man Pages
idr_get_next: lookup next object of id to given id.
idr_get_next - lookup next object of id to given id.
void * idr_get_next(struct idr
*idp, int *nextidp);
- idr handle
- pointer to lookup key
Returns pointer to registered object with id, which is next number to given id. After being looked up, *nextidp will be updated for the next iteration.