Searched refs:nextid (Results 1 - 5 of 5) sorted by relevance

/linux-master/lib/
H A Didr.c14 * @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, argument
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
227 idr_get_next_ul(struct idr *idr, unsigned long *nextid) argument
264 idr_get_next(struct idr *idr, int *nextid) argument
[all...]
/linux-master/drivers/isdn/mISDN/
H A Dlayer2.h24 u_int nextid; member in struct:manager
H A Dtei.c319 id = mgr->nextid++;
321 mgr->nextid = 1;
1354 mgr->nextid = 1;
/linux-master/include/linux/
H A Didr.h122 void *idr_get_next(struct idr *, int *nextid);
123 void *idr_get_next_ul(struct idr *, unsigned long *nextid);
/linux-master/tools/testing/radix-tree/
H A Didr-test.c151 int nextid; local
163 for(i = 0, nextid = 0; indices[i]; i++) {
164 idr_get_next(&idr, &nextid);
165 assert(nextid == indices[i]);
166 nextid++;

Completed in 496 milliseconds