Home
last modified time | relevance | path

Searched refs:in_pos (Results 1 – 15 of 15) sorted by relevance

/linux-6.12.1/lib/xz/
Dxz_dec_stream.c159 b->in_size - b->in_pos, s->temp.size - s->temp.pos); in fill_temp()
161 memcpy(s->temp.buf + s->temp.pos, b->in + b->in_pos, copy_size); in fill_temp()
162 b->in_pos += copy_size; in fill_temp()
175 size_t *in_pos, size_t in_size) in dec_vli() argument
182 while (*in_pos < in_size) { in dec_vli()
183 byte = in[*in_pos]; in dec_vli()
184 ++*in_pos; in dec_vli()
221 s->in_start = b->in_pos; in dec_block()
231 s->block.compressed += b->in_pos - s->in_start; in dec_block()
282 size_t in_used = b->in_pos - s->in_start; in index_update()
[all …]
Dxz_dec_lzma2.c109 size_t in_pos; member
382 while (*left > 0 && b->in_pos < b->in_size in dict_uncompressed()
384 copy_size = min(b->in_size - b->in_pos, in dict_uncompressed()
400 memmove(dict->buf + dict->pos, b->in + b->in_pos, copy_size); in dict_uncompressed()
414 memmove(b->out + b->out_pos, b->in + b->in_pos, in dict_uncompressed()
421 b->in_pos += copy_size; in dict_uncompressed()
483 if (b->in_pos == b->in_size) in rc_read_init()
486 rc->code = (rc->code << 8) + b->in[b->in_pos++]; in rc_read_init()
496 return rc->in_pos > rc->in_limit; in rc_limit_exceeded()
513 rc->code = (rc->code << RC_SHIFT_BITS) + rc->in[rc->in_pos++]; in rc_normalize()
[all …]
Dxz_dec_test.c74 buffers.in_pos = 0; in xz_dec_test_open()
121 if (buffers.in_pos == buffers.in_size) { in xz_dec_test_write()
122 buffers.in_pos = 0; in xz_dec_test_write()
144 return size - remaining - (buffers.in_size - buffers.in_pos); in xz_dec_test_write()
/linux-6.12.1/lib/
Ddecompress_unzstd.c126 long out_len, long *in_pos, in decompress_single() argument
155 if (in_pos != NULL) in decompress_single()
156 *in_pos = in_len; in decompress_single()
169 long *in_pos, in __unzstd() argument
197 in_pos, error); in __unzstd()
283 if (in_pos != NULL) in __unzstd()
284 *in_pos = 0; in __unzstd()
291 if (in_pos != NULL) in __unzstd()
292 *in_pos += in.pos; in __unzstd()
318 if (in_pos != NULL) in __unzstd()
[all …]
Ddecompress_unxz.c302 b.in_pos = 0; in unxz()
310 if (b.in_pos == b.in_size && fill != NULL) { in unxz()
312 *in_used += b.in_pos; in unxz()
314 b.in_pos = 0; in unxz()
354 *in_used += b.in_pos; in unxz()
/linux-6.12.1/init/
Ddo_mounts_rd.c18 static loff_t in_pos, out_pos; variable
206 in_pos = rd_image_start * BLOCK_SIZE; in rd_load_image()
207 nblocks = identify_ramdisk_image(in_file, in_pos, &decompressor); in rd_load_image()
256 kernel_read(in_file, buf, BLOCK_SIZE, &in_pos); in rd_load_image()
291 long r = kernel_read(in_file, buf, len, &in_pos); in compr_fill()
/linux-6.12.1/fs/squashfs/
Dxz_wrapper.c129 stream->buf.in_pos = 0; in squashfs_xz_uncompress()
142 if (stream->buf.in_pos == stream->buf.in_size) { in squashfs_xz_uncompress()
157 stream->buf.in_pos = 0; in squashfs_xz_uncompress()
/linux-6.12.1/fs/erofs/
Ddecompressor_lzma.c196 dctx.inbuf_pos = buf.in_pos; in z_erofs_lzma_decompress()
207 buf.in_pos = dctx.inbuf_pos; in z_erofs_lzma_decompress()
211 DBG_BUGON(buf.in_pos > buf.in_size); in z_erofs_lzma_decompress()
/linux-6.12.1/sound/usb/caiaq/
Daudio.c204 int in_pos; in snd_usb_caiaq_pcm_prepare() local
208 in_pos = BYTES_PER_SAMPLE + 2; in snd_usb_caiaq_pcm_prepare()
211 in_pos = BYTES_PER_SAMPLE; in snd_usb_caiaq_pcm_prepare()
215 in_pos = 0; in snd_usb_caiaq_pcm_prepare()
219 cdev->period_in_count[index] = in_pos; in snd_usb_caiaq_pcm_prepare()
220 cdev->audio_in_buf_pos[index] = in_pos; in snd_usb_caiaq_pcm_prepare()
/linux-6.12.1/include/linux/
Dxz.h132 size_t in_pos; member
/linux-6.12.1/drivers/pinctrl/renesas/
Dcore.c201 unsigned int in_pos, in sh_pfc_config_reg_helper() argument
211 *posp = crp->reg_width - ((in_pos + 1) * crp->field_width); in sh_pfc_config_reg_helper()
213 *maskp = (1 << crp->var_field_width[in_pos]) - 1; in sh_pfc_config_reg_helper()
215 for (k = 0; k <= in_pos; k++) in sh_pfc_config_reg_helper()
/linux-6.12.1/kernel/module/
Ddecompress.c171 xz_buf.in_pos = 0; in module_xz_decompress()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxfw/
Dmlxfw_mfa2.c440 dec_buf.in_pos = 0; in mlxfw_mfa2_file_cb_offset_xz()
/linux-6.12.1/drivers/gpu/ipu-v3/
Dipu-image-convert.c546 unsigned int in_pos; in find_best_seam() local
563 in_pos = (out_pos * resize_coeff) << downsize_coeff; in find_best_seam()
568 in_pos_aligned = round_closest(in_pos, 8192U * in_align); in find_best_seam()
581 diff = abs_diff(in_pos, in_pos_aligned); in find_best_seam()
/linux-6.12.1/drivers/base/firmware_loader/
Dmain.c399 xz_buf.in_pos = 0; in fw_decompress_xz_single()
427 xz_buf.in_pos = 0; in fw_decompress_xz_pages()