Lines Matching refs:pszComment

59                           const char *pszComment, uint64_t cbDisk,
332 const char *pszComment, uint64_t cbDisk,
345 if (pszComment)
347 AssertMsg(strlen(pszComment) < sizeof(pHeader->u.v1plus.szComment),
348 ("HDD Comment is too long, cb=%d\n", strlen(pszComment)));
349 strncat(pHeader->u.v1plus.szComment, pszComment, sizeof(pHeader->u.v1plus.szComment)-1);
524 unsigned uImageFlags, const char *pszComment,
545 if ( VALID_PTR(pszComment)
546 && strlen(pszComment) >= VDI_IMAGE_COMMENT_SIZE)
565 vdiInitHeader(&pImage->Header, uImageFlags, pszComment, cbSize, VDI_IMAGE_DEFAULT_BLOCK_SIZE, 0,
1399 unsigned uImageFlags, const char *pszComment,
1407 LogFlowFunc(("pszFilename=\"%s\" cbSize=%llu uImageFlags=%#x pszComment=\"%s\" pPCHSGeometry=%#p pLCHSGeometry=%#p Uuid=%RTuuid uOpenFlags=%#x uPercentStart=%u uPercentSpan=%u pVDIfsDisk=%#p pVDIfsImage=%#p pVDIfsOperation=%#p enmType=%u ppBackendData=%#p\n",
1408 pszFilename, cbSize, uImageFlags, pszComment, pPCHSGeometry, pLCHSGeometry, pUuid, uOpenFlags, uPercentStart, uPercentSpan, pVDIfsDisk, pVDIfsImage, pVDIfsOperation, enmType, ppBackendData));
1476 rc = vdiCreateImage(pImage, cbSize, uImageFlags, pszComment,
2040 static int vdiGetComment(void *pBackendData, char *pszComment,
2043 LogFlowFunc(("pBackendData=%#p pszComment=%#p cbComment=%zu\n", pBackendData, pszComment, cbComment));
2063 memcpy(pszComment, pszTmp, cb + 1);
2071 LogFlowFunc(("returns %Rrc comment=\"%s\"\n", rc, pszComment));
2076 static int vdiSetComment(void *pBackendData, const char *pszComment)
2078 LogFlowFunc(("pBackendData=%#p pszComment=\"%s\"\n", pBackendData, pszComment));
2090 size_t cchComment = pszComment ? strlen(pszComment) : 0;
2093 LogFunc(("pszComment is too long, %d bytes!\n", cchComment));
2105 memcpy(pImage->Header.u.v1.szComment, pszComment, cchComment);