Searched refs:ary (Results 1 – 2 of 2) sorted by relevance
39 p->ary[0] = idp->free_list; in __move_to_free_list()77 idp->free_list = idp->free_list->ary[0]; in __get_from_free_list()79 item->ary[0] = NULL; // 记得清空原来的数据 in __get_from_free_list()135 idp->top->ary[0] = new_node; in __idr_grow()184 cur_layer = cur_layer->ary[pos]; in __idr_get_empty_slot()196 stk[layer]->ary[pos] = cur_layer; // 最后别忘了记录儿子节点 in __idr_get_empty_slot()279 cur_layer = cur_layer->ary[layer_id]; in __idr_get_path()307 stk[0]->ary[layer_id] = NULL; in __idr_erase_full()321 stk[layer]->ary[layer_id] = NULL; in __idr_erase_full()343 struct idr_layer *t = idp->top->layer ? idp->top->ary[0] : NULL; in __idr_erase_full()[all …]
59 struct idr_layer *ary[IDR_SIZE]; // IDR_SIZE叉树 member