/linux/Documentation/admin-guide/mm/ |
H A D | zswap.rst | 8 Zswap is a lightweight compressed cache for swap pages. It takes pages that are 12 significant performance improvement if reads from the compressed cache are 26 Zswap evicts pages from compressed cache on an LRU basis to the backing swap 27 device when the compressed pool reaches its size limit. This requirement had 42 back into memory all of the pages stored in the compressed pool. The 43 pages stored in zswap will remain in the compressed pool until they are 45 pages out of the compressed pool, a swapoff on the swap device(s) will 47 compressed pool. 53 evict pages from its own compressed pool on an LRU basis and write them back to 54 the backing swap device in the case that the compressed pool is full. [all …]
|
/linux/drivers/md/dm-vdo/ |
H A D | packer.h | 22 /* The header of a compressed block. */ 27 /* List of unsigned 16-bit compressed block sizes, little-endian */ 35 * A compressed block is only written if we can pack at least two fragments into it, so a 36 * fragment which fills the entire data portion of a compressed block is too big. 41 /* * The compressed block overlay. */ 48 * Each packer_bin holds an incomplete batch of data_vios that only partially fill a compressed 50 * enough space to hold a newly-compressed data_vio can easily be found. When the bin fills up or 52 * Upon entering the packer, each data_vio already has its compressed data in the first slot of the 55 * the agent's compressed block. The agent then writes out the compressed block. If the write is 56 * successful, the agent shares its pbn lock which each of the other data_vios in its compressed [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | pixfmt-reserved.rst | 45 - Compressed format of the ET61X251 driver. 81 - Compressed GBRG Bayer format used by the gspca driver. 86 - Compressed BGGR Bayer format used by the gspca driver. 91 - Compressed BGGR Bayer format used by the gspca driver. 96 - JPEG compressed RGGB Bayer format used by the gspca driver. 116 - Compressed RGB format used by the gspca se401 driver 121 - Compressed RGGB bayer format used by the gspca driver. 126 - Compressed format used by the Zoran driver 131 - Compressed format of the PWC driver. 136 - Compressed format of the PWC driver. [all …]
|
H A D | fourcc.rst | 19 - b: raw bayer, DPCM compressed 20 - a: A-law compressed 21 - u: u-law compressed 32 4th character: compressed bits-per-pixel 0--9, A--
|
H A D | pixfmt-compressed.rst | 4 Compressed Formats 18 .. flat-table:: Compressed Image Formats 155 - VP8 compressed video frame. The encoder generates one 156 compressed frame per buffer, and the decoder requires one 157 compressed frame per buffer. 177 - VP9 compressed video frame. The encoder generates one 178 compressed frame per buffer, and the decoder requires one 179 compressed frame per buffer.
|
/linux/fs/squashfs/ |
H A D | Kconfig | 6 Saying Y here includes support for SquashFS 4.0 (a Compressed 7 Read-Only File System). Squashfs is a highly compressed read-only 153 bool "Enable full caching of compressed blocks" 157 This option enables caching of all compressed blocks, Without caching, 166 caching all compressed blocks in the page cache, reducing disk I/O for 174 bool "Include support for ZLIB compressed file systems" 187 bool "Include support for LZ4 compressed file systems" 192 compressed with LZ4 compression. LZ4 compression is mainly 202 bool "Include support for LZO compressed file systems" 207 compressed with LZO compression. LZO compression is mainly [all …]
|
H A D | fragment.c | 3 * Squashfs - a compressed read only filesystem for Linux 12 * This file implements code to handle compressed fragments (tail-end packed 16 * location on disk and compressed size using a fragment lookup table. 18 * compressed into metadata blocks. A second index table is used to locate 33 * location of the fragment and its compressed size
|
/linux/Documentation/networking/ |
H A D | ipsec.rst | 12 Small IP packet won't get compressed at sender, and failed on 19 If the total size of a compressed payload and the IPComp header, as 21 payload, the IP datagram MUST be sent in the original non-compressed 22 form. To clarify: If an IP datagram is sent non-compressed, no 36 when sending non-compressed packet to the peer (whether or not packet len 37 is smaller than the threshold or the compressed len is larger than original
|
/linux/lib/xz/ |
H A D | xz_dec_stream.c | 62 * Value stored in the Compressed Size field, or 63 * VLI_UNKNOWN if Compressed Size is not present. 65 vli_type compressed; member 79 /* Observed compressed size of the current Block */ 80 vli_type compressed; member 206 * Decode the Compressed Data field from a Block. Update and validate 207 * the observed compressed and uncompressed sizes of the Block so that 231 s->block.compressed += b->in_pos - s->in_start; in dec_block() 238 if (s->block.compressed > s->block_header.compressed in dec_block() 248 if (s->block_header.compressed != VLI_UNKNOWN in dec_block() [all …]
|
H A D | xz_dec_lzma2.c | 227 /* Next position after decoding the compressed size of the chunk. */ 234 * Compressed size of LZMA chunk or compressed/uncompressed 237 uint32_t compressed; member 884 if (s->temp.size > 0 || s->lzma2.compressed == 0) { in lzma2_lzma() 886 if (tmp > s->lzma2.compressed - s->temp.size) in lzma2_lzma() 887 tmp = s->lzma2.compressed - s->temp.size; in lzma2_lzma() 893 if (s->temp.size + tmp == s->lzma2.compressed) { in lzma2_lzma() 912 s->lzma2.compressed -= s->rc.in_pos; in lzma2_lzma() 930 if (in_avail >= s->lzma2.compressed + LZMA_IN_REQUIRED) in lzma2_lzma() 931 s->rc.in_limit = b->in_pos + s->lzma2.compressed; in lzma2_lzma() [all …]
|
/linux/fs/btrfs/ |
H A D | lzo.c | 27 * Regular and inlined LZO compressed data extents consist of: 31 * Records the total size (including the header) of compressed data. 36 * One regular LZO compressed extent can have one or more segments. 37 * For inlined LZO compressed extent, only one segment is allowed. 64 void *cbuf; /* where compressed data goes */ 129 * - Copy the compressed buffer into the destination 173 /* Copy compressed data */ in copy_compressed_data_to_page() 243 * compressed size in lzo_compress_folios() 298 /* Store the size of all chunks of compressed data */ in lzo_compress_folios() 314 * Copy the compressed segment payload into @dest. [all …]
|
/linux/Documentation/sound/designs/ |
H A D | compress-offload.rst | 15 extend the existing API to compressed data streams. 19 codecs. Processing compressed data on such DSPs results in a dramatic 26 ALSA PCM interface, a new 'Compressed Data' API is introduced to 39 - separation between byte counts and time. Compressed formats may have 43 compressed data. Dedicated mechanisms are required to allow for 49 contrast, compressed data comes in a variety of formats. Audio DSPs 68 streaming compressed data to a DSP, with the assumption that the 72 have existing enums/structures for each compressed format. This new 94 The Compressed Data API does not make any assumptions on how the data 157 The compressed audio stream state machine is described below :: [all …]
|
/linux/drivers/base/firmware_loader/ |
H A D | Kconfig | 84 NOTE: Compressed files are not supported in EXTRA_FIRMWARE. 183 bool "Enable compressed firmware support" 185 This option enables the support for loading compressed firmware 187 content. The compressed file is loaded as a fallback, only after 190 Compressed firmware support does not apply to firmware images 195 bool "Enable XZ-compressed firmware support" 200 This option adds the support for XZ-compressed files. 201 The files have to be compressed with either none or crc32 205 bool "Enable ZSTD-compressed firmware support" 208 This option adds the support for ZSTD-compressed files.
|
/linux/usr/ |
H A D | Kconfig | 56 bool "Support initial ramdisk/ramfs compressed using gzip" 64 bool "Support initial ramdisk/ramfs compressed using bzip2" 72 bool "Support initial ramdisk/ramfs compressed using LZMA" 80 bool "Support initial ramdisk/ramfs compressed using XZ" 88 bool "Support initial ramdisk/ramfs compressed using LZO" 96 bool "Support initial ramdisk/ramfs compressed using LZ4" 104 bool "Support initial ramdisk/ramfs compressed using ZSTD" 116 initramfs will be compressed. Several compression algorithms are 223 compressed at a later stage anyways along with the rest of the kernel,
|
/linux/fs/erofs/ |
H A D | Kconfig | 29 page cache for compressed data using proper strategies, which is 113 bool "EROFS LZMA compressed data support" 117 containing LZMA compressed data, specifically called microLZMA. It 124 bool "EROFS DEFLATE compressed data support" 128 containing DEFLATE compressed data. It gives better compression 138 bool "EROFS Zstandard compressed data support" 142 containing Zstandard compressed data. It gives better compression 156 EROFS file systems containing compressed data. It gives better
|
/linux/fs/jffs2/ |
H A D | compr.c | 63 * @cpage_out: Pointer to returned pointer to buffer for compressed data 65 * On exit, expected to hold the amount of data actually compressed. 66 * @cdatalen: On entry, holds the amount of space available for compressed 67 * data. On exit, expected to hold the actual size of the compressed 71 * could not be compressed; probably because we couldn't find the requested 132 * @cpage_out: Pointer to returned pointer to buffer for compressed data 134 * On exit, expected to hold the amount of data actually compressed. 135 * @cdatalen: On entry, holds the amount of space available for compressed 136 * data. On exit, expected to hold the actual size of the compressed 140 * Zero is used to show that the data could not be compressed - the [all …]
|
/linux/arch/parisc/boot/ |
H A D | Makefile | 8 subdir- := compressed 13 $(obj)/bzImage: $(if $(CONFIG_KERNEL_UNCOMPRESSED),$(objtree)/vmlinux,$(obj)/compressed/vmlinux) FO… 16 $(obj)/compressed/vmlinux: FORCE 17 $(Q)$(MAKE) $(build)=$(obj)/compressed $@
|
/linux/drivers/media/test-drivers/vicodec/ |
H A D | codec-fwht.h | 15 * The compressed format consists of a fwht_cframe_hdr struct followed by the 16 * compressed frame data. The header contains the size of that data. 17 * Each Y, Cb and Cr plane is compressed separately. If the compressed 22 * Each compressed plane consists of macroblocks and each macroblock 39 * guaranteed not to occur in the compressed frame data. This header
|
/linux/include/uapi/linux/ |
H A D | ppp_defs.h | 42 #define PPP_VJC_COMP 0x2d /* VJ compressed TCP */ 46 #define PPP_COMPFRAG 0xfb /* fragment compressed below bundle */ 47 #define PPP_COMP 0xfd /* compressed packet */ 108 __u32 vjs_compressed; /* outbound compressed packets */ 112 __u32 vjs_compressedin; /* inbound compressed packets */ 120 __u32 comp_bytes; /* compressed bytes */ 121 __u32 comp_packets; /* compressed packets */
|
/linux/arch/mips/ |
H A D | Kconfig.debug | 83 bool "Enable compressed kernel support debugging" 87 If you want to add compressed kernel support to a new board, and the 95 arch/mips/boot/compressed/uart-16550.c does. 97 After the compressed kernel support works, please disable this option 102 int "UART to use for compressed kernel debugging" 107 Specify the UART that should be used for compressed kernel debugging.
|
/linux/tools/perf/tests/shell/ |
H A D | record+zstd_comp_decomp.sh | 14 echo "Collecting compressed record file:" 21 echo "Checking compressed events stats:" 23 grep -E "(# compressed : Zstd,)|(COMPRESSED events:)"
|
/linux/lib/ |
H A D | decompress_unzstd.c | 6 * At least on x86, the kernel is decompressed in place: the compressed data 8 * most of the compressed data. There must be enough safety margin to 15 * the file is compressed extremely well, and the rest of the file is 19 * The structure of the .zst file in case of a compressed kernel is as follows. 111 error("ZSTD-compressed data is corrupt"); in handle_zstd_error() 114 error("ZSTD-compressed data is probably corrupt"); in handle_zstd_error() 218 error("ZSTD-compressed data is truncated"); in __unzstd() 254 error("ZSTD-compressed data has an incomplete frame header"); in __unzstd() 259 error("ZSTD-compressed data has too large a window size"); in __unzstd() 295 error("ZSTD-compressed data is truncated"); in __unzstd()
|
/linux/arch/x86/boot/ |
H A D | header.S | 405 # a gzip-compressed kernel as example, to illustrate it: 407 # The file layout of gzip compressed kernel is: 415 # compressed data blocks[N] 443 # compressed data is placed at the end of the buffer. The output pointer 445 # where the compressed data starts. Problems will occur when the output 450 # triggered by data whose compressed form is larger than the uncompressed 453 # The worst case at the block level is a growth of the compressed data 456 # The worst case internal to a compressed block is very hard to figure. 466 # block will stop the byte before the compressed data for a block begins. 467 # To avoid problems with the compressed data's meta information an extra 18 [all …]
|
/linux/scripts/package/ |
H A D | buildtar | 70 if [ -f "${objtree}/arch/mips/boot/compressed/vmlinux.bin" ]; then 71 …cp -v -- "${objtree}/arch/mips/boot/compressed/vmlinux.bin" "${tmpdir}/boot/vmlinuz-${KERNELRELEAS… 72 elif [ -f "${objtree}/arch/mips/boot/compressed/vmlinux.ecoff" ]; then 73 …cp -v -- "${objtree}/arch/mips/boot/compressed/vmlinux.ecoff" "${tmpdir}/boot/vmlinuz-${KERNELRELE… 74 elif [ -f "${objtree}/arch/mips/boot/compressed/vmlinux.srec" ]; then 75 …cp -v -- "${objtree}/arch/mips/boot/compressed/vmlinux.srec" "${tmpdir}/boot/vmlinuz-${KERNELRELEA…
|
/linux/include/linux/ |
H A D | zstd.h | 30 * zstd_compress_bound() - maximum compressed size in worst case scenario 33 * Return: The maximum compressed size in the worst case scenario. 238 * Return: The compressed size or an error, which can be checked using 302 * Return: The compressed size or an error, which can be checked using 333 * zstd_decompress_dctx() - decompress zstd compressed src into dst 339 * @src: The zstd compressed data to decompress. Multiple concatenated 401 * @src: The zstd compressed data to decompress. Multiple concatenated 498 * compressed data was written. 518 * compressed data was written. 533 * compressed data was written. [all …]
|