table of contents
other versions
- wheezy-backports 3.16.39-1+deb8u1~bpo70+1
- jessie 3.16.43-2
| IDR_GET_NEXT(9) | Basic Kernel Library Functions | IDR_GET_NEXT(9) |
NAME¶
idr_get_next - lookup next object of id to given id.SYNOPSIS¶
void *
idr_get_next(struct idr * idp,
int * nextidp);
ARGUMENTS¶
idpidr handle
nextidp
pointer to lookup key
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.COPYRIGHT¶
| February 2017 | Kernel Hackers Manual 3.16 |