1IDR_GET_NEXT(9)         Basic Kernel Library Functions         IDR_GET_NEXT(9)
2
3
4

NAME

6       idr_get_next - lookup next object of id to given id.
7

SYNOPSIS

9       void * idr_get_next(struct idr * idp, int * nextidp);
10

ARGUMENTS

12       idp
13           idr handle
14
15       nextidp
16           pointer to lookup key
17

DESCRIPTION

19       Returns pointer to registered object with id, which is next number to
20       given id. After being looked up, *nextidp will be updated for the next
21       iteration.
22
23       This function can be called under rcu_read_lock, given that the leaf
24       pointers lifetimes are correctly managed.
25
27Kernel Hackers Manual 3.10         June 2019                   IDR_GET_NEXT(9)
Impressum