Searched refs:nextid (Results 1 – 5 of 5) sorted by relevance
33 int idr_alloc_u32(struct idr *idr, void *ptr, u32 *nextid, in idr_alloc_u32() argument39 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() argument233 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() argument266 unsigned long id = *nextid; in idr_get_next()271 *nextid = id; in idr_get_next()
151 int nextid; in idr_get_next_test() local163 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()
122 void *idr_get_next(struct idr *, int *nextid);123 void *idr_get_next_ul(struct idr *, unsigned long *nextid);
24 u_int nextid; member
319 id = mgr->nextid++; in new_id()321 mgr->nextid = 1; in new_id()1354 mgr->nextid = 1; in create_teimanager()