Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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, in idr_alloc_u32() argument
39 unsigned int id = *nextid; in idr_alloc_u32()
50 *nextid = iter.index + base; in idr_alloc_u32()
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) idr_get_next_ul() argument
264 idr_get_next(struct idr *idr, int *nextid) idr_get_next() argument
[all...]
/kernel/linux/linux-6.6/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, in idr_alloc_u32() argument
39 unsigned int id = *nextid; in idr_alloc_u32()
50 *nextid = iter.index + base; in idr_alloc_u32()
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) idr_get_next_ul() argument
264 idr_get_next(struct idr *idr, int *nextid) idr_get_next() argument
[all...]
/kernel/linux/linux-5.10/tools/testing/radix-tree/
H A 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-6.6/tools/testing/radix-tree/
H A 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/
H A Didr.h122 void *idr_get_next(struct idr *, int *nextid);
123 void *idr_get_next_ul(struct idr *, unsigned long *nextid);
/kernel/linux/linux-6.6/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);
/kernel/linux/linux-5.10/drivers/isdn/mISDN/
H A Dlayer2.h24 u_int nextid; member
H A Dtei.c319 id = mgr->nextid++; in new_id()
321 mgr->nextid = 1; in new_id()
1354 mgr->nextid = 1; in create_teimanager()
/kernel/linux/linux-6.6/drivers/isdn/mISDN/
H A Dlayer2.h24 u_int nextid; member
H A Dtei.c319 id = mgr->nextid++; in new_id()
321 mgr->nextid = 1; in new_id()
1354 mgr->nextid = 1; in create_teimanager()

Completed in 9 milliseconds