Searched refs:lzma (Results 1 - 27 of 27) sorted by relevance

/linux-4.1.27/arch/arm/boot/compressed/
H A Dpiggy.lzma.S4 .incbin "arch/arm/boot/compressed/piggy.lzma"
H A DMakefile75 suffix_$(CONFIG_KERNEL_LZMA) = lzma
102 extra-y += piggy.gzip piggy.lzo piggy.lzma piggy.xzkern piggy.lz4 \
/linux-4.1.27/tools/build/feature/
H A Dtest-lzma.c1 #include <lzma.h>
H A DMakefile36 test-lzma.bin
156 test-lzma.bin:
H A Dtest-all.c117 # include "test-lzma.c"
/linux-4.1.27/arch/m32r/boot/compressed/
H A DMakefile8 vmlinux.bin.lzma head.o misc.o piggy.o vmlinux.lds
33 $(obj)/vmlinux.bin.lzma: $(obj)/vmlinux.bin FORCE
34 $(call if_changed,lzma)
48 suffix-$(CONFIG_KERNEL_LZMA) = lzma
/linux-4.1.27/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)
/linux-4.1.27/arch/blackfin/boot/
H A DMakefile9 targets := uImage uImage.bin uImage.bz2 uImage.gz uImage.lzma uImage.lzo uImage.xip
10 extra-y += vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma vmlinux.bin.lzo vmlinux.bin.xip
30 $(obj)/vmlinux.bin.lzma: $(obj)/vmlinux.bin FORCE
31 $(call if_changed,lzma)
51 $(obj)/uImage.lzma: $(obj)/vmlinux.bin.lzma
52 $(call if_changed,uimage,lzma)
63 suffix-$(CONFIG_KERNEL_LZMA) := lzma
/linux-4.1.27/tools/perf/util/
H A Dlzma.c1 #include <lzma.h>
39 pr_err("lzma: fopen failed on %s: '%s'\n", lzma_decompress_to_file()
46 pr_err("lzma: lzma_stream_decoder failed %s (%d)\n", lzma_decompress_to_file()
62 pr_err("lzma: read error: %s\n", strerror(errno)); lzma_decompress_to_file()
76 pr_err("lzma: write error: %s\n", strerror(errno)); lzma_decompress_to_file()
88 pr_err("lzma: failed %s\n", lzma_strerror(ret)); lzma_decompress_to_file()
/linux-4.1.27/lib/xz/
H A Dxz_dec_lzma2.c257 * including lzma.pos_mask are in the first 128 bytes on x86-32,
266 struct lzma_dec lzma; member in struct:xz_dec_lzma2
575 uint32_t low = prev_byte >> (8 - s->lzma.lc); lzma_literal_probs()
576 uint32_t high = (s->dict.pos & s->lzma.literal_pos_mask) << s->lzma.lc; lzma_literal_probs()
577 return s->lzma.literal[low + high]; lzma_literal_probs()
592 if (lzma_state_is_literal(s->lzma.state)) { lzma_literal()
596 match_byte = dict_get(&s->dict, s->lzma.rep0) << 1; lzma_literal()
615 lzma_state_literal(&s->lzma.state); lzma_literal()
618 /* Decode the length of the match into s->lzma.len. */ lzma_len()
628 s->lzma.len = MATCH_LEN_MIN; lzma_len()
633 s->lzma.len = MATCH_LEN_MIN + LEN_LOW_SYMBOLS; lzma_len()
637 s->lzma.len = MATCH_LEN_MIN + LEN_LOW_SYMBOLS lzma_len()
642 s->lzma.len += rc_bittree(&s->rc, probs, limit) - limit; lzma_len()
645 /* Decode a match. The distance will be stored in s->lzma.rep0. */ lzma_match()
652 lzma_state_match(&s->lzma.state); lzma_match()
654 s->lzma.rep3 = s->lzma.rep2; lzma_match()
655 s->lzma.rep2 = s->lzma.rep1; lzma_match()
656 s->lzma.rep1 = s->lzma.rep0; lzma_match()
658 lzma_len(s, &s->lzma.match_len_dec, pos_state); lzma_match()
660 probs = s->lzma.dist_slot[lzma_get_dist_state(s->lzma.len)]; lzma_match()
664 s->lzma.rep0 = dist_slot; lzma_match()
667 s->lzma.rep0 = 2 + (dist_slot & 1); lzma_match()
670 s->lzma.rep0 <<= limit; lzma_match()
671 probs = s->lzma.dist_special + s->lzma.rep0 lzma_match()
674 &s->lzma.rep0, limit); lzma_match()
676 rc_direct(&s->rc, &s->lzma.rep0, limit - ALIGN_BITS); lzma_match()
677 s->lzma.rep0 <<= ALIGN_BITS; lzma_match()
678 rc_bittree_reverse(&s->rc, s->lzma.dist_align, lzma_match()
679 &s->lzma.rep0, ALIGN_BITS); lzma_match()
686 * seen matches. The distance will be stored in s->lzma.rep0.
692 if (!rc_bit(&s->rc, &s->lzma.is_rep0[s->lzma.state])) { lzma_rep_match()
693 if (!rc_bit(&s->rc, &s->lzma.is_rep0_long[ lzma_rep_match()
694 s->lzma.state][pos_state])) { lzma_rep_match()
695 lzma_state_short_rep(&s->lzma.state); lzma_rep_match()
696 s->lzma.len = 1; lzma_rep_match()
700 if (!rc_bit(&s->rc, &s->lzma.is_rep1[s->lzma.state])) { lzma_rep_match()
701 tmp = s->lzma.rep1; lzma_rep_match()
703 if (!rc_bit(&s->rc, &s->lzma.is_rep2[s->lzma.state])) { lzma_rep_match()
704 tmp = s->lzma.rep2; lzma_rep_match()
706 tmp = s->lzma.rep3; lzma_rep_match()
707 s->lzma.rep3 = s->lzma.rep2; lzma_rep_match()
710 s->lzma.rep2 = s->lzma.rep1; lzma_rep_match()
713 s->lzma.rep1 = s->lzma.rep0; lzma_rep_match()
714 s->lzma.rep0 = tmp; lzma_rep_match()
717 lzma_state_long_rep(&s->lzma.state); lzma_rep_match()
718 lzma_len(s, &s->lzma.rep_len_dec, pos_state); lzma_rep_match()
730 if (dict_has_space(&s->dict) && s->lzma.len > 0) lzma_main()
731 dict_repeat(&s->dict, &s->lzma.len, s->lzma.rep0); lzma_main()
738 pos_state = s->dict.pos & s->lzma.pos_mask; lzma_main()
740 if (!rc_bit(&s->rc, &s->lzma.is_match[ lzma_main()
741 s->lzma.state][pos_state])) { lzma_main()
744 if (rc_bit(&s->rc, &s->lzma.is_rep[s->lzma.state])) lzma_main()
749 if (!dict_repeat(&s->dict, &s->lzma.len, s->lzma.rep0)) lzma_main()
772 s->lzma.state = STATE_LIT_LIT; lzma_reset()
773 s->lzma.rep0 = 0; lzma_reset()
774 s->lzma.rep1 = 0; lzma_reset()
775 s->lzma.rep2 = 0; lzma_reset()
776 s->lzma.rep3 = 0; lzma_reset()
787 probs = s->lzma.is_match[0]; lzma_reset()
804 s->lzma.pos_mask = 0; lzma_props()
807 ++s->lzma.pos_mask; lzma_props()
810 s->lzma.pos_mask = (1 << s->lzma.pos_mask) - 1; lzma_props()
812 s->lzma.literal_pos_mask = 0; lzma_props()
815 ++s->lzma.literal_pos_mask; lzma_props()
818 s->lzma.lc = props; lzma_props()
820 if (s->lzma.lc + s->lzma.literal_pos_mask > 4) lzma_props()
823 s->lzma.literal_pos_mask = (1 << s->lzma.literal_pos_mask) - 1; lzma_props()
1079 if (s->lzma2.compressed > 0 || s->lzma.len > 0 xz_dec_lzma2_run()
1159 s->lzma.len = 0; xz_dec_lzma2_reset()
/linux-4.1.27/arch/sh/boot/
H A DMakefile25 suffix-$(CONFIG_KERNEL_LZMA) := lzma
30 uImage.bz2 uImage.lzma uImage.xz uImage.lzo uImage.bin
31 extra-y += 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
90 $(call if_changed,uimage,lzma)
/linux-4.1.27/arch/s390/boot/compressed/
H A DMakefile8 targets += vmlinux.bin.xz vmlinux.bin.lzma vmlinux.bin.lzo vmlinux.bin.lz4
50 suffix-$(CONFIG_KERNEL_LZMA) := lzma
60 $(obj)/vmlinux.bin.lzma: $(vmlinux.bin.all-y)
61 $(call if_changed,lzma)
/linux-4.1.27/arch/x86/boot/compressed/
H A DMakefile9 # vmlinux.bin.(gz|bz2|lzma|...)
15 # vmlinux.bin.(gz|bz2|lzma|...) is:
21 targets := vmlinux vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma \
79 $(obj)/vmlinux.bin.lzma: $(vmlinux.bin.all-y) FORCE
80 $(call if_changed,lzma)
90 suffix-$(CONFIG_KERNEL_LZMA) := lzma
/linux-4.1.27/arch/sh/boot/compressed/
H A DMakefile8 vmlinux.bin.bz2 vmlinux.bin.lzma \
69 $(obj)/vmlinux.bin.lzma: $(vmlinux.bin.all-y) FORCE
70 $(call if_changed,lzma)
/linux-4.1.27/arch/unicore32/boot/compressed/
H A DMakefile27 suffix_$(CONFIG_KERNEL_LZMA) := lzma
42 extra-y += piggy.gzip piggy.bz2 piggy.lzo piggy.lzma
/linux-4.1.27/usr/
H A DMakefile13 suffix_$(CONFIG_RD_LZMA) = .lzma
60 initramfs_data.cpio.lzma initramfs_data.cpio.xz \
/linux-4.1.27/arch/blackfin/
H A DMakefile144 BOOT_TARGETS = uImage uImage.bin uImage.bz2 uImage.gz uImage.lzma uImage.lzo uImage.xip
161 echo ' vmImage.lzma - Kernel-only image for U-Boot (arch/$(ARCH)/boot/vmImage.lzma)'
/linux-4.1.27/lib/
H A Ddecompress.c50 { {0x5d, 0x00}, "lzma", unlzma },
H A Ddecompress_unlzma.c7 *Based on small lzma deflate implementation/Small range coder
8 *implementation for lzma.
56 /* Small range coder implementation for lzma.
213 * Small lzma deflate implementation.
/linux-4.1.27/arch/sh/
H A DMakefile206 BOOT_TARGETS = uImage uImage.bz2 uImage.gz uImage.lzma uImage.xz uImage.lzo \
235 @echo ' uImage.lzma - Kernel-only image for U-Boot (lzma)'
/linux-4.1.27/scripts/
H A Dgen_initramfs_list.sh249 echo "$output_file" | grep -q "\.lzma$" \
250 && [ -x "`which lzma 2> /dev/null`" ] \
251 && compr="lzma -9 -f"
/linux-4.1.27/arch/mips/boot/compressed/
H A DMakefile55 tool_$(CONFIG_KERNEL_LZMA) = lzma
/linux-4.1.27/fs/squashfs/
H A Ddecompressor.c41 NULL, NULL, NULL, NULL, LZMA_COMPRESSION, "lzma", 0
/linux-4.1.27/arch/mips/
H A DMakefile310 boot-y += uImage.lzma
417 echo ' uImage.lzma - U-Boot image (lzma)'
/linux-4.1.27/init/
H A Ddo_mounts_rd.c61 * lzma
/linux-4.1.27/tools/perf/config/
H A DMakefile545 ifeq ($(feature-lzma), 1)
/linux-4.1.27/
H A DMakefile868 INITRD_COMPRESS-$(CONFIG_RD_LZMA) := lzma

Completed in 1013 milliseconds