Lines Matching refs:IDR
15 and device instance numbers. The IDR and the IDA provide a reasonable
16 solution to the problem to avoid everybody inventing their own. The IDR
20 IDR usage
23 Start by initialising an IDR, either with DEFINE_IDR()
35 into the IDR.
43 idr_alloc_cyclic(). The IDR becomes less efficient when dealing
46 To perform an action on all pointers used by the IDR, you can
52 When you have finished using an IDR, you can call idr_destroy()
53 to release the memory used by the IDR. This will not free the objects
54 pointed to from the IDR; if you want to do that, use one of the iterators
60 If you need to take a lock while allocating a new ID from the IDR,
62 to the IDR being unable to allocate memory. To work around this,