idr_get_next(9)

idr_get_next9

Lookup next object of id to given id.

Usage

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

Arguments

idp

idr handle

nextidp

pointer to lookup key

Overview

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.

Releases

3 releases since Debian 7 (Wheezy); the text changed 2 times.

  1. 7
  2. 8
  3. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.