IDR_BITS 38 include/linux/idr.h #define IDR_SIZE (1 << IDR_BITS) IDR_BITS 39 include/linux/idr.h #define IDR_MASK ((1 << IDR_BITS)-1) IDR_BITS 46 include/linux/idr.h #define MAX_LEVEL (MAX_ID_SHIFT + IDR_BITS - 1) / IDR_BITS IDR_BITS 53 include/linux/idr.h struct idr_layer *ary[1<<IDR_BITS]; IDR_BITS 103 lib/idr.c id = id >> IDR_BITS; IDR_BITS 149 lib/idr.c n = (id >> (IDR_BITS*l)) & IDR_MASK; IDR_BITS 156 lib/idr.c id = (id | ((1 << (IDR_BITS * l)) - 1)) + 1; IDR_BITS 167 lib/idr.c sh = IDR_BITS * (l + 1); IDR_BITS 174 lib/idr.c sh = IDR_BITS*l; IDR_BITS 219 lib/idr.c while ((layers < (MAX_LEVEL - 1)) && (id >= (1 << (layers*IDR_BITS)))) { IDR_BITS 358 lib/idr.c shift -= IDR_BITS; IDR_BITS 392 lib/idr.c sub_remove(idp, (idp->layers - 1) * IDR_BITS, id); IDR_BITS 441 lib/idr.c n = idp->layers * IDR_BITS; IDR_BITS 447 lib/idr.c while (n > IDR_BITS && p) { IDR_BITS 448 lib/idr.c n -= IDR_BITS; IDR_BITS 457 lib/idr.c n += IDR_BITS; IDR_BITS 496 lib/idr.c n = idp->layers * IDR_BITS; IDR_BITS 506 lib/idr.c n -= IDR_BITS; IDR_BITS 539 lib/idr.c n = idp->layers * IDR_BITS; IDR_BITS 546 lib/idr.c n -= IDR_BITS; IDR_BITS 559 lib/idr.c n += IDR_BITS; IDR_BITS 585 lib/idr.c n = idp->layers * IDR_BITS; IDR_BITS 593 lib/idr.c n -= IDR_BITS; IDR_BITS 596 lib/idr.c n -= IDR_BITS; IDR_BITS 812 lib/idr.c int shift = (ida->idr.layers - 1) * IDR_BITS; IDR_BITS 823 lib/idr.c shift -= IDR_BITS;