Home
last modified time | relevance | path

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

/linux-6.1.9/lib/xz/
Dxz_dec_stream.c160 b->in_size - b->in_pos, s->temp.size - s->temp.pos); in fill_temp()
162 memcpy(s->temp.buf + s->temp.pos, b->in + b->in_pos, copy_size); in fill_temp()
163 b->in_pos += copy_size; in fill_temp()
176 size_t *in_pos, size_t in_size) in dec_vli() argument
183 while (*in_pos < in_size) { in dec_vli()
184 byte = in[*in_pos]; in dec_vli()
185 ++*in_pos; in dec_vli()
222 s->in_start = b->in_pos; in dec_block()
232 s->block.compressed += b->in_pos - s->in_start; in dec_block()
283 size_t in_used = b->in_pos - s->in_start; in index_update()
[all …]
Dxz_dec_lzma2.c110 size_t in_pos; member
383 while (*left > 0 && b->in_pos < b->in_size in dict_uncompressed()
385 copy_size = min(b->in_size - b->in_pos, in dict_uncompressed()
401 memmove(dict->buf + dict->pos, b->in + b->in_pos, copy_size); in dict_uncompressed()
415 memmove(b->out + b->out_pos, b->in + b->in_pos, in dict_uncompressed()
422 b->in_pos += copy_size; in dict_uncompressed()
484 if (b->in_pos == b->in_size) in rc_read_init()
487 rc->code = (rc->code << 8) + b->in[b->in_pos++]; in rc_read_init()
497 return rc->in_pos > rc->in_limit; in rc_limit_exceeded()
514 rc->code = (rc->code << RC_SHIFT_BITS) + rc->in[rc->in_pos++]; in rc_normalize()
[all …]
Dxz_dec_test.c75 buffers.in_pos = 0; in xz_dec_test_open()
122 if (buffers.in_pos == buffers.in_size) { in xz_dec_test_write()
123 buffers.in_pos = 0; in xz_dec_test_write()
145 return size - remaining - (buffers.in_size - buffers.in_pos); in xz_dec_test_write()
/linux-6.1.9/lib/
Ddecompress_unzstd.c124 long out_len, long *in_pos, in decompress_single() argument
153 if (in_pos != NULL) in decompress_single()
154 *in_pos = in_len; in decompress_single()
167 long *in_pos, in __unzstd() argument
195 in_pos, error); in __unzstd()
281 if (in_pos != NULL) in __unzstd()
282 *in_pos = 0; in __unzstd()
289 if (in_pos != NULL) in __unzstd()
290 *in_pos += in.pos; in __unzstd()
316 if (in_pos != NULL) in __unzstd()
[all …]
Ddecompress_unxz.c295 b.in_pos = 0; in unxz()
303 if (b.in_pos == b.in_size && fill != NULL) { in unxz()
305 *in_used += b.in_pos; in unxz()
307 b.in_pos = 0; in unxz()
347 *in_used += b.in_pos; in unxz()
/linux-6.1.9/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.1.9/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.1.9/fs/erofs/
Ddecompressor_lzma.c195 strm->buf.in_pos = 0; in z_erofs_lzma_decompress()
226 } else if (strm->buf.in_pos == strm->buf.in_size) { in z_erofs_lzma_decompress()
234 strm->buf.in_pos = 0; in z_erofs_lzma_decompress()
269 DBG_BUGON(strm->buf.in_pos > strm->buf.in_size); in z_erofs_lzma_decompress()
/linux-6.1.9/sound/usb/caiaq/
Daudio.c212 int in_pos; in snd_usb_caiaq_pcm_prepare() local
216 in_pos = BYTES_PER_SAMPLE + 2; in snd_usb_caiaq_pcm_prepare()
219 in_pos = BYTES_PER_SAMPLE; in snd_usb_caiaq_pcm_prepare()
223 in_pos = 0; in snd_usb_caiaq_pcm_prepare()
227 cdev->period_in_count[index] = in_pos; in snd_usb_caiaq_pcm_prepare()
228 cdev->audio_in_buf_pos[index] = in_pos; in snd_usb_caiaq_pcm_prepare()
/linux-6.1.9/include/linux/
Dxz.h138 size_t in_pos; member
/linux-6.1.9/kernel/module/
Ddecompress.c171 xz_buf.in_pos = 0; in module_xz_decompress()
/linux-6.1.9/drivers/pinctrl/renesas/
Dcore.c202 unsigned int in_pos, in sh_pfc_config_reg_helper() argument
212 *posp = crp->reg_width - ((in_pos + 1) * crp->field_width); in sh_pfc_config_reg_helper()
214 *maskp = (1 << crp->var_field_width[in_pos]) - 1; in sh_pfc_config_reg_helper()
216 for (k = 0; k <= in_pos; k++) in sh_pfc_config_reg_helper()
/linux-6.1.9/drivers/gpu/ipu-v3/
Dipu-image-convert.c543 unsigned int in_pos; in find_best_seam() local
560 in_pos = (out_pos * resize_coeff) << downsize_coeff; in find_best_seam()
565 in_pos_aligned = round_closest(in_pos, 8192U * in_align); in find_best_seam()
578 if (in_pos < in_pos_aligned) in find_best_seam()
579 abs_diff = in_pos_aligned - in_pos; in find_best_seam()
581 abs_diff = in_pos - in_pos_aligned; in find_best_seam()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxfw/
Dmlxfw_mfa2.c440 dec_buf.in_pos = 0; in mlxfw_mfa2_file_cb_offset_xz()
/linux-6.1.9/drivers/base/firmware_loader/
Dmain.c398 xz_buf.in_pos = 0; in fw_decompress_xz_single()
426 xz_buf.in_pos = 0; in fw_decompress_xz_pages()