Lines Matching refs:IDR_BITS
183 id = (id << IDR_BITS) | pos; in __idr_get_empty_slot()
231 __id >>= IDR_BITS; in __idr_mark_full()
261 if (unlikely((__id >> ((layer + 1ull) * IDR_BITS)) > 0)) in __idr_get_path()
271 int64_t layer_id = (__id >> (layer * IDR_BITS)) & IDR_MASK; in __idr_get_path()
316 __id >>= IDR_BITS; in __idr_erase_full()
532 if ((__id >> ((layer + 1) * IDR_BITS)) > 0) in idr_find()
540 layer_id = (__id >> (IDR_BITS * layer)) & IDR_MASK; in idr_find()
588 if ((start_id >> ((layer + 1) * IDR_BITS)) > 0) in idr_find_next_getid()
601 pos_i[layer] = cur_state ? 0 : ((start_id >> (layer * IDR_BITS)) & IDR_MASK); in idr_find_next_getid()
621 *nextid = (((uint64_t)*nextid) << IDR_BITS) | layer_id; // 更新答案 in idr_find_next_getid()
634 (*nextid) >>= IDR_BITS; // 维护答案 in idr_find_next_getid()
687 if ((__id >> ((layer + 1) * IDR_BITS)) > 0) in idr_replace_get_old()
692 int64_t layer_id = (__id >> (layer * IDR_BITS)) & IDR_MASK; in idr_replace_get_old()
762 int64_t layer_id = (__id >> (layer * IDR_BITS)) & IDR_MASK; in __idr_cnt()
801 if (unlikely((__id >> ((layer + 1ull) * IDR_BITS)) > 0)) in idr_count()