Lines Matching refs:allocated
187 if (idrnp->allocated == 0) in idr_get_node()
196 idp->idr_nodes[id].allocated += incr; in idr_reserve()
197 KKASSERT(idp->idr_nodes[id].allocated >= 0); in idr_reserve()
222 if (idp->idr_nodes[id].allocated == 0) in idr_find_free()
226 if (idp->idr_nodes[id].allocated == rsize) in idr_find_free()
238 rsum += idp->idr_nodes[node].allocated; in idr_find_free()
239 if (idp->idr_nodes[id].allocated == rsum + rsize) { in idr_find_free()
241 if (idp->idr_nodes[node].allocated == 0) in idr_find_free()
472 if (idp->idr_nodes[id].allocated == 0) { in idr_remove()
521 } else if (idp->idr_nodes[id].allocated == 0) { in idr_find()
538 if (nodes[i].data != NULL && nodes[i].allocated > 0) { in idr_for_each()