| /linux/net/6lowpan/ | 
| H A D | Kconfig | 18 	tristate "Next Header and Generic Header Compression Support"22 	  Support for next header and generic header compression defined in
 31 	  6LoWPAN IPv6 Destination Options Header compression according to
 38 	  6LoWPAN IPv6 Fragment Header compression according to RFC6282.
 44 	  6LoWPAN IPv6 Hop-by-Hop Options Header compression according to
 51 	  6LoWPAN IPv6 Header compression according to RFC6282.
 57 	  6LoWPAN IPv6 Mobility Header compression according to RFC6282.
 63 	  6LoWPAN IPv6 Routing Header compression according to RFC6282.
 69 	  6LoWPAN IPv6 UDP Header compression according to RFC6282.
 74 	  6LoWPAN IPv6 Hop-by-Hop option generic header compression according
 [all …]
 
 | 
| H A D | nhc.h | 16  * @_name: const char * of common header compression name.17  * @_nexthdr: ipv6 nexthdr field for the header compression.
 22  * @_compress: callback for compression call.
 50  * struct lowpan_nhc - hold 6lowpan next hdr compression ifnformation
 52  * @name: name of the specific next header compression
 57  * @compress: callback to do the header compression.
 79  * lowpan_nhc_check_compression - checks if we support compression format. If
 115  * lowpan_nhc_add - register a next header compression to framework
 122  * lowpan_nhc_del - delete a next header compression from framework
 
 | 
| H A D | nhc_udp.c | 3  *	6LoWPAN IPv6 UDP compression according to RFC628223 /* values for port compression, _with checksum_ ie bit 5 set to 0 */
 124 		pr_debug("UDP header: both ports compression to 4 bits\n");  in udp_compress()
 125 		/* compression value */  in udp_compress()
 135 		/* compression value */  in udp_compress()
 146 		/* compression value */  in udp_compress()
 156 		/* compression value */  in udp_compress()
 175 MODULE_DESCRIPTION("6LoWPAN next header RFC6282 UDP compression");
 
 | 
| /linux/include/linux/ | 
| H A D | zstd.h | 67  * zstd_min_clevel() - minimum allowed compression level69  * Return: The minimum allowed compression level.
 74  * zstd_max_clevel() - maximum allowed compression level
 76  * Return: The maximum allowed compression level.
 81  * zstd_default_clevel() - default compression level
 83  * Return: Default compression level.
 107  * enum zstd_strategy - zstd compression search strategy
 114  * struct zstd_compression_parameters - zstd compression parameters
 116  *                compression, and more memory needed during decompression.
 117  * @chainLog:     Fully searched segment. Larger means more compression,
 [all …]
 
 | 
| H A D | zlib.h | 1 /* zlib.h -- interface of the 'zlib' general purpose compression library53      The 'zlib' compression library provides in-memory compression and
 55   data.  This version of the library supports only one compression method
 59      Compression can be done in a single step if the buffers are large
 61   repeated calls of the compression function.  In the latter case, the
 74   file compression on file systems, has a larger header than zlib to maintain
 110    compression library and must not be updated by the application.
 114    memory management. The compression library attaches no meaning to the
 128    compression ratio, compile the library with -DMAX_WBITS=14 (see zconf.h).
 131    progress reports. After compression, total_in holds the total size of
 [all …]
 
 | 
| H A D | zstd_lib.h | 60   zstd, short for Zstandard, is a fast lossless compression algorithm, targeting61   real-time compression scenarios at zlib-level and better compression ratios.
 62   The zstd compression library provides in-memory compression and decompression
 65   The library supports regular compression levels from 1 up to ZSTD_maxCLevel(),
 68   compression levels, which extend the range of speed vs. ratio preferences.
 69   The lower the level, the faster the speed (at the cost of compression).
 71   Compression can be done in:
 74     - unbounded multiple steps (described as Streaming compression)
 76   The compression ratio achievable on small data can be highly improved using
 77   a dictionary. Dictionary compression can be performed in:
 [all …]
 
 | 
| H A D | ppp-comp.h | 3  * ppp-comp.h - Definitions for doing PPP packet compression.17  * various compression methods.
 30  * Structure giving methods for compression/decompression.
 34 	int	compress_proto;	/* CCP compression protocol number */
 53 	/* Return compression statistics */
 
 | 
| /linux/fs/squashfs/ | 
| H A D | Kconfig | 8 	  filesystem for Linux.  It uses zlib, lz4, lzo, xz or zstd compression91 	  If in doubt, select "Single threaded compression"
 94 	bool "Single threaded compression"
 179 	  ZLIB compression is the standard compression used by Squashfs
 180 	  file systems.  It offers a good trade-off between compression
 192 	  compressed with LZ4 compression.  LZ4 compression is mainly
 196 	  LZ4 is not the standard compression used in Squashfs and so most
 207 	  compressed with LZO compression.  LZO compression is mainly
 211 	  LZO is not the standard compression used in Squashfs and so most
 222 	  compressed with XZ compression.  XZ gives better compression than
 [all …]
 
 | 
