Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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.c289 dict->buf = b->out + b->out_pos; in dict_reset()
290 dict->end = b->out_size - b->out_pos; in dict_reset()
380 && b->out_pos < b->out_size) { in dict_uncompressed()
382 b->out_size - b->out_pos); in dict_uncompressed()
411 memmove(b->out + b->out_pos, b->in + b->in_pos, in dict_uncompressed()
417 b->out_pos += copy_size; in dict_uncompressed()
441 memcpy(b->out + b->out_pos, dict->buf + dict->start, in dict_flush()
446 b->out_pos += copy_size; in dict_flush()
1088 b->out_size - b->out_pos, in xz_dec_lzma2_run()
1103 } else if (b->out_pos == b->out_size in xz_dec_lzma2_run()
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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/fs/squashfs/
Dxz_wrapper.c131 stream->buf.out_pos = 0; in squashfs_xz_uncompress()
157 if (stream->buf.out_pos == stream->buf.out_size) { in squashfs_xz_uncompress()
160 stream->buf.out_pos = 0; in squashfs_xz_uncompress()
176 return error ? error : total + stream->buf.out_pos; in squashfs_xz_uncompress()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/linux/
Dxz.h142 size_t out_pos; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/base/firmware_loader/
Dmain.c397 xz_buf.out_pos = 0; in fw_decompress_xz_single()
402 fw_priv->size = xz_buf.out_pos; in fw_decompress_xz_single()
435 xz_buf.out_pos = 0; in fw_decompress_xz_pages()
439 fw_priv->size += xz_buf.out_pos; in fw_decompress_xz_pages()
441 if (xz_buf.out_pos != PAGE_SIZE) in fw_decompress_xz_pages()
/kernel/linux/linux-5.10/fs/
Dread_write.c1187 loff_t out_pos; in do_sendfile() local
1225 out_pos = out.file->f_pos; in do_sendfile()
1226 retval = rw_verify_area(WRITE, out.file, &out_pos, count); in do_sendfile()
1252 retval = do_splice_direct(in.file, &pos, out.file, &out_pos, count, fl); in do_sendfile()
1260 out.file->f_pos = out_pos; in do_sendfile()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/misc/ocxl/
Dconfig.c220 int *out_pos) in get_dvsec_vendor0() argument
237 *out_pos = pos; in get_dvsec_vendor0()