Home
last modified time | relevance | path

Searched refs:layer_id (Results 1 – 1 of 1) sorted by relevance

/DragonOS-0.1.7/kernel/src/libs/
Didr.c223 int64_t layer_id = __id & IDR_MASK; in __idr_mark_full() local
225 stk[0]->full |= (1ull << layer_id); in __idr_mark_full()
227 stk[0]->bitmap |= (1ull << layer_id); in __idr_mark_full()
232 layer_id = __id & IDR_MASK; in __idr_mark_full()
234 stk[i]->bitmap |= (1ull << layer_id); in __idr_mark_full()
236 stk[i]->full |= (1ull << layer_id); in __idr_mark_full()
271 int64_t layer_id = (__id >> (layer * IDR_BITS)) & IDR_MASK; in __idr_get_path() local
273 if (unlikely(((cur_layer->bitmap >> layer_id) & 1) == 0)) in __idr_get_path()
279 cur_layer = cur_layer->ary[layer_id]; in __idr_get_path()
304 int64_t layer_id = __id & IDR_MASK; in __idr_erase_full() local
[all …]