idr_get_next - lookup next object of id to given id.
2. SYNOPSIS ▲
void * idr_get_next(struct idr * idp , int * nextidp );
3. ARGUMENTS ▲
pointer to lookup key
4. DESCRIPTION ▲
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.
This function can be called under rcu_read_lock, given that the leaf pointers lifetimes are correctly managed.
5. COPYRIGHT ▲