Home
last modified time | relevance | path

Searched full:compressed (Results 1 – 25 of 574) sorted by relevance

12345678910>>...23

/linux/Documentation/admin-guide/mm/
H A Dzswap.rst8 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 Dpacker.h22 /* 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 …]
H A Dpacker.c36 * vdo_get_compressed_block_fragment() - Get a reference to a compressed fragment from a compressed
39 * @block: The compressed block that was read from disk.
40 * @fragment_offset: The offset of the fragment within the compressed block.
43 * Return: If a valid compressed fragment is found, VDO_SUCCESS; otherwise, VDO_INVALID_FRAGMENT if
251 * release_compressed_write_waiter() - Update a data_vio for which a successful compressed write
254 * @allocation: The allocation to which the compressed block was written.
270 * finish_compressed_write() - Finish a compressed block write.
271 * @completion: The compressed write completion.
305 "Completing compressed write vio for physical block %llu with error", in handle_compressed_write_error()
358 * initialize_compressed_block() - Initialize a compressed block.
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Dpixfmt-reserved.rst46 - Compressed format of the ET61X251 driver.
82 - Compressed GBRG Bayer format used by the gspca driver.
87 - Compressed BGGR Bayer format used by the gspca driver.
92 - Compressed BGGR Bayer format used by the gspca driver.
97 - JPEG compressed RGGB Bayer format used by the gspca driver.
117 - Compressed RGB format used by the gspca se401 driver
122 - Compressed RGGB bayer format used by the gspca driver.
127 - Compressed format used by the Zoran driver
132 - Compressed format of the PWC driver.
137 - Compressed format of the PWC driver.
[all …]
H A Dfourcc.rst20 - b: raw bayer, DPCM compressed
21 - a: A-law compressed
22 - u: u-law compressed
33 4th character: compressed bits-per-pixel 0--9, A--
/linux/fs/squashfs/
H A DKconfig6 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 Dfragment.c3 * 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/fs/btrfs/
H A Dlzo.c27 * 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 */
171 * Copy compressed data to bio.
173 * @out_bio: The bio that will contain all the compressed data.
174 * @compressed_data: The compressed data of this segment.
175 * @compressed_size: The size of the compressed data.
179 * @max_out: The maximum size of the compressed data.
[all …]
/linux/Documentation/networking/
H A Dipsec.rst12 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 Dxz_dec_stream.c62 * 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 Dxz_dec_lzma2.c227 /* 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/Documentation/sound/designs/
H A Dcompress-offload.rst15 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 DKconfig84 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 DKconfig56 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/jffs2/
H A Dcompr.c63 * @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 DMakefile8 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 Dcodec-fwht.h15 * 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 Dppp_defs.h42 #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 DKconfig.debug83 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/arch/x86/boot/
H A Dheader.S405 # 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/lib/
H A Ddecompress_unzstd.c6 * 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()
H A Ddecompress_unxz.c4 * Wrapper for decompressing XZ-compressed kernel, initramfs, and initrd
12 * At least on x86, the kernel is decompressed in place: the compressed data
14 * most of the compressed data. There must be enough safety margin to
21 * the file is compressed extremely well, and the rest of the file is
25 * The structure of the .xz file in case of a compressed kernel is as follows.
31 * Compressed Data (N)
45 * Compressed Data contains LZMA2 or BCJ+LZMA2 encoded data. Since BCJ
62 * smaller than the compressed size.
85 * For comparison, according to arch/x86/boot/compressed/misc.c, the
378 error("XZ-compressed data is corrupt"); in unxz()
/linux/tools/perf/tests/shell/
H A Drecord+zstd_comp_decomp.sh14 echo "Collecting compressed record file:"
21 echo "Checking compressed events stats:"
23 grep -E "(# compressed : Zstd,)|(COMPRESSED events:)"
/linux/scripts/package/
H A Dbuildtar70 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 Dzstd.h30 * 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 …]

12345678910>>...23