Lines Matching refs:hVScsiLun
84 VSCSILUN hVScsiLun;
240 static DECLCALLBACK(int) drvscsiGetSize(VSCSILUN hVScsiLun, void *pvScsiLunUser, uint64_t *pcbSize)
250 static DECLCALLBACK(int) drvscsiGetSectorSize(VSCSILUN hVScsiLun, void *pvScsiLunUser, uint32_t *pcbSectorSize)
258 static DECLCALLBACK(int) drvscsiSetLock(VSCSILUN hVScsiLun, void *pvScsiLunUser, bool fLocked)
326 static DECLCALLBACK(int) drvscsiReqTransferEnqueue(VSCSILUN hVScsiLun,
456 static DECLCALLBACK(int) drvscsiGetFeatureFlags(VSCSILUN hVScsiLun,
687 LogFlowFunc(("mounting LUN#%p\n", pThis->hVScsiLun));
694 VSCSILunMountNotify(pThis->hVScsiLun);
705 LogFlowFunc(("unmounting LUN#%p\n", pThis->hVScsiLun));
708 VSCSILunUnmountNotify(pThis->hVScsiLun);
862 VSCSILUN hVScsiLun;
863 int rc = VSCSIDeviceLunDetach(pThis->hVScsiDevice, 0, &hVScsiLun);
866 Assert(hVScsiLun == pThis->hVScsiLun);
867 rc = VSCSILunDestroy(hVScsiLun);
873 pThis->hVScsiLun = NULL;
996 rc = VSCSILunCreate(&pThis->hVScsiLun, enmLunType, &pThis->VScsiIoCallbacks,
999 rc = VSCSIDeviceLunAttach(pThis->hVScsiDevice, pThis->hVScsiLun, 0);
1008 rc = VINF_SUCCESS; VSCSILunMountNotify(pThis->hVScsiLun);
1013 rc = VINF_SUCCESS; VSCSILunUnmountNotify(pThis->hVScsiLun);