Home
last modified time | relevance | path

Searched refs:out_pos (Results 1 – 17 of 17) sorted by relevance

/linux-6.1.9/arch/powerpc/platforms/powernv/
Dopal-msglog.c25 __be32 out_pos; member
39 uint32_t out_pos, avail; in memcons_copy() local
44 out_pos = be32_to_cpu(READ_ONCE(mc->out_pos)); in memcons_copy()
55 if (out_pos & MEMCONS_OUT_POS_WRAP) { in memcons_copy()
57 out_pos &= MEMCONS_OUT_POS_MASK; in memcons_copy()
58 avail = be32_to_cpu(mc->obuf_size) - out_pos; in memcons_copy()
61 conbuf + out_pos, avail); in memcons_copy()
76 if (out_pos > be32_to_cpu(mc->obuf_size)) { in memcons_copy()
81 ret = memory_read_from_buffer(to, count, &pos, conbuf, out_pos); in memcons_copy()
/linux-6.1.9/lib/xz/
Dxz_dec_bcj.c52 size_t out_pos; member
403 copy_size = min_t(size_t, s->temp.filtered, b->out_size - b->out_pos); in bcj_flush()
404 memcpy(b->out + b->out_pos, s->temp.buf, copy_size); in bcj_flush()
405 b->out_pos += copy_size; in bcj_flush()
449 if (s->temp.size < b->out_size - b->out_pos || s->temp.size == 0) { in xz_dec_bcj_run()
450 out_start = b->out_pos; in xz_dec_bcj_run()
451 memcpy(b->out + b->out_pos, s->temp.buf, s->temp.size); in xz_dec_bcj_run()
452 b->out_pos += s->temp.size; in xz_dec_bcj_run()
459 bcj_apply(s, b->out, &out_start, b->out_pos); in xz_dec_bcj_run()
469 s->temp.size = b->out_pos - out_start; in xz_dec_bcj_run()
[all …]
Dxz_dec_test.c77 buffers.out_pos = 0; in xz_dec_test_open()
120 while ((remaining > 0 || buffers.out_pos == buffers.out_size) in xz_dec_test_write()
132 buffers.out_pos = 0; in xz_dec_test_write()
134 crc = crc32(crc, buffer_out, buffers.out_pos); in xz_dec_test_write()
Dxz_dec_lzma2.c293 dict->buf = b->out + b->out_pos; in dict_reset()
294 dict->end = b->out_size - b->out_pos; in dict_reset()
384 && b->out_pos < b->out_size) { in dict_uncompressed()
386 b->out_size - b->out_pos); in dict_uncompressed()
415 memmove(b->out + b->out_pos, b->in + b->in_pos, in dict_uncompressed()
421 b->out_pos += copy_size; in dict_uncompressed()
456 memcpy(b->out + b->out_pos, dict->buf + dict->start, in dict_flush()
461 b->out_pos += copy_size; in dict_flush()
1104 b->out_size - b->out_pos, in xz_dec_lzma2_run()
1119 } else if (b->out_pos == b->out_size in xz_dec_lzma2_run()
[all …]
Dxz_dec_stream.c223 s->out_start = b->out_pos; in dec_block()
233 s->block.uncompressed += b->out_pos - s->out_start; in dec_block()
246 b->out_pos - s->out_start, s->crc32); in dec_block()
760 out_start = b->out_pos; in xz_dec_run()
770 b->out_pos = out_start; in xz_dec_run()
774 && out_start == b->out_pos) { in xz_dec_run()
/linux-6.1.9/lib/
Ddecompress_unxz.c297 b.out_pos = 0; in unxz()
325 if (flush != NULL && (b.out_pos == b.out_size in unxz()
326 || (ret != XZ_OK && b.out_pos > 0))) { in unxz()
332 if (flush(b.out, b.out_pos) != (long)b.out_pos) in unxz()
335 b.out_pos = 0; in unxz()
/linux-6.1.9/fs/squashfs/
Dxz_wrapper.c131 stream->buf.out_pos = 0; in squashfs_xz_uncompress()
161 if (stream->buf.out_pos == stream->buf.out_size) { in squashfs_xz_uncompress()
167 stream->buf.out_pos = 0; in squashfs_xz_uncompress()
184 return error ? error : total + stream->buf.out_pos; in squashfs_xz_uncompress()
/linux-6.1.9/fs/erofs/
Ddecompressor_lzma.c199 strm->buf.out_pos = 0; in z_erofs_lzma_decompress()
205 if (strm->buf.out_pos == strm->buf.out_size) { in z_erofs_lzma_decompress()
216 strm->buf.out_pos = 0; in z_erofs_lzma_decompress()
268 DBG_BUGON(strm->buf.out_pos > strm->buf.out_size); in z_erofs_lzma_decompress()
/linux-6.1.9/kernel/module/
Ddecompress.c182 xz_buf.out_pos = 0; in module_xz_decompress()
187 new_size += xz_buf.out_pos; in module_xz_decompress()
188 } while (xz_buf.out_pos == PAGE_SIZE && xz_ret == XZ_OK); in module_xz_decompress()
/linux-6.1.9/init/
Ddo_mounts_rd.c18 static loff_t in_pos, out_pos; variable
257 kernel_write(out_file, buf, BLOCK_SIZE, &out_pos); in rd_load_image()
301 long written = kernel_write(out_file, window, outcnt, &out_pos); in compr_flush()
/linux-6.1.9/include/linux/
Dxz.h142 size_t out_pos; member
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxfw/
Dmlxfw_mfa2.c445 dec_buf.out_pos = 0; in mlxfw_mfa2_file_cb_offset_xz()
458 curr_off += dec_buf.out_pos; in mlxfw_mfa2_file_cb_offset_xz()
462 dec_buf.out_pos = 0; in mlxfw_mfa2_file_cb_offset_xz()
/linux-6.1.9/sound/usb/caiaq/
Daudio.c196 int out_pos; in snd_usb_caiaq_pcm_prepare() local
201 out_pos = BYTES_PER_SAMPLE + 1; in snd_usb_caiaq_pcm_prepare()
205 out_pos = 0; in snd_usb_caiaq_pcm_prepare()
209 cdev->period_out_count[index] = out_pos; in snd_usb_caiaq_pcm_prepare()
210 cdev->audio_out_buf_pos[index] = out_pos; in snd_usb_caiaq_pcm_prepare()
/linux-6.1.9/drivers/base/firmware_loader/
Dmain.c401 xz_buf.out_pos = 0; in fw_decompress_xz_single()
406 fw_priv->size = xz_buf.out_pos; in fw_decompress_xz_single()
439 xz_buf.out_pos = 0; in fw_decompress_xz_pages()
443 fw_priv->size += xz_buf.out_pos; in fw_decompress_xz_pages()
445 if (xz_buf.out_pos != PAGE_SIZE) in fw_decompress_xz_pages()
/linux-6.1.9/fs/
Dread_write.c1188 loff_t out_pos; in do_sendfile() local
1226 out_pos = out.file->f_pos; in do_sendfile()
1251 retval = rw_verify_area(WRITE, out.file, &out_pos, count); in do_sendfile()
1255 retval = do_splice_direct(in.file, &pos, out.file, &out_pos, in do_sendfile()
1270 out.file->f_pos = out_pos; in do_sendfile()
/linux-6.1.9/drivers/gpu/ipu-v3/
Dipu-image-convert.c512 unsigned int out_pos; in find_best_seam() local
542 for (out_pos = out_start; out_pos < out_end; out_pos += out_align) { in find_best_seam()
553 if ((out_burst > 1) && (out_edge - out_pos) % out_burst) in find_best_seam()
560 in_pos = (out_pos * resize_coeff) << downsize_coeff; in find_best_seam()
585 out_seam = out_pos; in find_best_seam()
/linux-6.1.9/drivers/misc/ocxl/
Dconfig.c209 int *out_pos) in get_dvsec_vendor0() argument
226 *out_pos = pos; in get_dvsec_vendor0()