Lines Matching refs:DISPLAYLEVEL
103 #define DISPLAYLEVEL(l, ...) { if (g_display_prefs.displayLevel>=l) { DISPLAY(__VA_ARGS__); } } macro
124 DISPLAYLEVEL(1, "zstd: "); \
125 DISPLAYLEVEL(5, "Error defined at %s, line %i : \n", __FILE__, __LINE__); \
126 DISPLAYLEVEL(1, "error %i : ", error); \
127 DISPLAYLEVEL(1, __VA_ARGS__); \
128 DISPLAYLEVEL(1, " \n"); \
135 DISPLAYLEVEL(5, "%s \n", #f); \
458 if (nbWorkers > 0) DISPLAYLEVEL(2, "Note : multi-threading is disabled \n"); in FIO_setNbWorkers()
469 DISPLAYLEVEL(2, "Setting block size is useless in single-thread mode \n"); in FIO_setBlockSize()
475 DISPLAYLEVEL(2, "Setting overlapLog is useless in single-thread mode \n"); in FIO_setOverlapLog()
591 DISPLAYLEVEL(2, "zstd: Failed to stat %s while trying to remove it\n", path); in FIO_removeFile()
595 DISPLAYLEVEL(2, "zstd: Refusing to remove non-regular file %s\n", path); in FIO_removeFile()
617 DISPLAYLEVEL(4,"Using stdin for input \n"); in FIO_openSrcFile()
623 DISPLAYLEVEL(1, "zstd: can't stat %s : %s -- ignored \n", in FIO_openSrcFile()
632 DISPLAYLEVEL(1, "zstd: %s is not a regular file -- ignored \n", in FIO_openSrcFile()
639 DISPLAYLEVEL(1, "zstd: %s: %s \n", srcFileName, strerror(errno)); in FIO_openSrcFile()
656 DISPLAYLEVEL(4,"Using stdout for output \n"); in FIO_openDstFile()
660 … DISPLAYLEVEL(4, "Sparse File Support is automatically disabled on stdout ; try --sparse \n"); in FIO_openDstFile()
667 … DISPLAYLEVEL(1, "zstd: Refusing to open an output file which will overwrite the input file \n"); in FIO_openDstFile()
719 DISPLAYLEVEL(1, "zstd: %s: %s\n", dstFileName, strerror(errno)); in FIO_openDstFile()
741 DISPLAYLEVEL(4,"Loading %s as dictionary \n", fileName); in FIO_createDictBuffer()
906 …DISPLAYLEVEL(1, "zstd: Aborting... not deleting files and processing into dst: %s\n", outFileName); in FIO_removeMultiFilesWarning()
911 …DISPLAYLEVEL(2, "zstd: WARNING: all input files will be processed and concatenated into stdout. \n… in FIO_removeMultiFilesWarning()
913 …DISPLAYLEVEL(2, "zstd: WARNING: all input files will be processed and concatenated into a single o… in FIO_removeMultiFilesWarning()
915 … DISPLAYLEVEL(2, "The concatenated output CANNOT regenerate the original directory tree. \n") in FIO_removeMultiFilesWarning()
918 … DISPLAYLEVEL(1, "Aborting. Use -f if you really want to delete the files and output to stdout\n"); in FIO_removeMultiFilesWarning()
966 DISPLAYLEVEL(1, "Max window log exceeded by file (compression ratio will suffer)\n"); in FIO_adjustParamsForPatchFromMode()
970 DISPLAYLEVEL(1, "long mode automatically triggered\n"); in FIO_adjustParamsForPatchFromMode()
974 …DISPLAYLEVEL(1, "[Optimal parser notes] Consider the following to improve patch size at the cost o… in FIO_adjustParamsForPatchFromMode()
975 DISPLAYLEVEL(1, "- Use --single-thread mode in the zstd cli\n"); in FIO_adjustParamsForPatchFromMode()
976 DISPLAYLEVEL(1, "- Set a larger targetLength (eg. --zstd=targetLength=4096)\n"); in FIO_adjustParamsForPatchFromMode()
977 DISPLAYLEVEL(1, "- Set a larger chainLog (eg. --zstd=chainLog=%u)\n", ZSTD_CHAINLOG_MAX); in FIO_adjustParamsForPatchFromMode()
978 DISPLAYLEVEL(1, "Also consider playing around with searchLog and hashLog\n"); in FIO_adjustParamsForPatchFromMode()
988 DISPLAYLEVEL(6, "FIO_createCResources \n"); in FIO_createCResources()
1048 DISPLAYLEVEL(5,"set nb workers = %u \n", prefs->nbWorkers); in FIO_createCResources()
1052 DISPLAYLEVEL(3,"set overlapLog = %u \n", prefs->overlapLog); in FIO_createCResources()
1361 DISPLAYLEVEL(6, "compression using zstd format \n"); in FIO_compressZstdFrame()
1382 …DISPLAYLEVEL(4, "Decompression will require %.*f%s of memory\n", windowSize.precision, windowSize.… in FIO_compressZstdFrame()
1392 DISPLAYLEVEL(6, "fread %u bytes from source \n", (unsigned)inSize); in FIO_compressZstdFrame()
1413 …DISPLAYLEVEL(6, "ZSTD_compress_generic(end:%u) => input pos(%u)<=(%u)size ; output generated %u by… in FIO_compressZstdFrame()
1441 DISPLAYLEVEL(1, "\r%79s\r", ""); /* Clear out the current displayed line */ in FIO_compressZstdFrame()
1447 DISPLAYLEVEL(1, "Compress: %u/%u files. Current: ...%s ", in FIO_compressZstdFrame()
1450 DISPLAYLEVEL(1, "Compress: %u/%u files. Current: %*s ", in FIO_compressZstdFrame()
1454 …DISPLAYLEVEL(1, "Read:%6.*f%4s ", consumed_hrs.precision, consumed_hrs.value, consumed_hrs.suffix); in FIO_compressZstdFrame()
1456 … DISPLAYLEVEL(2, "/%6.*f%4s", file_hrs.precision, file_hrs.value, file_hrs.suffix); in FIO_compressZstdFrame()
1457 DISPLAYLEVEL(1, " ==> %2.f%%", cShare); in FIO_compressZstdFrame()
1479 … DISPLAYLEVEL(6, "all buffers full : compression stopped => slow down \n") in FIO_compressZstdFrame()
1488 …DISPLAYLEVEL(6, "compression faster than flush (%llu > %llu), and flushed was never slowed down by… in FIO_compressZstdFrame()
1496 DISPLAYLEVEL(6, "compression level adaptation check \n") in FIO_compressZstdFrame()
1501 … DISPLAYLEVEL(6, "input is never blocked => input is slower than ingestion \n"); in FIO_compressZstdFrame()
1510 …DISPLAYLEVEL(6, "input blocked %u/%u(%.2f) - ingested:%u vs %u:consumed - flushed:%u vs %u:produce… in FIO_compressZstdFrame()
1518 … DISPLAYLEVEL(6, "recommend faster as in(%llu) >= (%llu)comp(%llu) <= out(%llu) \n", in FIO_compressZstdFrame()
1528 DISPLAYLEVEL(6, "slower speed , higher compression \n") in FIO_compressZstdFrame()
1536 DISPLAYLEVEL(6, "faster speed , lighter compression \n") in FIO_compressZstdFrame()
1579 DISPLAYLEVEL(5, "%s: %llu bytes \n", srcFileName, (unsigned long long)fileSize); in FIO_compressFilename_internal()
1623 DISPLAYLEVEL(2, "\r%79s\r", ""); in FIO_compressFilename_internal()
1630 DISPLAYLEVEL(2,"%-20s : (%6.*f%4s => %6.*f%4s, %s) \n", in FIO_compressFilename_internal()
1636 DISPLAYLEVEL(2,"%-20s :%6.2f%% (%6.*f%4s => %6.*f%4s, %s) \n", in FIO_compressFilename_internal()
1651 DISPLAYLEVEL(4, "%-20s : Completed in %.2f sec (cpu load : %.0f%%)\n", in FIO_compressFilename_internal()
1690 DISPLAYLEVEL(6, "FIO_compressFilename_dstFile: opening dst: %s \n", dstFileName); in FIO_compressFilename_dstFile()
1708 DISPLAYLEVEL(6, "FIO_compressFilename_dstFile: closing dst: %s \n", dstFileName); in FIO_compressFilename_dstFile()
1710 DISPLAYLEVEL(1, "zstd: %s: %s \n", dstFileName, strerror(errno)); in FIO_compressFilename_dstFile()
1755 DISPLAYLEVEL(6, "FIO_compressFilename_srcFile: %s \n", srcFileName); in FIO_compressFilename_srcFile()
1759 DISPLAYLEVEL(1, "zstd: %s is a directory -- ignored \n", srcFileName); in FIO_compressFilename_srcFile()
1765 DISPLAYLEVEL(1, "zstd: cannot use %s as an input file and dictionary \n", srcFileName); in FIO_compressFilename_srcFile()
1774 DISPLAYLEVEL(4, "File is already compressed : %s \n", srcFileName); in FIO_compressFilename_srcFile()
1962 …DISPLAYLEVEL(2, "zstd: --output-dir-mirror cannot compress '%s' into '%s' \n", srcFileName, outMir… in FIO_compressMultipleFilenames()
1982 DISPLAYLEVEL(2, "\r%79s\r", ""); in FIO_compressMultipleFilenames()
1983 DISPLAYLEVEL(2, "%3d files compressed :%.2f%% (%6.*f%4s => %6.*f%4s)\n", in FIO_compressMultipleFilenames()
2166 DISPLAYLEVEL(1, "Pass-through write error : %s\n", strerror(errno)); in FIO_passThrough()
2175 DISPLAYLEVEL(1, "Pass-through read error : %s\n", strerror(errno)); in FIO_passThrough()
2203 DISPLAYLEVEL(1, "%s : Window size larger than maximum : %llu > %u \n", in FIO_zstdErrorHelp()
2208 DISPLAYLEVEL(1, "%s : Use --long=%u or --memory=%uMB \n", in FIO_zstdErrorHelp()
2212 DISPLAYLEVEL(1, "%s : Window log larger than ZSTD_WINDOWLOG_MAX=%u; not supported \n", in FIO_zstdErrorHelp()
2252 DISPLAYLEVEL(1, "%s : Decoding error (36) : %s \n", in FIO_decompressZstdFrame()
2290 DISPLAYLEVEL(1, "%s : Read error (39) : premature end \n", in FIO_decompressZstdFrame()
2339 DISPLAYLEVEL(1, "zstd: %s: premature gz end \n", srcFileName); in FIO_decompressGzFrame()
2343 DISPLAYLEVEL(1, "zstd: %s: inflate error %d \n", srcFileName, ret); in FIO_decompressGzFrame()
2362 DISPLAYLEVEL(1, "zstd: %s: inflateEnd error \n", srcFileName); in FIO_decompressGzFrame()
2393 DISPLAYLEVEL(1, "zstd: %s: %s error %d \n", in FIO_decompressLzmaFrame()
2415 DISPLAYLEVEL(1, "zstd: %s: premature lzma end \n", srcFileName); in FIO_decompressLzmaFrame()
2419 DISPLAYLEVEL(1, "zstd: %s: lzma_code decoding error %d \n", in FIO_decompressLzmaFrame()
2456 DISPLAYLEVEL(1, "zstd: failed to create lz4 decompression context \n"); in FIO_decompressLz4Frame()
2466 DISPLAYLEVEL(1, "zstd: %s: lz4 header error : %s \n", in FIO_decompressLz4Frame()
2489 DISPLAYLEVEL(1, "zstd: %s: lz4 decompression error : %s \n", in FIO_decompressLz4Frame()
2509 DISPLAYLEVEL(1, "zstd: %s: read error \n", srcFileName); in FIO_decompressLz4Frame()
2514 DISPLAYLEVEL(1, "zstd: %s: unfinished lz4 stream \n", srcFileName); in FIO_decompressLz4Frame()
2553 DISPLAYLEVEL(1, "zstd: %s: unexpected end of file \n", srcFileName); in FIO_decompressFrames()
2560 DISPLAYLEVEL(1, "zstd: %s: unknown header \n", srcFileName); in FIO_decompressFrames()
2573 …DISPLAYLEVEL(1, "zstd: %s: gzip file cannot be uncompressed (zstd compiled without HAVE_ZLIB) -- i… in FIO_decompressFrames()
2583 …DISPLAYLEVEL(1, "zstd: %s: xz/lzma file cannot be uncompressed (zstd compiled without HAVE_LZMA) -… in FIO_decompressFrames()
2592 …DISPLAYLEVEL(1, "zstd: %s: lz4 file cannot be uncompressed (zstd compiled without HAVE_LZ4) -- ign… in FIO_decompressFrames()
2601 DISPLAYLEVEL(1, "zstd: %s: unsupported format \n", srcFileName); in FIO_decompressFrames()
2607 DISPLAYLEVEL(2, "\r%79s\r", ""); in FIO_decompressFrames()
2612 DISPLAYLEVEL(1, "\r%-20s: %llu bytes \n", srcFileName, filesize); in FIO_decompressFrames()
2664 DISPLAYLEVEL(1, "zstd: %s: %s \n", dstFileName, strerror(errno)); in FIO_decompressDstFile()
2694 DISPLAYLEVEL(1, "zstd: %s is a directory -- ignored \n", srcFileName); in FIO_decompressSrcFile()
2706 … DISPLAYLEVEL(1, "zstd: %s: %s \n", srcFileName, strerror(errno)); /* error should not happen */ in FIO_decompressSrcFile()
2718 DISPLAYLEVEL(1, "zstd: %s: %s \n", srcFileName, strerror(errno)); in FIO_decompressSrcFile()
2792 DISPLAYLEVEL(1, in FIO_determineDstName()
2811 DISPLAYLEVEL(1, in FIO_determineDstName()
2901 …DISPLAYLEVEL(2, "zstd: --output-dir-mirror cannot decompress '%s' into '%s'\n", srcFileName, outMi… in FIO_decompressMultipleFilenames()
2916 …DISPLAYLEVEL(2, "%d files decompressed : %6zu bytes total \n", fCtx->nbFilesProcessed, fCtx->total… in FIO_decompressMultipleFilenames()
2947 DISPLAYLEVEL(1, __VA_ARGS__); \
2948 DISPLAYLEVEL(1, " \n"); \
3141 DISPLAYLEVEL(1, "Error while parsing \"%s\" \n", inFileName); in FIO_listFile()
3178 DISPLAYLEVEL(1, "zstd: --list does not support reading from standard input \n"); in FIO_listMultipleFiles()
3180 DISPLAYLEVEL(1, "No files given \n"); in FIO_listMultipleFiles()