Lines Matching refs:layers
162 return (1 << (idr->layers * IDR_BITS)) - 1;
215 idr_remove_layer(idr->top, idr->layers - 1);
217 idr->layers = 0;
231 layer = idr->layers - 1;
280 layer = idr->layers - 1;
365 need = idr->layers + 1;
441 if (idr->layers == MAX_LEVEL + 1) {
452 idr->layers++;
459 for (layer = idr->layers - 1;; layer--) {
485 while (il->bitmap == 0 && ++layer < idr->layers) {
525 * Compute the layers required to support starting_id and the mask
542 while (idr->layers <= layer ||
543 idr->top->bitmap < (1 << idr_pos(starting_id, idr->layers - 1))) {
544 if (idr->layers == MAX_LEVEL + 1) {
555 idr->layers++;
562 for (layer = idr->layers - 1;; layer--) {
603 while (il->bitmap == 0 && ++layer < idr->layers) {
722 return (idr_for_each_layer(idp->top, 0, idp->layers - 1, f, data));