Searched refs:IDR_MASK (Results 1 – 2 of 2) sorted by relevance
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()[all …]
36 #define IDR_MASK ((1 << IDR_BITS) - 1) macro