儲存庫 vbox 的更動 62753
- 時間撮記:
- 2016-7-30 下午04:34:40 (8 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Storage/VHD.cpp
r60608 r62753 333 333 memcpy(pvBuf, szPath, cb); 334 334 } 335 else 336 cb = 0; /* (Shut up MSC) */ 335 337 } 336 338 else … … 916 918 DECLINLINE(bool) vhdBlockBitmapSectorSet(PVHDIMAGE pImage, uint8_t *pu8Bitmap, uint32_t cBlockBitmapEntry) 917 919 { 920 RT_NOREF1(pImage); 918 921 uint32_t iBitmap = (cBlockBitmapEntry / 8); /* Byte in the block bitmap. */ 919 922 … … 988 991 static uint32_t vhdAllocateParentLocators(PVHDIMAGE pImage, VHDDynamicDiskHeader *pDDH, uint64_t u64Offset) 989 992 { 993 RT_NOREF1(pImage); 990 994 PVHDPLE pLocator = pDDH->ParentLocatorEntry; 991 995 … … 1107 1111 unsigned uPercentStart, unsigned uPercentSpan) 1108 1112 { 1113 RT_NOREF3(pszComment, pPCHSGeometry, pLCHSGeometry); 1109 1114 int rc; 1110 1115 VHDFooter Footer; … … 1240 1245 PVDINTERFACE pVDIfsImage, VDTYPE *penmType) 1241 1246 { 1247 RT_NOREF1(pVDIfsDisk); 1242 1248 LogFlowFunc(("pszFilename=\"%s\" pVDIfsDisk=%#p pVDIfsImage=%#p\n", pszFilename, pVDIfsDisk, pVDIfsImage)); 1243 1249 int rc; … … 2086 2092 size_t cbComment) 2087 2093 { 2094 RT_NOREF2(pszComment, cbComment); 2088 2095 LogFlowFunc(("pBackendData=%#p pszComment=%#p cbComment=%zu\n", pBackendData, pszComment, cbComment)); 2089 2096 PVHDIMAGE pImage = (PVHDIMAGE)pBackendData; … … 2104 2111 static DECLCALLBACK(int) vhdSetComment(void *pBackendData, const char *pszComment) 2105 2112 { 2113 RT_NOREF1(pszComment); 2106 2114 LogFlowFunc(("pBackendData=%#p pszComment=\"%s\"\n", pBackendData, pszComment)); 2107 2115 PVHDIMAGE pImage = (PVHDIMAGE)pBackendData; … … 2183 2191 static DECLCALLBACK(int) vhdGetModificationUuid(void *pBackendData, PRTUUID pUuid) 2184 2192 { 2193 RT_NOREF1(pUuid); 2185 2194 LogFlowFunc(("pBackendData=%#p pUuid=%#p\n", pBackendData, pUuid)); 2186 2195 PVHDIMAGE pImage = (PVHDIMAGE)pBackendData; … … 2201 2210 static DECLCALLBACK(int) vhdSetModificationUuid(void *pBackendData, PCRTUUID pUuid) 2202 2211 { 2212 RT_NOREF1(pUuid); 2203 2213 LogFlowFunc(("pBackendData=%#p Uuid=%RTuuid\n", pBackendData, pUuid)); 2204 2214 PVHDIMAGE pImage = (PVHDIMAGE)pBackendData; … … 2271 2281 static DECLCALLBACK(int) vhdGetParentModificationUuid(void *pBackendData, PRTUUID pUuid) 2272 2282 { 2283 RT_NOREF1(pUuid); 2273 2284 LogFlowFunc(("pBackendData=%#p pUuid=%#p\n", pBackendData, pUuid)); 2274 2285 PVHDIMAGE pImage = (PVHDIMAGE)pBackendData; … … 2289 2300 static DECLCALLBACK(int) vhdSetParentModificationUuid(void *pBackendData, PCRTUUID pUuid) 2290 2301 { 2302 RT_NOREF1(pUuid); 2291 2303 LogFlowFunc(("pBackendData=%#p Uuid=%RTuuid\n", pBackendData, pUuid)); 2292 2304 PVHDIMAGE pImage = (PVHDIMAGE)pBackendData; … … 2434 2446 PVDINTERFACE pVDIfsImage, PVDINTERFACE pVDIfsOperation) 2435 2447 { 2448 RT_NOREF2(pVDIfsDisk, pVDIfsImage); 2436 2449 PVHDIMAGE pImage = (PVHDIMAGE)pBackendData; 2437 2450 int rc = VINF_SUCCESS; 2438 void *pvBuf = NULL , *pvReplace = NULL;2451 void *pvBuf = NULL; 2439 2452 uint32_t *paBlocks = NULL; 2440 2453 … … 2545 2558 if (ASMBitFirstSet((volatile void *)pvBuf, (uint32_t)pImage->cbDataBlock * 8) == -1) 2546 2559 { 2547 paBat[i] = ~0;2560 paBat[i] = UINT32_MAX; 2548 2561 paBlocks[idxBlock] = ~0U; 2549 2562 /* Adjust progress info, one block to be relocated. */ … … 2675 2688 PVDINTERFACE pVDIfsOperation) 2676 2689 { 2690 RT_NOREF4(uPercentSpan, uPercentStart, pVDIfsDisk, pVDIfsImage); 2677 2691 PVHDIMAGE pImage = (PVHDIMAGE)pBackendData; 2678 2692 int rc = VINF_SUCCESS;
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器