Searched refs:mActiveInstances (Results 1 - 1 of 1) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Csm/BiosThunk/BlockIoDxe/
H A DBiosBlkIo.c39 // Semaphore to control access to global variables mActiveInstances and mBufferUnder1Mb
47 UINTN mActiveInstances = 0; variable
335 ASSERT (mActiveInstances == 0);
474 if (mBufferUnder1Mb != 0 && mActiveInstances == 0) {
490 mActiveInstances++;
528 if (mActiveInstances != 0) {
533 mActiveInstances--;
537 if ((mActiveInstances == 0) && (mBufferUnder1Mb != 0)) {

Completed in 82 milliseconds