• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/contrib/zstd/programs/

Lines Matching refs:DISPLAYLEVEL

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