vbox的更動 62737 路徑 trunk/src/VBox/Storage/VCICache.cpp
- 時間撮記:
- 2016-7-30 下午12:11:26 (8 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Storage/VCICache.cpp
r62736 r62737 1685 1685 PVDIOCTX pIoCtx, size_t *pcbWriteProcess) 1686 1686 { 1687 RT_NOREF5(pBackendData, uOffset, cbToWrite, pIoCtx, pcbWriteProcess); 1687 1688 LogFlowFunc(("pBackendData=%#p uOffset=%llu cbToWrite=%zu pIoCtx=%#p pcbWriteProcess=%#p\n", 1688 1689 pBackendData, uOffset, cbToWrite, pIoCtx, pcbWriteProcess)); 1689 PVCICACHE pCache = (PVCICACHE)pBackendData;1690 //PVCICACHE pCache = (PVCICACHE)pBackendData; 1690 1691 int rc = VINF_SUCCESS; 1691 1692 uint64_t cBlocksToWrite = VCI_BYTE2BLOCK(cbToWrite); 1692 uint64_t offBlockAddr = VCI_BYTE2BLOCK(uOffset);1693 //uint64_t offBlockAddr = VCI_BYTE2BLOCK(uOffset); 1693 1694 1694 1695 AssertPtr(pCache); 1695 1696 Assert(uOffset % 512 == 0); 1696 1697 Assert(cbToWrite % 512 == 0); 1697 1698 1698 while (cBlocksToWrite) 1699 1699 { … … 1710 1710 static DECLCALLBACK(int) vciFlush(void *pBackendData, PVDIOCTX pIoCtx) 1711 1711 { 1712 RT_NOREF1(pIoCtx); 1712 1713 LogFlowFunc(("pBackendData=%#p\n", pBackendData)); 1713 1714 PVCICACHE pCache = (PVCICACHE)pBackendData; 1714 int rc = VINF_SUCCESS; 1715 1716 rc = vciFlushImage(pCache); 1715 1716 int rc = vciFlushImage(pCache); 1717 1717 LogFlowFunc(("returns %Rrc\n", rc)); 1718 1718 return rc; … … 1839 1839 size_t cbComment) 1840 1840 { 1841 RT_NOREF2(pszComment, cbComment); 1841 1842 LogFlowFunc(("pBackendData=%#p pszComment=%#p cbComment=%zu\n", pBackendData, pszComment, cbComment)); 1842 1843 PVCICACHE pCache = (PVCICACHE)pBackendData; … … 1857 1858 static DECLCALLBACK(int) vciSetComment(void *pBackendData, const char *pszComment) 1858 1859 { 1860 RT_NOREF1(pszComment); 1859 1861 LogFlowFunc(("pBackendData=%#p pszComment=\"%s\"\n", pBackendData, pszComment)); 1860 1862 PVCICACHE pCache = (PVCICACHE)pBackendData; … … 1880 1882 static DECLCALLBACK(int) vciGetUuid(void *pBackendData, PRTUUID pUuid) 1881 1883 { 1884 RT_NOREF1(pUuid); 1882 1885 LogFlowFunc(("pBackendData=%#p pUuid=%#p\n", pBackendData, pUuid)); 1883 1886 PVCICACHE pCache = (PVCICACHE)pBackendData; … … 1898 1901 static DECLCALLBACK(int) vciSetUuid(void *pBackendData, PCRTUUID pUuid) 1899 1902 { 1903 RT_NOREF1(pUuid); 1900 1904 LogFlowFunc(("pBackendData=%#p Uuid=%RTuuid\n", pBackendData, pUuid)); 1901 1905 PVCICACHE pCache = (PVCICACHE)pBackendData; … … 1922 1926 static DECLCALLBACK(int) vciGetModificationUuid(void *pBackendData, PRTUUID pUuid) 1923 1927 { 1928 RT_NOREF1(pUuid); 1924 1929 LogFlowFunc(("pBackendData=%#p pUuid=%#p\n", pBackendData, pUuid)); 1925 1930 PVCICACHE pCache = (PVCICACHE)pBackendData; … … 1940 1945 static DECLCALLBACK(int) vciSetModificationUuid(void *pBackendData, PCRTUUID pUuid) 1941 1946 { 1947 RT_NOREF1(pUuid); 1942 1948 LogFlowFunc(("pBackendData=%#p Uuid=%RTuuid\n", pBackendData, pUuid)); 1943 1949 PVCICACHE pCache = (PVCICACHE)pBackendData;
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器