Searched refs:starting_id (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/lib/ |
H A D | idr.c | 207 * @starting_id: id to start search at 212 * Allocate an id in range [@starting_id, INT_MAX] from @idp without 220 static int sub_alloc(struct idr *idp, int *starting_id, struct idr_layer **pa, sub_alloc() argument 227 id = *starting_id; sub_alloc() 246 *starting_id = id; sub_alloc() 289 static int idr_get_empty_slot(struct idr *idp, int starting_id, idr_get_empty_slot() argument 297 id = starting_id; idr_get_empty_slot() 920 * @starting_id: id to start search at 923 * Allocate new ID above or equal to @starting_id. It should be called 930 * @p_id returns a value in the range @starting_id ... %0x7fffffff. 932 int ida_get_new_above(struct ida *ida, int starting_id, int *p_id) ida_get_new_above() argument 937 int idr_id = starting_id / IDA_BITMAP_BITS; ida_get_new_above() 938 int offset = starting_id % IDA_BITMAP_BITS; ida_get_new_above()
|
/linux-4.4.14/include/linux/ |
H A D | idr.h | 163 int ida_get_new_above(struct ida *ida, int starting_id, int *p_id); 177 * Simple wrapper around ida_get_new_above() w/ @starting_id of zero.
|
Completed in 145 milliseconds