table of contents
other versions
- wheezy 3.2.78-1
IDR_FIND(9) | Basic Kernel Library Functions | IDR_FIND(9) |
NAME¶
idr_find - return pointer for given idSYNOPSIS¶
void *
idr_find(struct idr * idp,
int id);
ARGUMENTS¶
idpidr handle
id
lookup key
DESCRIPTION¶
Return the pointer given the id it has been registered with. A NULL return indicates that id is not valid or you passed NULL in idr_get_new. This function can be called under rcu_read_lock, given that the leaf pointers lifetimes are correctly managed.COPYRIGHT¶
March 2016 | Kernel Hackers Manual 3.2. |