Lines Matching refs:cchBuffer
945 static int scsiLogWriteParamsModePage(char *pszBuffer, size_t cchBuffer,
961 cch = RTStrPrintf(pszBuffer, cchBuffer, "BUFE=%d LS_V=%d TestWrite=%d WriteType=%s\n",
967 cchBuffer -= cch;
968 if (!cchBuffer)
980 cch = RTStrPrintf(pszBuffer, cchBuffer, "MultiSession=%s FP=%d Copy=%d TrackMode=%d\n",
986 cchBuffer -= cch;
987 if (!cchBuffer)
1005 cch = RTStrPrintf(pszBuffer, cchBuffer, "DataBlockType=%d (%s)\n",
1009 cchBuffer -= cch;
1010 if (!cchBuffer)
1013 cch = RTStrPrintf(pszBuffer, cchBuffer, "LinkSize=%d\n", pbModePage[5]);
1015 cchBuffer -= cch;
1016 if (!cchBuffer)
1019 cch = RTStrPrintf(pszBuffer, cchBuffer, "HostApplicationCode=%d\n",
1022 cchBuffer -= cch;
1023 if (!cchBuffer)
1034 cch = RTStrPrintf(pszBuffer, cchBuffer, "SessionFormat=%d (%s)\n",
1037 cchBuffer -= cch;
1038 if (!cchBuffer)
1051 * @param cchBuffer Size of the buffer in characters.
1055 int SCSILogModePage(char *pszBuffer, size_t cchBuffer, uint8_t *pbModePage,
1071 cch = RTStrPrintf(pszBuffer, cchBuffer, "Byte 0: PS=%d, Page code=%d (%s)\n",
1074 cchBuffer -= cch;
1075 if (!cchBuffer)
1078 cch = RTStrPrintf(pszBuffer, cchBuffer, "Byte 1: Page length=%u\n", pbModePage[1]);
1080 cchBuffer -= cch;
1081 if (!cchBuffer)
1087 rc = scsiLogWriteParamsModePage(pszBuffer, cchBuffer, pbModePage, cbModePage);
1103 * @param cchBuffer Size of the buffer in characters.
1107 int SCSILogCueSheet(char *pszBuffer, size_t cchBuffer, uint8_t *pbCueSheet,
1118 cch = RTStrPrintf(pszBuffer, cchBuffer,
1123 cchBuffer -= cch;
1124 if (!cchBuffer)