Home
last modified time | relevance | path

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

/freebsd-head/tools/bus_space/
HDbus.c51 static int nrids = 0; variable
59 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()
/freebsd-head/sys/dev/proto/
HDproto_bus_isa.c83 proto_isa_alloc(device_t dev, int type, int nrids) in proto_isa_alloc() argument
91 for (rid = 0; rid < nrids; rid++) { in proto_isa_alloc()