Lines Matching refs:nextid
14 * @nextid: Pointer to an ID.
18 * Allocates an unused ID in the range specified by @nextid and @max.
20 * is exclusive. The new ID is assigned to @nextid before the pointer
21 * is inserted into the IDR, so if @nextid points into the object pointed
31 * @nextid is unchanged.
33 int idr_alloc_u32(struct idr *idr, void *ptr, u32 *nextid,
39 unsigned int id = *nextid;
50 *nextid = iter.index + base;
220 * @nextid: Pointer to an ID.
223 * or equal to the value pointed to by @nextid. On exit, @nextid is updated
225 * nextid must be incremented by the user.
227 void *idr_get_next_ul(struct idr *idr, unsigned long *nextid)
233 unsigned long id = *nextid;
249 *nextid = iter.index + base;
257 * @nextid: Pointer to an ID.
260 * or equal to the value pointed to by @nextid. On exit, @nextid is updated
262 * nextid must be incremented by the user.
264 void *idr_get_next(struct idr *idr, int *nextid)
266 unsigned long id = *nextid;
271 *nextid = id;