| /linux/usr/ | 
| H A D | Kconfig | 112 	prompt "Built-in initramfs compression mode"116 	  initramfs will be compressed.  Several compression algorithms are
 117 	  available, which differ in efficiency, compression and
 118 	  decompression speed.  Compression speed is only relevant
 125 	  High compression options are mostly useful for users who are
 130 	  compression tool to compress the generated initram cpio file for
 139 	  Use the old and well tested gzip compression algorithm. Gzip provides
 140 	  a good balance between compression ratio and decompression speed and
 141 	  has a reasonable compression speed. It is also more likely to be
 149 	  It's compression ratio and speed is intermediate. Decompression speed
 [all …]
 
 | 
| /linux/fs/jffs2/ | 
| H A D | Kconfig | 9 	  levelling, compression and support for hard links. You cannot use101 	bool "Advanced compression options for JFFS2"
 106 	  compression modules, if any, are enabled in JFFS2. Removing
 114 	bool "JFFS2 ZLIB compression support" if JFFS2_COMPRESSION_OPTIONS
 121 	  lossless data-compression library for use on virtually any computer
 128 	bool "JFFS2 LZO compression support" if JFFS2_COMPRESSION_OPTIONS
 134 	  minilzo-based compression. Generally works better than Zlib.
 140 	bool "JFFS2 RTIME compression support" if JFFS2_COMPRESSION_OPTIONS
 147 	bool "JFFS2 RUBIN compression support" if JFFS2_COMPRESSION_OPTIONS
 154 	prompt "JFFS2 default compression mode"
 [all …]
 
 | 
| H A D | compr.c | 24 /* Actual compression mode */27 /* Statistics for blocks stored without compression */
 32  * Return 1 to use this compression
 60  * @compr: Explicit compression type to use (ie, JFFS2_COMPR_ZLIB).
 61  *	If 0, just take the first available compression mode.
 64  * @datalen: On entry, holds the amount of data available for compression.
 70  * Returns: the compression type used.  Zero is used to show that the data
 72  * compression mode.
 84 		pr_warn("No memory for compressor allocation. Compression failed.\n");  in jffs2_selected_compress()
 95 		/* Skip if not the desired compression type */  in jffs2_selected_compress()
 [all …]
 
 | 
| /linux/Documentation/admin-guide/blockdev/ | 
| H A D | zram.rst | 10 in memory itself. These disks allow very fast I/O and compression provides76 2) Select compression algorithm
 80 currently selected (shown in square brackets) compression algorithms,
 81 or change the selected compression algorithm (once the device is initialised
 82 there is no way to change compression algorithm).
 86 	#show supported compression algorithms
 90 	#select lzo compression algorithm
 93 For the time being, the `comp_algorithm` content shows only compression
 96 3) Set compression algorithm parameters: Optional
 99 Compression algorithms may support specific parameters which can be
 [all …]
 
 | 
| /linux/drivers/media/usb/pwc/ | 
| H A D | pwc-ctrl.c | 71 /* Entries for the Nala (645/646) camera; the Nala doesn't have compression142 			       int frames, int *compression, int send_to_cam)  in set_video_mode_Nala()  argument
 197 		if (pdev->release < 5) { /* 4 fold compression */  in set_video_mode_Nala()
 209 	/* Let pwc-if.c:isoc_init know we don't support higher compression */  in set_video_mode_Nala()
 210 	*compression = 3;  in set_video_mode_Nala()
 217 				int frames, int *compression, int send_to_cam)  in set_video_mode_Timon()  argument
 222 	if (size >= PSZ_MAX || *compression < 0 || *compression > 3)  in set_video_mode_Timon()
 232 	/* Find a supported framerate with progressively higher compression */  in set_video_mode_Timon()
 234 		pChoose = &Timon_table[size][fps][*compression];  in set_video_mode_Timon()
 237 		(*compression)++;  in set_video_mode_Timon()
 [all …]
 
 | 
| /linux/drivers/crypto/nx/ | 
| H A D | Kconfig | 16 	tristate "Compression acceleration support"21 	  Support for PowerPC Nest (NX) compression acceleration. This
 30 	tristate "Compression acceleration support on pSeries platform"
 35 	  Support for PowerPC Nest (NX) compression acceleration. This
 41 	tristate "Compression acceleration support on PowerNV platform"
 46 	  Support for PowerPC Nest (NX) compression acceleration. This
 
 | 
| /linux/fs/f2fs/ | 
| H A D | Kconfig | 96 	bool "F2FS compression feature"99 	  Enable filesystem-level compression on f2fs regular files,
 100 	  multiple back-end compression algorithms are supported.
 103 	bool "LZO compression support"
 110 	bool "LZO-RLE compression support"
 117 	bool "LZ4 compression support"
 124 	bool "LZ4HC compression support"
 132 	bool "ZSTD compression support"
 
 | 
