Searched refs:idr_layer (Results 1 – 2 of 2) sorted by relevance
10 static void __swap(struct idr_layer **a, struct idr_layer **b) in __swap()12 struct idr_layer *t = *a; in __swap()33 static void __move_to_free_list(struct idr *idp, struct idr_layer *p) in __move_to_free_list()69 struct idr_layer *item = idp->free_list; in __get_from_free_list()100 struct idr_layer *new_one; in idr_preload()101 new_one = kzalloc(sizeof(struct idr_layer), gfp_mask); // 默认清空? in idr_preload()116 static void __idr_layer_free(struct idr_layer *p) in __idr_layer_free()129 struct idr_layer *new_node = __get_from_free_list(idp); in __idr_grow()159 static int __idr_get_empty_slot(struct idr *idp, struct idr_layer **stk) in __idr_get_empty_slot()171 struct idr_layer *cur_layer = idp->top; in __idr_get_empty_slot()[all …]
57 struct idr_layer struct59 struct idr_layer *ary[IDR_SIZE]; // IDR_SIZE叉树 argument68 struct idr_layer *top; argument69 struct idr_layer *free_list;79 struct idr_layer name = {0}; \80 memset(name, 0, sizeof(struct idr_layer));