Home
last modified time | relevance | path

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

/linux-6.1.9/lib/
Didr.c33 int idr_alloc_u32(struct idr *idr, void *ptr, u32 *nextid, in idr_alloc_u32() argument
39 unsigned int id = *nextid; in idr_alloc_u32()
50 *nextid = iter.index + base; in idr_alloc_u32()
227 void *idr_get_next_ul(struct idr *idr, unsigned long *nextid) in idr_get_next_ul() argument
233 unsigned long id = *nextid; in idr_get_next_ul()
249 *nextid = iter.index + base; in idr_get_next_ul()
264 void *idr_get_next(struct idr *idr, int *nextid) in idr_get_next() argument
266 unsigned long id = *nextid; in idr_get_next()
271 *nextid = id; in idr_get_next()
/linux-6.1.9/tools/testing/radix-tree/
Didr-test.c151 int nextid; in idr_get_next_test() local
163 for(i = 0, nextid = 0; indices[i]; i++) { in idr_get_next_test()
164 idr_get_next(&idr, &nextid); in idr_get_next_test()
165 assert(nextid == indices[i]); in idr_get_next_test()
166 nextid++; in idr_get_next_test()
/linux-6.1.9/include/linux/
Didr.h122 void *idr_get_next(struct idr *, int *nextid);
123 void *idr_get_next_ul(struct idr *, unsigned long *nextid);
/linux-6.1.9/drivers/isdn/mISDN/
Dlayer2.h24 u_int nextid; member
Dtei.c319 id = mgr->nextid++; in new_id()
321 mgr->nextid = 1; in new_id()
1354 mgr->nextid = 1; in create_teimanager()