Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/lib/xz/
Dxz_dec_bcj.c53 size_t out_pos; member
561 copy_size = min_t(size_t, s->temp.filtered, b->out_size - b->out_pos); in bcj_flush()
562 memcpy(b->out + b->out_pos, s->temp.buf, copy_size); in bcj_flush()
563 b->out_pos += copy_size; in bcj_flush()
606 if (s->temp.size < b->out_size - b->out_pos || s->temp.size == 0) { in xz_dec_bcj_run()
607 out_start = b->out_pos; in xz_dec_bcj_run()
608 memcpy(b->out + b->out_pos, s->temp.buf, s->temp.size); in xz_dec_bcj_run()
609 b->out_pos += s->temp.size; in xz_dec_bcj_run()
616 bcj_apply(s, b->out, &out_start, b->out_pos); in xz_dec_bcj_run()
626 s->temp.size = b->out_pos - out_start; in xz_dec_bcj_run()
[all …]
Dxz_dec_test.c76 buffers.out_pos = 0; in xz_dec_test_open()
119 while ((remaining > 0 || buffers.out_pos == buffers.out_size) in xz_dec_test_write()
131 buffers.out_pos = 0; in xz_dec_test_write()
133 crc = crc32(crc, buffer_out, buffers.out_pos); in xz_dec_test_write()
Dxz_dec_lzma2.c292 dict->buf = b->out + b->out_pos; in dict_reset()
293 dict->end = b->out_size - b->out_pos; in dict_reset()
383 && b->out_pos < b->out_size) { in dict_uncompressed()
385 b->out_size - b->out_pos); in dict_uncompressed()
414 memmove(b->out + b->out_pos, b->in + b->in_pos, in dict_uncompressed()
420 b->out_pos += copy_size; in dict_uncompressed()
455 memcpy(b->out + b->out_pos, dict->buf + dict->start, in dict_flush()
460 b->out_pos += copy_size; in dict_flush()
1102 b->out_size - b->out_pos, in xz_dec_lzma2_run()
1117 } else if (b->out_pos == b->out_size in xz_dec_lzma2_run()
[all …]
Dxz_dec_stream.c222 s->out_start = b->out_pos; in dec_block()
232 s->block.uncompressed += b->out_pos - s->out_start; in dec_block()
245 b->out_pos - s->out_start, s->crc32); in dec_block()
759 out_start = b->out_pos; in xz_dec_run()
769 b->out_pos = out_start; in xz_dec_run()
773 && out_start == b->out_pos) { in xz_dec_run()
/linux-6.12.1/lib/
Ddecompress_unxz.c304 b.out_pos = 0; in unxz()
332 if (flush != NULL && (b.out_pos == b.out_size in unxz()
333 || (ret != XZ_OK && b.out_pos > 0))) { in unxz()
339 if (flush(b.out, b.out_pos) != (long)b.out_pos) in unxz()
342 b.out_pos = 0; in unxz()
/linux-6.12.1/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.12.1/fs/erofs/
Ddecompressor_lzma.c194 dctx.avail_out = buf.out_size - buf.out_pos; in z_erofs_lzma_decompress()
202 if (buf.out_size == buf.out_pos) { in z_erofs_lzma_decompress()
204 buf.out_pos = 0; in z_erofs_lzma_decompress()
210 DBG_BUGON(buf.out_pos > buf.out_size); in z_erofs_lzma_decompress()
/linux-6.12.1/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.12.1/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.12.1/include/linux/
Dxz.h136 size_t out_pos; member
/linux-6.12.1/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.12.1/sound/usb/caiaq/
Daudio.c188 int out_pos; in snd_usb_caiaq_pcm_prepare() local
193 out_pos = BYTES_PER_SAMPLE + 1; in snd_usb_caiaq_pcm_prepare()
197 out_pos = 0; in snd_usb_caiaq_pcm_prepare()
201 cdev->period_out_count[index] = out_pos; in snd_usb_caiaq_pcm_prepare()
202 cdev->audio_out_buf_pos[index] = out_pos; in snd_usb_caiaq_pcm_prepare()
/linux-6.12.1/drivers/base/firmware_loader/
Dmain.c402 xz_buf.out_pos = 0; in fw_decompress_xz_single()
407 fw_priv->size = xz_buf.out_pos; in fw_decompress_xz_single()
440 xz_buf.out_pos = 0; in fw_decompress_xz_pages()
444 fw_priv->size += xz_buf.out_pos; in fw_decompress_xz_pages()
446 if (xz_buf.out_pos != PAGE_SIZE) in fw_decompress_xz_pages()
/linux-6.12.1/fs/
Dread_write.c1322 loff_t out_pos; in do_sendfile() local
1360 out_pos = fd_file(out)->f_pos; in do_sendfile()
1385 retval = rw_verify_area(WRITE, fd_file(out), &out_pos, count); in do_sendfile()
1388 retval = do_splice_direct(fd_file(in), &pos, fd_file(out), &out_pos, in do_sendfile()
1402 fd_file(out)->f_pos = out_pos; in do_sendfile()
/linux-6.12.1/drivers/gpu/ipu-v3/
Dipu-image-convert.c515 unsigned int out_pos; in find_best_seam() local
545 for (out_pos = out_start; out_pos < out_end; out_pos += out_align) { in find_best_seam()
556 if ((out_burst > 1) && (out_edge - out_pos) % out_burst) in find_best_seam()
563 in_pos = (out_pos * resize_coeff) << downsize_coeff; in find_best_seam()
584 out_seam = out_pos; in find_best_seam()
/linux-6.12.1/drivers/misc/ocxl/
Dconfig.c209 int *out_pos) in get_dvsec_vendor0() argument
226 *out_pos = pos; in get_dvsec_vendor0()