Searched refs:starting_id (Results 1 - 2 of 2) sorted by relevance

/freebsd-10.1-release/sys/ofed/include/linux/
H A Didr.h68 int idr_get_new_above(struct idr *idp, void *ptr, int starting_id, int *id);
H A Dlinux_idr.c344 idr_get_new_above(struct idr *idr, void *ptr, int starting_id, int *idp) argument
356 * Compute the layers required to support starting_id and the mask
360 idx = starting_id;
371 * Expand the tree until there is free space at or beyond starting_id.
374 idr->top->bitmap < (1 << idr_pos(starting_id, idr->layers - 1))) {
395 sidx = idr_pos(starting_id, layer);
410 starting_id = id + (1 << (layer+1 * IDR_BITS));
414 starting_id = 0; /* Search the whole subtree. */

Completed in 96 milliseconds