Home
last modified time | relevance | path

Searched refs:compression (Results 1 – 13 of 13) sorted by relevance

/systemd-251/src/basic/
Dcompress.h17 const char* compression_to_string(Compression compression);
18 Compression compression_from_string(const char *compression);
33 int decompress_blob(Compression compression,
49 int decompress_startswith(Compression compression,
64 Compression compression, in compress_blob_explicit() argument
68 switch (compression) { in compress_blob_explicit()
Dcompress.c67 DEFINE_STRING_TABLE_LOOKUP(compression, Compression);
314 Compression compression, in decompress_blob() argument
321 if (compression == COMPRESSION_XZ) in decompress_blob()
325 else if (compression == COMPRESSION_LZ4) in decompress_blob()
329 else if (compression == COMPRESSION_ZSTD) in decompress_blob()
521 Compression compression, in decompress_startswith() argument
529 if (compression == COMPRESSION_XZ) in decompress_startswith()
536 else if (compression == COMPRESSION_LZ4) in decompress_startswith()
542 else if (compression == COMPRESSION_ZSTD) in decompress_startswith()
Dmeson.build457 # linking to the compression libraries.
/systemd-251/src/test/
Dtest-compress.c50 const char *compression, in test_compress_decompress() argument
63 compression, data); in test_compress_decompress()
94 _unused_ static void test_decompress_startswith(const char *compression, in test_decompress_startswith() argument
107 compression, data); in test_decompress_startswith()
141 _unused_ static void test_decompress_startswith_short(const char *compression, in test_decompress_startswith_short() argument
151 log_info("/* %s with %s */", __func__, compression); in test_decompress_startswith_short()
167 const char *compression, in test_compress_stream() argument
188 log_debug("/* testing %s compression */", compression); in test_compress_stream()
Dtest-tables.c125 test_table(compression, COMPRESSION); in main()
/systemd-251/src/boot/efi/
Dsplash.c25 UINT32 compression; member
79 if (dib->compression != 0) in bmp_parse_header()
86 if (dib->compression != 0 && dib->compression != 3) in bmp_parse_header()
/systemd-251/
Dmeson_options.txt405 description : 'zlib compression support')
407 description : 'bzip2 compression support')
409 description : 'xz compression support')
411 description : 'lz4 compression support')
413 description : 'zstd compression support')
414 option('default-compression', type : 'combo', choices : ['auto', 'zstd', 'lz4', 'xz'], value: 'auto…
415 description : 'default compression algorithm')
Dmeson.build1467 compression = get_option('default-compression')
1468 if compression == 'auto'
1470 compression = 'zstd'
1472 compression = 'lz4'
1474 compression = 'xz'
1476 compression = 'none'
1478 elif compression == 'zstd' and not have_zstd
1479 error('default-compression=zstd requires zstd')
1480 elif compression == 'lz4' and not have_lz4
1481 error('default-compression=lz4 requires lz4')
[all …]
DNEWS540 default compression algorithm used by systemd-journald and systemd-coredump.
542 but choose a specific one for compression. E.g.:
543 $ meson -Ddefault-compression=xz
1261 * systemd-homed will now default to btrfs' zstd compression for home
1395 that have compression enabled.
3516 * systemd-journald gained support for zstd compression of large fields
7737 removed. With fast LZ4 compression storing the core dump twice is not
8701 * The compression framing format used by the journal or
8703 official LZ4 tools generate. LZ4 compression support in
8709 it a good default choice for the compression logic in the
/systemd-251/src/libsystemd/sd-journal/
Djournal-file.c1564 int r, compression = 0; in journal_file_append_data() local
1595 compression = compress_blob(data, size, o->data.payload, size - 1, &rsize); in journal_file_append_data()
1596 if (compression > COMPRESSION_NONE) { in journal_file_append_data()
1598 o->object.flags |= COMPRESSION_TO_OBJECT_FLAG(compression); in journal_file_append_data()
1601 size, rsize, compression_to_string(compression)); in journal_file_append_data()
1604 compression = COMPRESSION_NONE; in journal_file_append_data()
1608 if (compression == 0) in journal_file_append_data()
/systemd-251/src/basic/linux/
Dbtrfs_tree.h800 __u8 compression; member
/systemd-251/docs/
DJOURNAL_FILE_FORMAT.md20 * Support for in-line compression
427 compression algorithm.
DUSER_RECORD.md805 possibly skewed by metadata sizes, disk compression and similar.