Lines Matching refs:drvid
52 int drvid; /* index in driver array */ member
233 drvp = &dlist[devp->drvid]; in get_runnable()
271 int drvid; in preen_addunit() local
280 for (drvid = 0; drvid < ndrivers; drvid++) { in preen_addunit()
281 if (strcmp(dlist[drvid].name, dname) == 0) { in preen_addunit()
282 dp = &dlist[drvid]; in preen_addunit()
293 drvid = alloc_driver(dname, cf, datap); in preen_addunit()
294 dp = &dlist[drvid]; in preen_addunit()
301 if (devp->drvid == drvid) in preen_addunit()
310 devp = alloc_dev(drvid); in preen_addunit()
365 devp->drvid = did; in alloc_dev()
415 struct driver *drvp = &dlist[dev->drvid]; in makebusy()
450 drvp = &dlist[devp->drvid]; in notbusy()