Lines Matching refs:PDRVHOSTBASE
27 typedef struct DRVHOSTBASE *PDRVHOSTBASE;
159 DECLCALLBACKMEMBER(int, pfnDoLock)(PDRVHOSTBASE pThis, bool fLock);
171 DECLCALLBACKMEMBER(int, pfnGetMediaSize)(PDRVHOSTBASE pThis, uint64_t *pcb);
179 DECLCALLBACKMEMBER(int, pfnPoll)(PDRVHOSTBASE pThis);
184 int DRVHostBaseInitFinish(PDRVHOSTBASE pThis);
185 int DRVHostBaseMediaPresent(PDRVHOSTBASE pThis);
186 void DRVHostBaseMediaNotPresent(PDRVHOSTBASE pThis);
189 DECLCALLBACK(int) DRVHostBaseScsiCmd(PDRVHOSTBASE pThis, const uint8_t *pbCmd, size_t cbCmd, PDMBLOCKTXDIR enmTxDir,
194 /** Makes a PDRVHOSTBASE out of a PPDMIMOUNT. */
195 #define PDMIMOUNT_2_DRVHOSTBASE(pInterface) ( (PDRVHOSTBASE)((uintptr_t)pInterface - RT_OFFSETOF(DRVHOSTBASE, IMount)) )
197 /** Makes a PDRVHOSTBASE out of a PPDMIBLOCK. */
198 #define PDMIBLOCK_2_DRVHOSTBASE(pInterface) ( (PDRVHOSTBASE)((uintptr_t)pInterface - RT_OFFSETOF(DRVHOSTBASE, IBlock)) )