53:
54: LockDM();
55:
324:
325: LockDM();
326:
352: SyncWaitDM();
353: LockDM();
354: }
361: ercd = call_openfn(devcb, DEVID(devcb, unitno), omode);
362: LockDM();
363: if ( ercd < E_OK ) {
395: /* If 'execfn' and 'waitfn' are called, execute abort request. */
396: LockDM();
397:
436: /* Abort remaining requests and wait for completion */
437: LockDM();
438: while ( !isQueEmpty(&opncb->requestq) ) {
444: call_waitfn(devcb, &reqcb->req, 1, TMO_FEVR);
445: LockDM();
446:
466:
467: LockDM();
468:
478: SyncWaitDM();
479: LockDM();
480: }
491: ercd = call_closefn(devcb, DEVID(devcb, unitno), option);
492: LockDM();
493:
515:
516: LockDM();
517:
575:
576: LockDM();
577:
640: ercd = call_execfn(devcb, &reqcb->req, tmout);
641: LockDM();
642:
692:
693: LockDM();
694:
761: reqno = call_waitfn(devcb, devreq, nreq, tmout);
762: LockDM();
763: if ( reqno < E_OK ) {
1017: /* Stop accepting new requests */
1018: LockDM();
1019:
1070:
1071: LockDM();
1072:
1144:
1145: LockDM();
1146:
1197:
1198: LockDM();
1199:
1231:
1232: LockDM();
1233:
1247: close_device(opncb, 0);
1248: LockDM();
1249: }