Home
last modified time | relevance | path

Searched full:lzma (Results 1 – 25 of 40) sorted by relevance

12

/linux/lib/xz/
H A Dxz_dec_lzma2.c14 * Range decoder initialization eats the first five bytes of each LZMA chunk.
19 * Minimum number of usable input buffer to safely decode one LZMA symbol.
138 /* Types of the most recently seen LZMA symbols */
148 * LZMA properties or related bit masks (number of literal
230 /* Uncompressed size of LZMA chunk (2 MiB at maximum) */
234 * Compressed size of LZMA chunk or compressed/uncompressed
241 * the first chunk (LZMA or uncompressed).
246 * True if new LZMA properties are needed. This is false
247 * before the first LZMA chunk.
260 * including lzma.pos_mask are in the first 128 bytes on x86-32,
[all …]
H A Dxz_lzma2.h29 * This enum is used to track which LZMA symbols have occurred most recently
102 * Match byte is used when the previous LZMA symbol was something else than
197 * LZMA remembers the four most recent match distances. Reusing these
H A DKconfig53 of a raw LZMA stream (without the end of stream marker) has
/linux/fs/erofs/
H A Ddecompressor_lzma.c11 /* considering the LZMA performance, no need to use a lockless list for now */
76 struct z_erofs_lzma_cfgs *lzma = data; in z_erofs_load_lzma_config() local
81 if (!lzma || size < sizeof(struct z_erofs_lzma_cfgs)) { in z_erofs_load_lzma_config()
82 erofs_err(sb, "invalid lzma cfgs, size=%u", size); in z_erofs_load_lzma_config()
85 if (lzma->format) { in z_erofs_load_lzma_config()
86 erofs_err(sb, "unidentified lzma format %x, please check kernel version", in z_erofs_load_lzma_config()
87 le16_to_cpu(lzma->format)); in z_erofs_load_lzma_config()
90 dict_size = le32_to_cpu(lzma->dict_size); in z_erofs_load_lzma_config()
92 erofs_err(sb, "unsupported lzma dictionary size %u", in z_erofs_load_lzma_config()
159 /* 1. get the exact LZMA compressed size */ in z_erofs_lzma_decompress()
[all …]
H A DKconfig113 bool "EROFS LZMA compressed data support"
117 containing LZMA compressed data, specifically called microLZMA. It
/linux/arch/arc/boot/
H A DMakefile17 targets += vmlinux.bin.lzma
20 targets += uImage.lzma
28 $(obj)/vmlinux.bin.lzma: $(obj)/vmlinux.bin FORCE
29 $(call if_changed,lzma)
37 $(obj)/uImage.lzma: $(obj)/vmlinux.bin.lzma FORCE
38 $(call if_changed,uimage,lzma)
/linux/arch/sh/boot/
H A DMakefile25 suffix_$(CONFIG_KERNEL_LZMA) := lzma
30 uImage.bz2 uImage.lzma uImage.xz uImage.lzo uImage.bin \
31 vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma \
74 $(obj)/vmlinux.bin.lzma: $(obj)/vmlinux.bin FORCE
75 $(call if_changed,lzma)
89 $(obj)/uImage.lzma: $(obj)/vmlinux.bin.lzma FORCE
90 $(call if_changed,uimage,lzma)
/linux/tools/perf/util/
H A Dlzma.c3 #include <lzma.h>
47 pr_debug("lzma: lzma_stream_decoder failed %s (%d)\n", lzma_strerror(ret), ret); in lzma_decompress_stream_to_file()
62 pr_debug("lzma: read error: %s\n", strerror(errno)); in lzma_decompress_stream_to_file()
76 pr_debug("lzma: write error: %s\n", strerror(errno)); in lzma_decompress_stream_to_file()
88 pr_debug("lzma: failed %s\n", lzma_strerror(ret)); in lzma_decompress_stream_to_file()
106 pr_debug("lzma: fopen failed on %s: '%s'\n", input, strerror(errno)); in lzma_decompress_to_file()
/linux/usr/
H A DKconfig72 bool "Support initial ramdisk/ramfs compressed using LZMA"
76 Support loading of a LZMA encoded initial ramdisk or cpio buffer
122 dictionary size of the algorithm with algorithms like XZ and LZMA
159 bool "LZMA"
165 slowest. The initramfs size is about 33% smaller with LZMA in
169 or lzma tools to be able to compress the initram.
/linux/arch/arm64/boot/
H A DMakefile19 targets := Image Image.bz2 Image.gz Image.lz4 Image.lzma Image.lzo \
34 $(obj)/Image.lzma: $(obj)/Image FORCE
35 $(call if_changed,lzma)
/linux/lib/
H A Ddecompress_unlzma.c1 /* Lzma decompressor for Linux kernel. Shamelessly snarfed
7 *Based on small lzma deflate implementation/Small range coder
8 *implementation for lzma.
11 *Based on LzmaDecode.c from the LZMA SDK 4.22 (https://www.7-zip.org/)
58 /* Small range coder implementation for lzma.
61 *Based on LzmaDecode.c from the LZMA SDK 4.22 (https://www.7-zip.org/)
215 * Small lzma deflate implementation.
218 * Based on LzmaDecode.c from the LZMA SDK 4.22 (https://www.7-zip.org/)
640 error("LZMA data is corrupt"); in unlzma()
645 error("LZMA data is corrupt"); in unlzma()
/linux/arch/x86/boot/compressed/
H A DMakefile10 # vmlinux.bin.(gz|bz2|lzma|...)
16 # vmlinux.bin.(gz|bz2|lzma|...) is:
20 targets := vmlinux vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma \
138 $(obj)/vmlinux.bin.lzma: $(vmlinux.bin.all-y) FORCE
151 suffix-$(CONFIG_KERNEL_LZMA) := lzma
/linux/arch/parisc/boot/compressed/
H A DMakefile10 targets += vmlinux.bin.xz vmlinux.bin.lzma vmlinux.bin.lzo vmlinux.bin.lz4
53 suffix-$(CONFIG_KERNEL_LZMA) := lzma
63 $(obj)/vmlinux.bin.lzma: $(obj)/vmlinux.bin FORCE
/linux/scripts/
H A DMakefile.package24 git-config-tar.lzma = -c tar.tar.lzma.command="$(LZMA)"
34 suffix-lzma := .lzma
40 linux-tarballs := $(addprefix linux, .tar.gz .tar.bz2 .tar.lzma .tar.xz)
88 supported-deb-source-compress := gzip bzip2 lzma xz
H A Dmake_fit.py22 Use -c to compress the data, using bzip2, gzip, lz4, lzma, lzo and
54 'lzma': CompTool('.lzma', 'lzma'),
H A DMakefile.lib321 # Bzip2 and LZMA do not include size in file... so we have to fake that;
347 # Lzma
350 quiet_cmd_lzma = LZMA $@
351 cmd_lzma = cat $(real-prereqs) | $(LZMA) -9 > $@
353 quiet_cmd_lzma_with_size = LZMA $@
354 cmd_lzma_with_size = { cat $(real-prereqs) | $(LZMA) -9; $(size_append); } > $@
/linux/arch/s390/boot/
H A DMakefile39 targets += vmlinux.bin.xz vmlinux.bin.lzma vmlinux.bin.lzo vmlinux.bin.lz4
107 suffix-$(CONFIG_KERNEL_LZMA) := .lzma
118 $(obj)/vmlinux.bin.lzma: $(obj)/vmlinux.bin FORCE
/linux/Documentation/devicetree/bindings/mtd/partitions/
H A Dfixed-partitions.yaml46 - lzma
85 compression = "lzma";
/linux/arch/arc/
H A DMakefile94 boot_targets := uImage.bin uImage.gz uImage.lzma
102 uimage-default-$(CONFIG_KERNEL_LZMA) := uImage.lzma
/linux/include/linux/
H A Dxz.h236 * The compressed format supported by this decoder is a raw LZMA stream
238 * of the LZMA properties (lc/lp/pb) byte. For example, if lc/lp/pb is
240 * Just like with LZMA2, lc + lp <= 4 must be true. The LZMA end-of-stream
252 * @dict_size: LZMA dictionary size. This must be at least 4 KiB and
/linux/tools/build/feature/
H A Dtest-lzma.c2 #include <lzma.h>
/linux/arch/csky/boot/
H A DMakefile10 compress-$(CONFIG_KERNEL_LZMA) = lzma
/linux/tools/perf/Documentation/
H A Dperf-check.txt68 lzma / HAVE_LZMA_SUPPORT
/linux/tools/build/
H A DMakefile.feature92 lzma \
148 lzma \
/linux/arch/powerpc/boot/
H A Dwrapper151 … [ "$1" != "gz" -o "$1" != "xz" -o "$1" != "lzma" -o "$1" != "lzo" -o "$1" != "none" ] || usage
400 .lzma)
401 xz --format=lzma -f -6 "$vmz.$$"

12