Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/linux/
Didr.h122 void *idr_get_next(struct idr *, int *nextid);
123 void *idr_get_next_ul(struct idr *, unsigned long *nextid);
/kernel/linux/linux-5.10/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()