Searched refs:zlib (Results 1 - 58 of 58) sorted by relevance

/linux-4.1.27/tools/build/feature/
H A Dtest-zlib.c1 #include <zlib.h>
H A DMakefile35 test-zlib.bin \
153 test-zlib.bin:
H A Dtest-all.c97 # include "test-zlib.c"
/linux-4.1.27/arch/xtensa/boot/lib/
H A DMakefile5 zlib := inffast.c inflate.c inftrees.c macro
7 lib-y += $(zlib:.c=.o) zmem.o
21 $(addprefix $(obj)/,$(zlib)): $(obj)/%: $(srctree)/lib/zlib_inflate/%
24 clean-files := $(zlib)
H A Dzmem.c1 #include <linux/zlib.h>
/linux-4.1.27/lib/zlib_inflate/
H A Dinfutil.h3 * For conditions of distribution and use, see copyright notice in zlib.h
8 subject to change. Applications should only use zlib.h.
14 #include <linux/zlib.h>
H A Dinflate_syms.c11 #include <linux/zlib.h>
H A Dinffixed.h7 is subject to change. Applications should only use zlib.h.
H A Dinfutil.c6 /* Utility function: initialize zlib, unpack binary blob, clean up zlib,
H A DMakefile2 # This is a modified version of zlib, which does all memory
H A Dinflate.h6 * For conditions of distribution and use, see copyright notice in zlib.h
11 subject to change. Applications should only use zlib.h.
54 HEAD -> (gzip) or (zlib)
57 (zlib) -> DICTID or TYPE
75 int wrap; /* bit 0 true for zlib, bit 1 true for gzip */
77 int flags; /* gzip header method and flags (0 if zlib) */
78 unsigned dmax; /* zlib header max distance (INFLATE_STRICT) */
H A Dinftrees.h6 * For conditions of distribution and use, see copyright notice in zlib.h
11 subject to change. Applications should only use zlib.h.
H A Dinflate.c1 /* inflate.c -- zlib decompression
3 * For conditions of distribution and use, see copyright notice in zlib.h
5 * Based on zlib 1.2.3 but modified for the Linux Kernel by
162 /* check function to use adler32() for zlib or crc32() for gzip */
307 return code (per zlib.h). inflate() always writes as much as possible to
309 documented in zlib.h of Z_SYNC_FLUSH. Furthermore, inflate() always defers
311 provides the effect documented in zlib.h for Z_FINISH when the entire input
H A Dinffast.c3 * For conditions of distribution and use, see copyright notice in zlib.h
97 unsigned dmax; /* maximum distance from zlib header */ inflate_fast()
H A Dinftrees.c3 * For conditions of distribution and use, see copyright notice in zlib.h
/linux-4.1.27/lib/zlib_deflate/
H A DMakefile2 # This is a modified version of zlib, which does all memory
H A Ddeflate_syms.c11 #include <linux/zlib.h>
H A Ddeflate.c4 * For conditions of distribution and use, see copyright notice in zlib.h
194 if (windowBits < 0) { /* undocumented feature: suppress zlib header */ zlib_deflateInit2()
351 /* Write the zlib header */ zlib_deflate()
453 /* Write the zlib trailer (adler32) */ zlib_deflate()
517 * Initialize the "longest match" routines for a new zlib stream
770 zlib, so we don't care about this pathological case.) fill_window()
1125 if (windowBits < 0) /* undocumented feature: suppress zlib header */ zlib_deflate_workspacesize()
H A Ddefutil.h72 z_streamp strm; /* pointer back to this zlib stream */
78 int noheader; /* suppress zlib header and adler32 */
202 * This is applicable only for zip (not gzip or zlib).
H A Ddeftree.c4 * For conditions of distribution and use, see copyright notice in zlib.h
293 * Initialize the tree data structures for a new zlib stream.
/linux-4.1.27/include/linux/
H A Dzutil.h3 * For conditions of distribution and use, see copyright notice in zlib.h
8 subject to change. Applications should only use zlib.h.
16 #include <linux/zlib.h>
35 #define PRESET_DICT 0x20 /* preset dictionary flag in zlib header */
H A Dzconf.h1 /* zconf.h -- configuration of the zlib compression library
3 * For conditions of distribution and use, see copyright notice in zlib.h
H A Dzlib.h0 /* zlib.h -- interface of the 'zlib' general purpose compression library
25 The data format used by the zlib library is described by RFCs (Request for
27 (zlib format), rfc1951.txt (deflate format) and rfc1952.txt (gzip format).
35 /* zlib deflate based on ZLIB_VERSION "1.1.3" */
36 /* zlib inflate based on ZLIB_VERSION "1.2.3" */
39 This is a modified version of zlib for use inside the Linux kernel.
53 The 'zlib' compression library provides in-memory compression and
66 the zlib format, which is a zlib wrapper documented in RFC 1950, wrapped
72 The zlib format was designed to be compact and fast for use in memory
74 file compression on file systems, has a larger header than zlib to maintain
75 directory information, and uses a different, slower check method than zlib.
118 If zlib is used in a multi-threaded application, zalloc and zfree must be
210 Z_VERSION_ERROR if the zlib library version (zlib_version) is incompatible
323 compression method from the zlib header and allocates all data structures
329 memory, Z_VERSION_ERROR if the zlib library version is incompatible with the
332 the zlib header if present: this will be done by inflate(). (So next_in and
370 zlib or gzip format, this will cause inflate() to return immediately after
413 inflate() will decompress and check either zlib-wrapped or gzip-wrapped
424 corrupted (input stream not conforming to the zlib format or incorrect check
531 not looking for a zlib or gzip header, not generating a check value, and not
537 the uncompressed data as is done in the zlib, gzip, and zip formats. For
538 most applications, the zlib format should be used as is. Note that comments
542 32 to windowBits to enable zlib and gzip decoding with automatic header
543 detection, or add 16 to decode only the gzip format (the zlib format will
550 any decompression apart from reading the zlib header if present: this will
589 /* Utility function: initialize zlib, unpack binary blob, clean up zlib,
/linux-4.1.27/arch/powerpc/boot/
H A Dgunzip_util.h13 #include "zlib.h"
28 * compressed stream and wind up zlib
H A Dgunzip_util.c30 * initializes zlib to decompress the data, storing the decompression
51 /* gzip data, initialize zlib parameters */ gunzip_start()
186 * gunzip_start(). zlib is then shut down, so it is an error to use
H A DMakefile63 zlib := inffast.c inflate.c inftrees.c macro
65 zliblinuxheader := zlib.h zconf.h zutil.h
67 $(addprefix $(obj)/,$(zlib) cuboot-c2k.o gunzip_util.o main.o): \
79 gunzip_util.c elf_util.c $(zlib) devtree.c stdlib.c \
137 $(addprefix $(obj)/,$(zlib)): $(obj)/%: $(srctree)/lib/zlib_inflate/%
162 clean-files := $(zlib) $(zlibheader) $(zliblinuxheader) \
/linux-4.1.27/fs/jffs2/
H A Dcompr_zlib.c20 #include <linux/zlib.h>
124 jffs2_dbg(1, "zlib compressed %ld bytes into %ld; failing\n", jffs2_zlib_compress()
130 jffs2_dbg(1, "zlib compressed %ld bytes into %ld\n", jffs2_zlib_compress()
159 we can tell zlib to skip the adler32 check. */ jffs2_zlib_decompress()
192 .name = "zlib",
H A Dsuper.c77 return "zlib"; jffs2_compr_name()
207 else if (!strcmp(name, "zlib")) jffs2_parse_options()
/linux-4.1.27/fs/squashfs/
H A Dzlib_wrapper.c28 #include <linux/zlib.h>
49 ERROR("Failed to allocate zlib workspace\n"); zlib_init()
132 .name = "zlib",
H A Ddecompressor.c64 NULL, NULL, NULL, NULL, ZLIB_COMPRESSION, "zlib", 0
/linux-4.1.27/tools/perf/util/
H A Dzlib.c5 #include <zlib.h>
/linux-4.1.27/crypto/
H A Dzlib.c18 * current zlib kernel code uses a worst case pre-allocation system by default.
27 #include <linux/zlib.h>
312 * Work around a bug in zlib, which sometimes wants to taste an zlib_decompress_final()
356 .cra_name = "zlib",
381 MODULE_ALIAS_CRYPTO("zlib");
H A Ddeflate.c16 * current zlib kernel code uses a worst case pre-allocation system by default.
30 #include <linux/zlib.h>
177 * Work around a bug in zlib, which sometimes wants to taste an extra deflate_decompress()
H A DMakefile83 obj-$(CONFIG_CRYPTO_ZLIB) += zlib.o
H A Dtcrypt.c72 "lzo", "cts", "zlib", NULL
1452 ret += tcrypt_test("zlib"); do_test()
H A Dtestmgr.c3587 .alg = "zlib",
H A Dtestmgr.h28 #include <linux/zlib.h>
/linux-4.1.27/fs/logfs/
H A Dcompr.c10 #include <linux/zlib.h>
H A Dlogfs_abi.h589 * COMPR_ZLIB - compressed with zlib
/linux-4.1.27/fs/cramfs/
H A Duncompress.c23 #include <linux/zlib.h>
H A Dinode.c11 * The actual compression is based on zlib, see the other files.
/linux-4.1.27/fs/isofs/
H A Dcompress.c23 #include <linux/zlib.h>
32 * This contains the zlib memory allocation and the mutex for the
80 /* Because zlib is not thread-safe, do all the I/O at the top. */ zisofs_uncompress_block()
90 * it before grabbing the zlib mutex; odds are that the subsequent zisofs_uncompress_block()
91 * blocks are going to come in in short order so we don't hold the zlib zisofs_uncompress_block()
/linux-4.1.27/fs/btrfs/
H A Dzlib.c18 * Based on jffs2 zlib code:
25 #include <linux/zlib.h>
241 we can tell zlib to skip the adler32 check. */ zlib_decompress_biovec()
331 we can tell zlib to skip the adler32 check. */ zlib_decompress()
394 * this should only happen if zlib returned fewer bytes than we zlib_decompress()
H A Dprops.c383 else if (!strncmp("zlib", value, len)) prop_compression_validate()
405 else if (!strncmp("zlib", value, len)) prop_compression_apply()
421 return "zlib"; prop_compression_extract()
H A Dordered-data.h59 #define BTRFS_ORDERED_COMPRESSED 3 /* writing a zlib compressed extent */
H A Dsuper.c477 strcmp(args[0].from, "zlib") == 0) { btrfs_parse_options()
478 compress_type = "zlib"; btrfs_parse_options()
1053 compress_type = "zlib"; btrfs_show_options()
H A Dctree.h1977 * for this defrag operation. If unspecified, zlib will
H A Dioctl.c328 comp = "zlib"; btrfs_ioctl_setflags()
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/linux/
H A Dlinux-crypto-adler.c123 .cra_driver_name = "adler32-zlib",
/linux-4.1.27/fs/ubifs/
H A Dcompress.c64 .name = "zlib",
70 .name = "zlib",
H A Dsuper.c1027 else if (!strcmp(name, "zlib")) ubifs_parse_options()
/linux-4.1.27/drivers/net/ppp/
H A Dppp_deflate.c2 * ppp_deflate.c - interface the zlib procedures for Deflate compression
21 #include <linux/zlib.h>
/linux-4.1.27/tools/perf/config/
H A DMakefile521 msg := $(warning No bfd.h/libbfd found, please install binutils-dev[el]/zlib-static/libiberty-dev to gain symbol demangling)
535 ifeq ($(feature-zlib), 1)
/linux-4.1.27/fs/pstore/
H A Dplatform.c31 #include <linux/zlib.h>
/linux-4.1.27/fs/
H A Dbinfmt_flat.c168 #include <linux/zlib.h>
276 DBG_FLT("binfmt_flat: zlib init failed?\n"); decompress_exec()
/linux-4.1.27/lib/xz/
H A Dxz_dec_stream.c716 * corrupt. Since zlib-style API allows that the caller fills the input buffer
/linux-4.1.27/arch/powerpc/kernel/
H A Dnvram_64.c31 #include <linux/zlib.h>
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_main.c55 #include <linux/zlib.h>

Completed in 1640 milliseconds