| /linux/Documentation/networking/ | 
| H A D | fib_trie.rst | 16 	indexed	through a subset of the key. See Level Compression.22 	child array - the "child index". See Level Compression.
 26 	the child array. See Path Compression.
 28 Path Compression / skipped bits
 34 	deviations. These "skipped bits" constitute Path Compression.
 39 Level Compression / child arrays
 73 	level compression algorithm on part of the trie.
 76 	Looks up a key, deletes it and runs the level compression algorithm.
 82 	to implement level compression.
 87 	level compression. This part follows the original paper pretty closely
 
 | 
| /linux/Documentation/userspace-api/media/drivers/ | 
| H A D | aspeed-video.rst | 9 video compressions with a wide range of video quality and compression ratio14 * JPEG JFIF standard mode: for single frame and management compression
 15 * ASPEED proprietary mode: for multi-frame and differential compression.
 16   Support 2-pass (high quality) video compression scheme (Patent pending by
 17   ASPEED). Provide visually lossless video compression quality or to reduce
 48     that can be used to decide compression quality if High quality mode enabled
 
 | 
| /linux/arch/powerpc/boot/ | 
| H A D | wrapper | 24 # -Z zsuffix    compression to use (gz, xz or none)47 compression=.gz
 72     echo '       [-Z (gz|xz|none)] [--no-compression] [vmlinux]' >&2
 145 	compression=.gz
 153 	compression=".$1"
 156         if [ $compression = ".none" ]; then
 157                 compression=
 167         compression=
 289     compression=
 320     compression=
 [all …]
 
 | 
| /linux/Documentation/admin-guide/media/ | 
| H A D | philips.rst | 95 compression (only useful with the plugin)96    With this option you can control the compression factor that the camera
 102 	 compression.
 103      1 = low compression.
 104      2 = medium compression.
 105      3 = high compression.
 107    High compression takes less bandwidth of course, but it could also
 108    introduce some unwanted artefacts. The default is 2, medium compression.
 110    compression.
 112    The compression parameter does not apply to the 645 and 646 cameras
 [all …]
 
 | 
| /linux/fs/erofs/ | 
| H A D | Kconfig | 26 	  It also provides transparent compression and deduplication support to27 	  improve storage density and maintain relatively high compression
 104 	bool "EROFS Data Compression Support"
 108 	  Enable transparent compression support for EROFS file systems.
 110 	  If you don't want to enable compression feature, say N.
 118 	  gives better compression ratios than the default LZ4 format, at the
 128 	  containing DEFLATE compressed data.  It gives better compression
 142 	  containing Zstandard compressed data.  It gives better compression
 
 | 
| /linux/fs/smb/client/ | 
| H A D | compress.h | 7  * This file implements I/O compression support for SMB2 messages (SMB 3.1.1 only).11  * MS-SMB2 "3.1.4.4 Compressing the Message" - for compression details
 41  * - compression was successfully negotiated with server
 42  * - server has enabled compression for the share
 52  * smb_compress_alg_valid() - Validate a compression algorithm.
 53  * @alg: Compression algorithm to check.
 
 | 
| /linux/Documentation/staging/ | 
| H A D | xz.rst | 4 XZ data compression in Linux10 XZ is a general purpose data compression format with high compression
 19 For userspace, `XZ Utils`_ provide a zlib-like compression library
 50 Notes on compression options
 81   For the best compression, the dictionary should be at least
 85 The compression presets in XZ Utils may not be optimal when creating
 
 | 
| /linux/drivers/crypto/intel/iaa/ | 
| H A D | Kconfig | 2 	tristate "Support for Intel(R) IAA Compression Accelerator"7 	  This driver supports acceleration for compression and
 13 	bool "Enable Intel(R) IAA Compression Accelerator Statistics"
 17 	  Enable statistics for the IAA compression accelerator.
 
 | 
| /linux/fs/ubifs/ | 
| H A D | Kconfig | 23 	bool "Advanced compression options"32 	bool "LZO compression support" if UBIFS_FS_ADVANCED_COMPR
 39 	bool "ZLIB compression support" if UBIFS_FS_ADVANCED_COMPR
 45 	bool "ZSTD compression support" if UBIFS_FS_ADVANCED_COMPR
 50 	  in compression ratio over LZO. Say 'Y' if unsure.
 
 | 
| /linux/fs/pstore/ | 
| H A D | platform.c | 77  * pstore no longer implements compression via the crypto API, and only78  * supports zlib deflate compression implemented using the zlib library
 82  * size, and compresses ASCII text comparatively well. In terms of compression
 92 MODULE_PARM_DESC(compress, "compression to use");
 102  * Compression is only used for dmesg output, which consists of low-entropy
 209 	/* Skip if not built-in or compression disabled. */  in allocate_buf_for_compression()
 217 		pr_err("Unsupported compression '%s', falling back to deflate\n",  in allocate_buf_for_compression()
 223 	 * The compression buffer only needs to be as large as the maximum  in allocate_buf_for_compression()
 225 	 * compression is just stored uncompressed.  in allocate_buf_for_compression()
 230 		pr_err("Failed %zu byte compression buffer allocation for: %s\n",  in allocate_buf_for_compression()
 [all …]
 
 |