Home
last modified time | relevance | path

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

123

/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
/linux/arch/mips/boot/
H A DMakefile29 suffix-$(CONFIG_KERNEL_LZMA) := lzma
59 extra-y += vmlinux.bin.lzma
68 $(obj)/vmlinux.bin.lzma: $(obj)/vmlinux.bin FORCE
69 $(call if_changed,lzma)
82 targets += uImage.lzma
94 $(obj)/uImage.lzma: $(obj)/vmlinux.bin.lzma FORCE
95 $(call if_changed,uimage,lzma)
126 targets += vmlinux.lzma.its
148 $(obj)/vmlinux.lzma.its: $(obj)/vmlinux.its.S $(VMLINUX) FORCE
149 $(call if_changed,cpp_its_S,lzma,vmlinux.bin.lzma)
[all …]
/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()
165 /* 1. get the exact LZMA compressed size */ in z_erofs_lzma_decompress()
[all …]
H A DKconfig105 bool "EROFS LZMA compressed data support"
111 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>
48 pr_debug("lzma: fopen failed on %s: '%s'\n", input, strerror(errno)); in lzma_decompress_to_file()
54 pr_debug("lzma: lzma_stream_decoder failed %s (%d)\n", lzma_strerror(ret), ret); in lzma_decompress_to_file()
69 pr_debug("lzma: read error: %s\n", strerror(errno)); in lzma_decompress_to_file()
83 pr_debug("lzma: write error: %s\n", strerror(errno)); in lzma_decompress_to_file()
95 pr_debug("lzma: failed %s\n", lzma_strerror(ret)); 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/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.lib332 # Bzip2 and LZMA do not include size in file... so we have to fake that;
358 # Lzma
361 quiet_cmd_lzma = LZMA $@
362 cmd_lzma = cat $(real-prereqs) | $(LZMA) -9 > $@
364 quiet_cmd_lzma_with_size = LZMA $@
365 cmd_lzma_with_size = { cat $(real-prereqs) | $(LZMA) -9; $(size_append); } > $@
/linux/arch/parisc/boot/compressed/
H A DMakefile10 targets += vmlinux.bin.xz vmlinux.bin.lzma vmlinux.bin.lzo vmlinux.bin.lz4
52 suffix-$(CONFIG_KERNEL_LZMA) := lzma
62 $(obj)/vmlinux.bin.lzma: $(obj)/vmlinux.bin FORCE
/linux/arch/riscv/
H A DMakefile159 boot-image-$(CONFIG_KERNEL_LZMA) := Image.lzma
187 BOOT_TARGETS := Image Image.gz Image.bz2 Image.lz4 Image.lzma Image.lzo Image.zst Image.xz loader l…
192 Image.gz Image.bz2 Image.lz4 Image.lzma Image.lzo Image.zst Image.xz loader xipImage vmlinuz.efi: I…
226 echo ' Image.lzma - Compressed kernel image (arch/riscv/boot/Image.lzma)'
/linux/arch/sh/boot/compressed/
H A DMakefile12 vmlinux.bin.lzma vmlinux.bin.xz vmlinux.bin.lzo $(OBJECTS)
45 $(obj)/vmlinux.bin.lzma: $(obj)/vmlinux.bin FORCE
/linux/drivers/gpu/drm/ci/
H A Dbuild.sh115 make Image.lzma
120 -d arch/arm64/boot/Image.lzma \
121 -C lzma\
/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/arch/riscv/boot/
H A DMakefile58 $(obj)/Image.lzma: $(obj)/Image FORCE
59 $(call if_changed,lzma)
/linux/arch/sh/
H A DMakefile162 BOOT_TARGETS = uImage uImage.bz2 uImage.gz uImage.lzma uImage.xz uImage.lzo \
190 @echo ' uImage.lzma - Kernel-only image for U-Boot (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/Documentation/devicetree/bindings/mtd/partitions/
H A Dfixed-partitions.yaml46 - lzma
85 compress = "lzma";
/linux/arch/arc/
H A DMakefile97 boot_targets := uImage.bin uImage.gz uImage.lzma
105 uimage-default-$(CONFIG_KERNEL_LZMA) := uImage.lzma
/linux/tools/build/feature/
H A Dtest-lzma.c2 #include <lzma.h>

123