Searched refs:nrids (Results 1 – 1 of 1) sorted by relevance
51 static int nrids = 0; variable59 for (rid = 0; rid < nrids; rid++) { in rid_alloc()63 if (rid == nrids) { in rid_alloc()64 nrids++; in rid_alloc()65 newtbl = realloc(ridtbl, sizeof(struct resource) * nrids); in rid_alloc()67 nrids--; in rid_alloc()81 if (rid < 0 || rid >= nrids) { in rid_lookup()