Lines Matching +full:lock +full:- +full:less
1 .. SPDX-License-Identifier: GPL-2.0+
18 only ID allocation, and as a result is much more memory-efficient.
46 idr_alloc_cyclic(). The IDR becomes less efficient when dealing
50 either use the callback-based idr_for_each() or the
51 iterator-style idr_for_each_entry(). You may need to use
63 If you need to take a lock while allocating a new ID from the IDR,
66 you can call idr_preload() before taking the lock, and then
69 .. kernel-doc:: include/linux/idr.h
75 .. kernel-doc:: lib/idr.c
81 .. kernel-doc:: include/linux/idr.h
83 .. kernel-doc:: lib/idr.c