Lines Matching refs:devs
245 } devs; variable
626 rlock(&devs); in aoesweepproc()
627 for(d = devs.d; d; d = d->next){ in aoesweepproc()
673 runlock(&devs); in aoesweepproc()
754 rlock(&devs); in unit2dev()
756 for(d = devs.d; d; d = d->next) in unit2dev()
758 runlock(&devs); in unit2dev()
761 runlock(&devs); in unit2dev()
1739 rlock(&devs); in mm2dev()
1740 for(d = devs.d; d; d = d->next) in mm2dev()
1742 runlock(&devs); in mm2dev()
1745 runlock(&devs); in mm2dev()
1758 wlock(&devs); in getdev()
1760 wunlock(&devs); in getdev()
1763 for(d = devs.d; d; d = d->next) in getdev()
1768 d->next = devs.d; in getdev()
1769 devs.d = d; in getdev()
1772 wunlock(&devs); in getdev()
2339 wlock(&devs); in netunbind()
2340 for(d = devs.d; d; d = d->next){ in netunbind()
2350 wunlock(&devs); in netunbind()
2359 wlock(&devs); in netunbind()
2360 for(d = devs.d; d; d = d->next){ in netunbind()
2369 wunlock(&devs); in netunbind()
2372 wlock(&devs); in netunbind()
2373 for(d = devs.d; d; d = d->next){ in netunbind()
2382 wunlock(&devs); in netunbind()
2397 wlock(&devs); in netunbind()
2398 for(p = d = devs.d; d; d = next){ in netunbind()
2407 if(p != devs.d) in netunbind()
2410 devs.d = next; in netunbind()
2411 p = devs.d; in netunbind()
2417 wunlock(&devs); in netunbind()
2426 wlock(&devs); in removeaoedev()
2428 if(d != devs.d) in removeaoedev()
2429 for(p = devs.d; p; p = p->next) in removeaoedev()
2454 devs.d = d->next; in removeaoedev()
2458 wunlock(&devs); in removeaoedev()
2466 wlock(&devs); in removedev()
2467 for(p = d = devs.d; d; p = d, d = d->next) in removedev()
2469 wunlock(&devs); in removedev()
2473 wunlock(&devs); in removedev()