/linux-master/lib/xz/ |
H A D | xz_dec_stream.c | 41 /* Saved in_pos and out_pos */ 152 * Fill s->temp by copying data starting from b->in[b->in_pos]. Caller 160 b->in_size - b->in_pos, s->temp.size - s->temp.pos); 162 memcpy(s->temp.buf + s->temp.pos, b->in + b->in_pos, copy_size); 163 b->in_pos += copy_size; 176 size_t *in_pos, size_t in_size) 183 while (*in_pos < in_size) { 184 byte = in[*in_pos]; 185 ++*in_pos; 222 s->in_start = b->in_pos; 175 dec_vli(struct xz_dec *s, const uint8_t *in, size_t *in_pos, size_t in_size) argument [all...] |
H A D | xz_dec_lzma2.c | 110 size_t in_pos; member in struct:rc_dec 383 while (*left > 0 && b->in_pos < b->in_size 385 copy_size = min(b->in_size - b->in_pos, 401 memmove(dict->buf + dict->pos, b->in + b->in_pos, copy_size); 415 memmove(b->out + b->out_pos, b->in + b->in_pos, 422 b->in_pos += copy_size; 484 if (b->in_pos == b->in_size) 487 rc->code = (rc->code << 8) + b->in[b->in_pos++]; 497 return rc->in_pos > rc->in_limit; 514 rc->code = (rc->code << RC_SHIFT_BITS) + rc->in[rc->in_pos [all...] |
H A D | xz_dec_test.c | 75 buffers.in_pos = 0; 122 if (buffers.in_pos == buffers.in_size) { 123 buffers.in_pos = 0; 145 return size - remaining - (buffers.in_size - buffers.in_pos);
|
/linux-master/lib/ |
H A D | decompress_unzstd.c | 126 long out_len, long *in_pos, 155 if (in_pos != NULL) 156 *in_pos = in_len; 169 long *in_pos, 197 in_pos, error); 283 if (in_pos != NULL) 284 *in_pos = 0; 291 if (in_pos != NULL) 292 *in_pos += in.pos; 318 if (in_pos ! 125 decompress_single(const u8 *in_buf, long in_len, u8 *out_buf, long out_len, long *in_pos, void (*error)(char *x)) argument 165 __unzstd(unsigned char *in_buf, long in_len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long out_len, long *in_pos, void (*error)(char *x)) argument [all...] |
H A D | decompress_unxz.c | 294 b.in_pos = 0; 302 if (b.in_pos == b.in_size && fill != NULL) { 304 *in_used += b.in_pos; 306 b.in_pos = 0; 346 *in_used += b.in_pos;
|
/linux-master/init/ |
H A D | do_mounts_rd.c | 18 static loff_t in_pos, out_pos; variable 206 in_pos = rd_image_start * BLOCK_SIZE; 207 nblocks = identify_ramdisk_image(in_file, in_pos, &decompressor); 256 kernel_read(in_file, buf, BLOCK_SIZE, &in_pos); 291 long r = kernel_read(in_file, buf, len, &in_pos);
|
/linux-master/fs/squashfs/ |
H A D | xz_wrapper.c | 129 stream->buf.in_pos = 0; 142 if (stream->buf.in_pos == stream->buf.in_size) { 157 stream->buf.in_pos = 0;
|
/linux-master/include/linux/ |
H A D | xz.h | 123 * if in_pos is equal to in_size. 124 * @in_pos: Current position in the input buffer. This must not exceed 134 * the variables in_pos and out_pos are modified by the XZ code. 138 size_t in_pos; member in struct:xz_buf 205 * XZ_STREAM_END), b->in_pos and b->out_pos are not modified and the
|
/linux-master/fs/erofs/ |
H A D | decompressor_lzma.c | 192 strm->buf.in_pos = 0; 229 } else if (strm->buf.in_pos == strm->buf.in_size) { 237 strm->buf.in_pos = 0; 272 DBG_BUGON(strm->buf.in_pos > strm->buf.in_size);
|
/linux-master/sound/usb/caiaq/ |
H A D | audio.c | 212 int in_pos; local 216 in_pos = BYTES_PER_SAMPLE + 2; 219 in_pos = BYTES_PER_SAMPLE; 223 in_pos = 0; 227 cdev->period_in_count[index] = in_pos; 228 cdev->audio_in_buf_pos[index] = in_pos;
|
/linux-master/kernel/module/ |
H A D | decompress.c | 171 xz_buf.in_pos = 0;
|
/linux-master/drivers/pinctrl/renesas/ |
H A D | core.c | 201 unsigned int in_pos, 211 *posp = crp->reg_width - ((in_pos + 1) * crp->field_width); 213 *maskp = (1 << crp->var_field_width[in_pos]) - 1; 215 for (k = 0; k <= in_pos; k++) 199 sh_pfc_config_reg_helper(struct sh_pfc *pfc, const struct pinmux_cfg_reg *crp, unsigned int in_pos, void __iomem **mapped_regp, u32 *maskp, unsigned int *posp) argument
|
/linux-master/drivers/net/ethernet/mellanox/mlxfw/ |
H A D | mlxfw_mfa2.c | 440 dec_buf.in_pos = 0;
|
/linux-master/drivers/gpu/ipu-v3/ |
H A D | ipu-image-convert.c | 546 unsigned int in_pos; local 563 in_pos = (out_pos * resize_coeff) << downsize_coeff; 568 in_pos_aligned = round_closest(in_pos, 8192U * in_align); 581 diff = abs_diff(in_pos, in_pos_aligned);
|
/linux-master/drivers/base/firmware_loader/ |
H A D | main.c | 399 xz_buf.in_pos = 0; 427 xz_buf.in_pos = 0;
|