Lines Matching refs:idr_max
49 static int idr_max(int layers) in idr_max() function
63 return ~idr_max(layer + 1); in idr_layer_prefix_mask()
245 if (id > idr_max(idp->layers)) { in sub_alloc()
311 while (id > idr_max(layers)) { in idr_get_empty_slot()
558 if (id > idr_max(idp->layers)) { in idr_remove()
594 max = idr_max(idp->layers); in __idr_remove_all()
655 if (id > idr_max(p->layer + 1)) in idr_find_slowpath()
696 max = idr_max(idp->layers); in idr_for_each()
748 max = idr_max(p->layer + 1); in idr_get_next()
805 if (id > idr_max(p->layer + 1)) in idr_replace()
1019 if (idr_id > idr_max(ida->idr.layers)) in ida_remove()