Lines Matching defs:in

11  * Important notes about in-place decompression
13 * At least on x86, the kernel is decompressed in place: the compressed data
21 * The worst case for in-place decompression is that the beginning of
26 * The structure of the .xz file in case of a compresed kernel is as follows.
27 * Sizes (as bytes) of the fields are in parenthesis.
39 * 2-4 Blocks just in case. Because Stream Header and also Block Header
50 * LZMA2 stores the data in chunks. Each chunk has a header whose size is
53 * may be up to 64 KiB of actual payload in the chunk. Often the payload is
58 * uncompressed size of the payload is in practice never less than the
61 * files. LZMA2 supports storing uncompressible data in uncompressed form,
91 * Thus, when updating Deflate-only in-place kernel decompressor to
117 * is not available in early phase of booting.
163 * FIXME: Not all basic memory functions are provided in architecture-specific
168 * is fast enough. memcpy/memmove speed matters in multi-call mode, but
169 * the kernel image is decompressed in single-call mode, in which only
171 * (LZMA2 stores uncompressible chunks in uncompressed form). Thus, the
203 /* Not static to avoid a conflict with the prototype in the Linux headers. */
240 /* Size of the input and output buffers in multi-call mode */
244 * This function implements the API defined in <linux/decompress/generic.h>.
251 STATIC int INIT unxz(unsigned char *in, int in_size,
287 if (in == NULL) {
289 in = malloc(XZ_IOBUF_SIZE);
290 if (in == NULL)
294 b.in = in;
309 in_size = fill(in, XZ_IOBUF_SIZE);
340 free(in);
356 /* This can occur only in multi-call mode. */
361 error("Input is not in the XZ format (wrong magic bytes)");
375 error("Bug in the XZ decompressor");