/kernel/linux/linux-5.10/lib/xz/ |
H A D | xz_dec_lzma2.c | 110 size_t in_pos; member 379 while (*left > 0 && b->in_pos < b->in_size in dict_uncompressed() 381 copy_size = min(b->in_size - b->in_pos, in dict_uncompressed() 397 memmove(dict->buf + dict->pos, b->in + b->in_pos, copy_size); in dict_uncompressed() 411 memmove(b->out + b->out_pos, b->in + b->in_pos, in dict_uncompressed() 418 b->in_pos += copy_size; in dict_uncompressed() 469 if (b->in_pos == b->in_size) in rc_read_init() 472 rc->code = (rc->code << 8) + b->in[b->in_pos++]; in rc_read_init() 482 return rc->in_pos > rc->in_limit; in rc_limit_exceeded() 499 rc->code = (rc->code << RC_SHIFT_BITS) + rc->in[rc->in_pos in rc_normalize() [all...] |
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); 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() 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() 175 dec_vli(struct xz_dec *s, const uint8_t *in, size_t *in_pos, size_t in_size) dec_vli() argument [all...] |
H A D | xz_dec_test.c | 75 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()
|
/kernel/linux/linux-6.6/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); 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() 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() 175 dec_vli(struct xz_dec *s, const uint8_t *in, size_t *in_pos, size_t in_size) dec_vli() argument [all...] |
H A D | xz_dec_lzma2.c | 110 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...] |
H A D | xz_dec_test.c | 75 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()
|
/kernel/linux/linux-5.10/lib/ |
H A D | decompress_unzstd.c | 124 long out_len, long *in_pos, in decompress_single() 153 if (in_pos != NULL) in decompress_single() 154 *in_pos = in_len; in decompress_single() 167 long *in_pos, in __unzstd() 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 ! in __unzstd() 123 decompress_single(const u8 *in_buf, long in_len, u8 *out_buf, long out_len, long *in_pos, void (*error)(char *x)) decompress_single() argument 163 __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)) __unzstd() argument [all...] |
H A D | decompress_unxz.c | 295 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()
|
/kernel/linux/linux-6.6/lib/ |
H A D | decompress_unzstd.c | 126 long out_len, long *in_pos, in decompress_single() 155 if (in_pos != NULL) in decompress_single() 156 *in_pos = in_len; in decompress_single() 169 long *in_pos, in __unzstd() 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 ! in __unzstd() 125 decompress_single(const u8 *in_buf, long in_len, u8 *out_buf, long out_len, long *in_pos, void (*error)(char *x)) decompress_single() 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)) __unzstd() argument [all...] |
H A D | decompress_unxz.c | 297 b.in_pos = 0; in unxz() 305 if (b.in_pos == b.in_size && fill != NULL) { in unxz() 307 *in_used += b.in_pos; in unxz() 309 b.in_pos = 0; in unxz() 349 *in_used += b.in_pos; in unxz()
|
/kernel/linux/linux-5.10/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; 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()
|
/kernel/linux/linux-6.6/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; 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()
|
/kernel/linux/linux-5.10/fs/squashfs/ |
H A D | xz_wrapper.c | 129 stream->buf.in_pos = 0; in squashfs_xz_uncompress() 138 if (stream->buf.in_pos == stream->buf.in_size) { in squashfs_xz_uncompress() 153 stream->buf.in_pos = 0; in squashfs_xz_uncompress()
|
/kernel/linux/linux-6.6/fs/squashfs/ |
H A D | xz_wrapper.c | 129 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()
|
/kernel/linux/linux-6.6/fs/erofs/ |
H A D | decompressor_lzma.c | 195 strm->buf.in_pos = 0; in z_erofs_lzma_decompress() 229 } else if (strm->buf.in_pos == strm->buf.in_size) { in z_erofs_lzma_decompress() 237 strm->buf.in_pos = 0; in z_erofs_lzma_decompress() 272 DBG_BUGON(strm->buf.in_pos > strm->buf.in_size); in z_erofs_lzma_decompress()
|
/kernel/linux/linux-5.10/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 205 * XZ_STREAM_END), b->in_pos and b->out_pos are not modified and the
|
/kernel/linux/linux-5.10/sound/usb/caiaq/ |
H A D | audio.c | 212 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()
|
/kernel/linux/linux-6.6/sound/usb/caiaq/ |
H A D | audio.c | 212 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()
|
/kernel/linux/linux-6.6/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 205 * XZ_STREAM_END), b->in_pos and b->out_pos are not modified and the
|
/kernel/linux/linux-5.10/drivers/pinctrl/renesas/ |
H A D | core.c | 189 unsigned int in_pos, in sh_pfc_config_reg_helper() 199 *posp = crp->reg_width - ((in_pos + 1) * crp->field_width); in sh_pfc_config_reg_helper() 201 *maskp = (1 << crp->var_field_width[in_pos]) - 1; in sh_pfc_config_reg_helper() 203 for (k = 0; k <= in_pos; k++) in sh_pfc_config_reg_helper() 187 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) sh_pfc_config_reg_helper() argument
|
/kernel/linux/linux-6.6/drivers/pinctrl/renesas/ |
H A D | core.c | 201 unsigned int in_pos, in sh_pfc_config_reg_helper() 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() 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) sh_pfc_config_reg_helper() argument
|
/kernel/linux/linux-6.6/kernel/module/ |
H A D | decompress.c | 171 xz_buf.in_pos = 0; in module_xz_decompress()
|
/kernel/linux/linux-5.10/drivers/gpu/ipu-v3/ |
H A D | ipu-image-convert.c | 543 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxfw/ |
H A D | mlxfw_mfa2.c | 440 dec_buf.in_pos = 0; in mlxfw_mfa2_file_cb_offset_xz()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxfw/ |
H A D | mlxfw_mfa2.c | 440 dec_buf.in_pos = 0; in mlxfw_mfa2_file_cb_offset_xz()
|