Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/libs/
Didr.c581 bool cur_state = false; in idr_find_next_getid() local
600 state[layer] = cur_state; in idr_find_next_getid()
601 pos_i[layer] = cur_state ? 0 : ((start_id >> (layer * IDR_BITS)) & IDR_MASK); in idr_find_next_getid()
606 state[layer] = cur_state = true; in idr_find_next_getid()
616 if ((cur_state == false) && (layer_id > pos_i[layer] > 0)) in idr_find_next_getid()
617 cur_state = true; in idr_find_next_getid()