178: /* Fetch one from the free queue */
179: LockGDI(gdi);
180: if ( gdi->preq[rw] < gdi->limit ) {
385: /* Fetch the request from queue */
386: LockGDI(gdi);
387: drq = NULL;
505:
506: LockGDI(gdi);
507: drq->done = Done;
660:
661: LockGDI(gdi);
662:
704: req = devreq;
705: LockGDI(gdi);
706: for ( i = 0; i < nreq; ++i ) {
736: /* Release "DRQ"*/
737: LockGDI(gdi);
738: gdi_relDRQ(complete, gdi);
806: {
807: LockGDI(gdi);
808: if ( nreq == 1 ) {
967:
968: LockGDI(gdi);
969: gdi->def = *ddev;
976: /* Abort all the requests accumulated in an accept-wait-queue */
977: LockGDI(gdi);
978: while ( (drq = (DRQ*)QueRemoveNext(&gdi->acpq)) != NULL ) {