table of contents
other versions
IDR_GET_NEXT(9) | Basic Kernel Library Functions | IDR_GET_NEXT(9) |
NAME¶
idr_get_next - Find next populated entry
SYNOPSIS¶
void * idr_get_next(struct idr * idr, int * nextid);
ARGUMENTS¶
struct idr * idr
idr handle
int * nextid
Pointer to lowest possible ID to return
DESCRIPTION¶
Returns the next populated entry in the tree with an ID greater than or equal to the value pointed to by nextid. On exit, nextid is updated to the ID of the found value. To use in a loop, the value pointed to by nextid must be incremented by the user.
COPYRIGHT¶
July 2017 | Kernel Hackers Manual 4.11 |