Searched refs:MAX_LEVEL (Results 1 – 2 of 2) sorted by relevance
44 #define MAX_LEVEL ((MAX_ID_SHIFT + IDR_BITS - 1) / IDR_BITS) macro45 #define IDR_FREE_MAX (MAX_LEVEL << 1)
359 struct idr_layer *stk[MAX_LEVEL + 1] = {0}; in __idr_get_new_above_int()406 struct idr_layer *stk[MAX_LEVEL + 1] = {0}; in idr_remove()432 struct idr_layer *stk[MAX_LEVEL + 1] = {0}; in __idr_remove_all_with_free()571 struct idr_layer *stk[MAX_LEVEL + 1] = {0}; in idr_find_next_getid()574 bool state[MAX_LEVEL + 1] = {0}; // 标记是否大于等于] in idr_find_next_getid()575 int pos_i[MAX_LEVEL + 1] = {0}; in idr_find_next_getid()924 struct idr_layer *stk[MAX_LEVEL + 1] = {0}; // 你可以选择memset(0) in ida_alloc()999 struct idr_layer *stk[MAX_LEVEL + 1] = {0}; in ida_remove()