Searched refs:compression (Results 1 - 7 of 7) sorted by relevance

/systemd/src/journal/
H A Dcompress.h26 const char* object_compressed_to_string(int compression);
27 int object_compressed_from_string(const char *compression);
53 int decompress_blob(int compression,
65 int decompress_startswith(int compression,
H A Dtest-compress.c57 static void test_compress_decompress(int compression, argument
68 log_info("/* testing %s %s blob compression/decompression */",
69 object_compressed_to_string(compression), data);
73 log_info_errno(r, "compression failed: %m");
100 static void test_decompress_startswith(int compression, argument
113 object_compressed_to_string(compression), data);
122 log_info_errno(r, "compression failed: %m");
148 static void test_compress_stream(int compression, argument
161 log_debug("/* testing %s compression */",
162 object_compressed_to_string(compression));
[all...]
H A Dcompress.c228 int decompress_blob(int compression, argument
231 if (compression == OBJECT_COMPRESSED_XZ)
234 else if (compression == OBJECT_COMPRESSED_LZ4)
350 int decompress_startswith(int compression, argument
355 if (compression == OBJECT_COMPRESSED_XZ)
360 else if (compression == OBJECT_COMPRESSED_LZ4)
430 log_debug("XZ compression finished (%"PRIu64" -> %"PRIu64" bytes, %.1f%%)",
527 log_debug("LZ4 compression finished (%zu -> %zu bytes, %.1f%%)",
H A Dsd-journal.c1939 int compression; local
1952 compression = o->object.flags & OBJECT_COMPRESSION_MASK;
1953 if (compression) {
1955 r = decompress_startswith(compression,
1961 object_compressed_to_string(compression), l, p);
1966 r = decompress_blob(compression,
2007 int compression; local
2016 compression = o->object.flags & OBJECT_COMPRESSION_MASK;
2017 if (compression) {
2022 r = decompress_blob(compression,
[all...]
H A Djournal-verify.c136 int compression, r; local
155 compression = o->object.flags & OBJECT_COMPRESSION_MASK;
156 if (compression) {
160 r = decompress_blob(compression,
166 object_compressed_to_string(compression), strerror(-r));
907 error(p, "Objected with double compression");
913 error(p, "XZ compressed object in file without XZ compression");
919 error(p, "LZ4 compressed object in file without LZ4 compression");
H A Djournal-file.c1079 int r, compression = 0; local
1112 compression = compress_blob(data, size, o->data.payload, size - 1, &rsize);
1114 if (compression >= 0) {
1116 o->object.flags |= compression;
1119 size, rsize, object_compressed_to_string(compression));
1121 /* Compression didn't work, we don't really care why, let's continue without compression */
1122 compression = 0;
1126 if (compression == 0 && size > 0)
/systemd/src/boot/efi/
H A Dsplash.c38 UINT32 compression; member in struct:bmp_dib
82 if (dib->compression != 0)
89 if (dib->compression != 0 && dib->compression != 3)

Completed in 58 milliseconds