Lines Matching refs:apHDs
550 PPDMIBLOCKBIOS apHDs[4] = {0};
679 for (i = 0; i < RT_ELEMENTS(apHDs); i++)
684 apHDs[i] = PDMIBASE_QUERY_INTERFACE(pBase, PDMIBLOCKBIOS);
685 if ( apHDs[i]
686 && ( apHDs[i]->pfnGetType(apHDs[i]) != PDMBLOCKTYPE_HARD_DISK
687 || !apHDs[i]->pfnIsVisible(apHDs[i])))
688 apHDs[i] = NULL;
689 if (apHDs[i])
692 int rc2 = setLogicalDiskGeometry(pBase, apHDs[i], &LCHSGeometry);
728 u32 = (apHDs[0] ? 0xf0 : 0) | (apHDs[1] ? 0x0f : 0);
737 for (i = 0; i < RT_ELEMENTS(apHDs); i++)
738 apHDs[i] = NULL;
740 for (i = 0; i < RT_ELEMENTS(apHDs); i++)
745 apHDs[i] = PDMIBASE_QUERY_INTERFACE(pBase, PDMIBLOCKBIOS);
746 if ( apHDs[i]
747 && ( apHDs[i]->pfnGetType(apHDs[i]) != PDMBLOCKTYPE_HARD_DISK
748 || !apHDs[i]->pfnIsVisible(apHDs[i])))
749 apHDs[i] = NULL;
750 if (apHDs[i])
753 rc = setLogicalDiskGeometry(pBase, apHDs[i], &LCHSGeometry);
791 for (i = 0; i < RT_ELEMENTS(apHDs); i++)
792 apHDs[i] = NULL;
794 for (i = 0; i < RT_ELEMENTS(apHDs); i++)
799 apHDs[i] = PDMIBASE_QUERY_INTERFACE(pBase, PDMIBLOCKBIOS);
800 if ( apHDs[i]
801 && ( apHDs[i]->pfnGetType(apHDs[i]) != PDMBLOCKTYPE_HARD_DISK
802 || !apHDs[i]->pfnIsVisible(apHDs[i])))
803 apHDs[i] = NULL;
804 if (apHDs[i])
807 rc = getLogicalDiskGeometry(apHDs[i], &LCHSGeometry);