Lines Matching refs:IDR_MASK
223 int64_t layer_id = __id & IDR_MASK; in __idr_mark_full()
232 layer_id = __id & IDR_MASK; in __idr_mark_full()
271 int64_t layer_id = (__id >> (layer * IDR_BITS)) & IDR_MASK; in __idr_get_path()
304 int64_t layer_id = __id & IDR_MASK; in __idr_erase_full()
317 layer_id = __id & IDR_MASK; in __idr_erase_full()
368 stk[0]->ary[IDR_MASK & id] = ptr; in __idr_get_new_above_int()
411 void *ret = stk[0]->ary[__id & IDR_MASK]; in idr_remove()
540 layer_id = (__id >> (IDR_BITS * layer)) & IDR_MASK; in idr_find()
601 pos_i[layer] = cur_state ? 0 : ((start_id >> (layer * IDR_BITS)) & IDR_MASK); in idr_find_next_getid()
692 int64_t layer_id = (__id >> (layer * IDR_BITS)) & IDR_MASK; in idr_replace_get_old()
701 __id &= IDR_MASK; in idr_replace_get_old()
762 int64_t layer_id = (__id >> (layer * IDR_BITS)) & IDR_MASK; in __idr_cnt()
938 int64_t layer_id = idr_id & IDR_MASK; in ida_alloc()
1005 struct ida_bitmap *b_p = (struct ida_bitmap *)(stk[0]->ary[idr_id & IDR_MASK]); in ida_remove()
1019 stk[0]->ary[idr_id & IDR_MASK] = NULL; // 记得设置为空 in ida_remove()