Lines Matching refs:DISPLAYLEVEL

90 #define DISPLAYLEVEL(l, ...) { if (g_display_prefs.displayLevel>=l) { DISPLAY(__VA_ARGS__); } }  macro
111 DISPLAYLEVEL(1, "zstd: "); \
112 DISPLAYLEVEL(5, "Error defined at %s, line %i : \n", __FILE__, __LINE__); \
113 DISPLAYLEVEL(1, "error %i : ", error); \
114 DISPLAYLEVEL(1, __VA_ARGS__); \
115 DISPLAYLEVEL(1, " \n"); \
122 DISPLAYLEVEL(5, "%s \n", #f); \
442 if (nbWorkers > 0) DISPLAYLEVEL(2, "Note : multi-threading is disabled \n"); in FIO_setNbWorkers()
451 DISPLAYLEVEL(2, "Setting block size is useless in single-thread mode \n"); in FIO_setBlockSize()
457 DISPLAYLEVEL(2, "Setting overlapLog is useless in single-thread mode \n"); in FIO_setOverlapLog()
569 DISPLAYLEVEL(2, "zstd: Failed to stat %s while trying to remove it\n", path); in FIO_removeFile()
573 DISPLAYLEVEL(2, "zstd: Refusing to remove non-regular file %s\n", path); in FIO_removeFile()
594 DISPLAYLEVEL(4,"Using stdin for input \n"); in FIO_openSrcFile()
600 DISPLAYLEVEL(1, "zstd: can't stat %s : %s -- ignored \n", in FIO_openSrcFile()
608 DISPLAYLEVEL(1, "zstd: %s is not a regular file -- ignored \n", in FIO_openSrcFile()
615 DISPLAYLEVEL(1, "zstd: %s: %s \n", srcFileName, strerror(errno)); in FIO_openSrcFile()
631 DISPLAYLEVEL(4,"Using stdout for output \n"); in FIO_openDstFile()
635DISPLAYLEVEL(4, "Sparse File Support is automatically disabled on stdout ; try --sparse \n"); in FIO_openDstFile()
642DISPLAYLEVEL(1, "zstd: Refusing to open an output file which will overwrite the input file \n"); in FIO_openDstFile()
680 DISPLAYLEVEL(1, "zstd: %s: %s\n", dstFileName, strerror(errno)); in FIO_openDstFile()
706 DISPLAYLEVEL(4,"Loading %s as dictionary \n", fileName); in FIO_createDictBuffer()
858DISPLAYLEVEL(1, "zstd: Aborting... not deleting files and processing into dst: %s", outFileName); in FIO_removeMultiFilesWarning()
863DISPLAYLEVEL(2, "zstd: WARNING: all input files will be processed and concatenated into stdout. "); in FIO_removeMultiFilesWarning()
865DISPLAYLEVEL(2, "zstd: WARNING: all input files will be processed and concatenated into a single o… in FIO_removeMultiFilesWarning()
867DISPLAYLEVEL(2, "\nThe concatenated output CANNOT regenerate the original directory tree. ") in FIO_removeMultiFilesWarning()
870DISPLAYLEVEL(1, "\nAborting. Use -f if you really want to delete the files and output to stdout"); in FIO_removeMultiFilesWarning()
910 DISPLAYLEVEL(1, "Max window log exceeded by file (compression ratio will suffer)\n"); in FIO_adjustParamsForPatchFromMode()
914 DISPLAYLEVEL(1, "long mode automatically triggered\n"); in FIO_adjustParamsForPatchFromMode()
918DISPLAYLEVEL(1, "[Optimal parser notes] Consider the following to improve patch size at the cost o… in FIO_adjustParamsForPatchFromMode()
919 DISPLAYLEVEL(1, "- Use --single-thread mode in the zstd cli\n"); in FIO_adjustParamsForPatchFromMode()
920 DISPLAYLEVEL(1, "- Set a larger targetLength (eg. --zstd=targetLength=4096)\n"); in FIO_adjustParamsForPatchFromMode()
921 DISPLAYLEVEL(1, "- Set a larger chainLog (eg. --zstd=chainLog=%u)\n", ZSTD_CHAINLOG_MAX); in FIO_adjustParamsForPatchFromMode()
922 DISPLAYLEVEL(1, "Also consdier playing around with searchLog and hashLog\n"); in FIO_adjustParamsForPatchFromMode()
932 DISPLAYLEVEL(6, "FIO_createCResources \n"); in FIO_createCResources()
991 DISPLAYLEVEL(5,"set nb workers = %u \n", prefs->nbWorkers); in FIO_createCResources()
995 DISPLAYLEVEL(3,"set overlapLog = %u \n", prefs->overlapLog); in FIO_createCResources()
1302 DISPLAYLEVEL(6, "compression using zstd format \n"); in FIO_compressZstdFrame()
1319 DISPLAYLEVEL(6, "fread %u bytes from source \n", (unsigned)inSize); in FIO_compressZstdFrame()
1340DISPLAYLEVEL(6, "ZSTD_compress_generic(end:%u) => input pos(%u)<=(%u)size ; output generated %u by… in FIO_compressZstdFrame()
1364 DISPLAYLEVEL(2, "\r%79s\r", ""); /* Clear out the current displayed line */ in FIO_compressZstdFrame()
1370 DISPLAYLEVEL(2, "Compress: %u/%u files. Current: ...%s ", in FIO_compressZstdFrame()
1373 DISPLAYLEVEL(2, "Compress: %u/%u files. Current: %*s ", in FIO_compressZstdFrame()
1377 DISPLAYLEVEL(2, "Read : %2u ", (unsigned)(zfp.consumed >> 20)); in FIO_compressZstdFrame()
1379 DISPLAYLEVEL(2, "/ %2u ", (unsigned)(fileSize >> 20)); in FIO_compressZstdFrame()
1380 DISPLAYLEVEL(2, "MB ==> %2.f%%", cShare); in FIO_compressZstdFrame()
1402DISPLAYLEVEL(6, "all buffers full : compression stopped => slow down \n") in FIO_compressZstdFrame()
1411DISPLAYLEVEL(6, "compression faster than flush (%llu > %llu), and flushed was never slowed down by… in FIO_compressZstdFrame()
1419 DISPLAYLEVEL(6, "compression level adaptation check \n") in FIO_compressZstdFrame()
1424DISPLAYLEVEL(6, "input is never blocked => input is slower than ingestion \n"); in FIO_compressZstdFrame()
1433DISPLAYLEVEL(6, "input blocked %u/%u(%.2f) - ingested:%u vs %u:consumed - flushed:%u vs %u:produce… in FIO_compressZstdFrame()
1441DISPLAYLEVEL(6, "recommend faster as in(%llu) >= (%llu)comp(%llu) <= out(%llu) \n", in FIO_compressZstdFrame()
1451 DISPLAYLEVEL(6, "slower speed , higher compression \n") in FIO_compressZstdFrame()
1459 DISPLAYLEVEL(6, "faster speed , lighter compression \n") in FIO_compressZstdFrame()
1502 DISPLAYLEVEL(5, "%s: %u bytes \n", srcFileName, (unsigned)fileSize); in FIO_compressFilename_internal()
1546 DISPLAYLEVEL(2, "\r%79s\r", ""); in FIO_compressFilename_internal()
1551 DISPLAYLEVEL(2,"%-20s : (%6llu => %6llu bytes, %s) \n", in FIO_compressFilename_internal()
1556 DISPLAYLEVEL(2,"%-20s :%6.2f%% (%6llu => %6llu bytes, %s) \n", in FIO_compressFilename_internal()
1570 DISPLAYLEVEL(4, "%-20s : Completed in %.2f sec (cpu load : %.0f%%)\n", in FIO_compressFilename_internal()
1600 DISPLAYLEVEL(6, "FIO_compressFilename_dstFile: opening dst: %s \n", dstFileName); in FIO_compressFilename_dstFile()
1623 DISPLAYLEVEL(6, "FIO_compressFilename_dstFile: closing dst: %s \n", dstFileName); in FIO_compressFilename_dstFile()
1625 DISPLAYLEVEL(1, "zstd: %s: %s \n", dstFileName, strerror(errno)); in FIO_compressFilename_dstFile()
1633DISPLAYLEVEL(6, "FIO_compressFilename_dstFile: transferring permissions into dst: %s \n", dstFileN… in FIO_compressFilename_dstFile()
1636DISPLAYLEVEL(6, "FIO_compressFilename_dstFile: do not transfer permissions into dst: %s \n", dstFi… in FIO_compressFilename_dstFile()
1672 DISPLAYLEVEL(6, "FIO_compressFilename_srcFile: %s \n", srcFileName); in FIO_compressFilename_srcFile()
1676 DISPLAYLEVEL(1, "zstd: %s is a directory -- ignored \n", srcFileName); in FIO_compressFilename_srcFile()
1682 DISPLAYLEVEL(1, "zstd: cannot use %s as an input file and dictionary \n", srcFileName); in FIO_compressFilename_srcFile()
1691 DISPLAYLEVEL(4, "File is already compressed : %s \n", srcFileName); in FIO_compressFilename_srcFile()
1835DISPLAYLEVEL(2, "zstd: --output-dir-mirror cannot compress '%s' into '%s' \n", srcFileName, outMir… in FIO_compressMultipleFilenames()
1852 DISPLAYLEVEL(2, "\r%79s\r", ""); in FIO_compressMultipleFilenames()
1853DISPLAYLEVEL(2, "%d files compressed : %.2f%% (%6zu => %6zu bytes)\n", fCtx->nbFilesProcessed, in FIO_compressMultipleFilenames()
2034 DISPLAYLEVEL(1, "Pass-through write error : %s\n", strerror(errno)); in FIO_passThrough()
2043 DISPLAYLEVEL(1, "Pass-through read error : %s\n", strerror(errno)); in FIO_passThrough()
2071 DISPLAYLEVEL(1, "%s : Window size larger than maximum : %llu > %u \n", in FIO_zstdErrorHelp()
2076 DISPLAYLEVEL(1, "%s : Use --long=%u or --memory=%uMB \n", in FIO_zstdErrorHelp()
2080 DISPLAYLEVEL(1, "%s : Window log larger than ZSTD_WINDOWLOG_MAX=%u; not supported \n", in FIO_zstdErrorHelp()
2118 DISPLAYLEVEL(1, "%s : Decoding error (36) : %s \n", in FIO_decompressZstdFrame()
2158 DISPLAYLEVEL(1, "%s : Read error (39) : premature end \n", in FIO_decompressZstdFrame()
2207 DISPLAYLEVEL(1, "zstd: %s: premature gz end \n", srcFileName); in FIO_decompressGzFrame()
2211 DISPLAYLEVEL(1, "zstd: %s: inflate error %d \n", srcFileName, ret); in FIO_decompressGzFrame()
2230 DISPLAYLEVEL(1, "zstd: %s: inflateEnd error \n", srcFileName); in FIO_decompressGzFrame()
2261 DISPLAYLEVEL(1, "zstd: %s: %s error %d \n", in FIO_decompressLzmaFrame()
2283 DISPLAYLEVEL(1, "zstd: %s: premature lzma end \n", srcFileName); in FIO_decompressLzmaFrame()
2287 DISPLAYLEVEL(1, "zstd: %s: lzma_code decoding error %d \n", in FIO_decompressLzmaFrame()
2324 DISPLAYLEVEL(1, "zstd: failed to create lz4 decompression context \n"); in FIO_decompressLz4Frame()
2334 DISPLAYLEVEL(1, "zstd: %s: lz4 header error : %s \n", in FIO_decompressLz4Frame()
2357 DISPLAYLEVEL(1, "zstd: %s: lz4 decompression error : %s \n", in FIO_decompressLz4Frame()
2375 DISPLAYLEVEL(1, "zstd: %s: read error \n", srcFileName); in FIO_decompressLz4Frame()
2380 DISPLAYLEVEL(1, "zstd: %s: unfinished lz4 stream \n", srcFileName); in FIO_decompressLz4Frame()
2419 DISPLAYLEVEL(1, "zstd: %s: unexpected end of file \n", srcFileName); in FIO_decompressFrames()
2426 DISPLAYLEVEL(1, "zstd: %s: unknown header \n", srcFileName); in FIO_decompressFrames()
2439DISPLAYLEVEL(1, "zstd: %s: gzip file cannot be uncompressed (zstd compiled without HAVE_ZLIB) -- i… in FIO_decompressFrames()
2449DISPLAYLEVEL(1, "zstd: %s: xz/lzma file cannot be uncompressed (zstd compiled without HAVE_LZMA) -… in FIO_decompressFrames()
2458DISPLAYLEVEL(1, "zstd: %s: lz4 file cannot be uncompressed (zstd compiled without HAVE_LZ4) -- ign… in FIO_decompressFrames()
2467 DISPLAYLEVEL(1, "zstd: %s: unsupported format \n", srcFileName); in FIO_decompressFrames()
2473 DISPLAYLEVEL(2, "\r%79s\r", ""); in FIO_decompressFrames()
2477 DISPLAYLEVEL(2, "%-20s: %llu bytes \n", srcFileName, filesize); in FIO_decompressFrames()
2526 DISPLAYLEVEL(1, "zstd: %s: %s \n", dstFileName, strerror(errno)); in FIO_decompressDstFile()
2554 DISPLAYLEVEL(1, "zstd: %s is a directory -- ignored \n", srcFileName); in FIO_decompressSrcFile()
2566DISPLAYLEVEL(1, "zstd: %s: %s \n", srcFileName, strerror(errno)); /* error should not happen */ in FIO_decompressSrcFile()
2578 DISPLAYLEVEL(1, "zstd: %s: %s \n", srcFileName, strerror(errno)); in FIO_decompressSrcFile()
2652 DISPLAYLEVEL(1, in FIO_determineDstName()
2671 DISPLAYLEVEL(1, in FIO_determineDstName()
2761DISPLAYLEVEL(2, "zstd: --output-dir-mirror cannot decompress '%s' into '%s'\n", srcFileName, outMi… in FIO_decompressMultipleFilenames()
2776DISPLAYLEVEL(2, "%d files decompressed : %6zu bytes total \n", fCtx->nbFilesProcessed, fCtx->total… in FIO_decompressMultipleFilenames()
2807 DISPLAYLEVEL(1, __VA_ARGS__); \
2808 DISPLAYLEVEL(1, " \n"); \
3002 DISPLAYLEVEL(1, "Error while parsing \"%s\" \n", inFileName); in FIO_listFile()
3039 DISPLAYLEVEL(1, "zstd: --list does not support reading from standard input \n"); in FIO_listMultipleFiles()
3041 DISPLAYLEVEL(1, "No files given \n"); in FIO_listMultipleFiles()