Searched refs:cur_state (Results 1 – 1 of 1) sorted by relevance
581 bool cur_state = false; in idr_find_next_getid() local600 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()