Home
last modified time | relevance | path

Searched defs:layer (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.8/kernel/src/libs/
Didr.c167 int layer = idp->top->layer; in __idr_get_empty_slot() local
258 int layer = cur_layer->layer; in __idr_get_path() local
314 for (int layer = 1; stk[layer]; ++layer) in __idr_erase_full() local
435 int layer = cur_layer->layer; in __idr_remove_all_with_free() local
529 int layer = cur_layer->layer; // 特判NULL in idr_find() local
583 int layer = cur_layer->layer; in idr_find_next_getid() local
685 int64_t layer = cur_layer->layer; in idr_replace_get_old() local
755 static bool __idr_cnt(int layer, int id, struct idr_layer *cur_layer) in __idr_cnt()
798 int layer = cur_layer->layer; in idr_count() local
/DragonOS-0.1.8/kernel/src/common/
Didr.h48 #define TREE_SIZE(layer) ((layer >= 0) ? (1ull << ((layer + 1) * IDR_BITS)) : 1) argument
62 int layer; // 层数(从底向上) member