/linux/arch/powerpc/platforms/powernv/ |
H A D | opal-msglog.c | 25 __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/lib/xz/ |
H A D | xz_dec_bcj.c | 53 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 …]
|
H A D | xz_dec_test.c | 76 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()
|
H A D | xz_dec_lzma2.c | 292 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 …]
|
H A D | xz_dec_stream.c | 222 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/lib/ |
H A D | decompress_unxz.c | 304 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/fs/squashfs/ |
H A D | xz_wrapper.c | 131 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/fs/erofs/ |
H A D | decompressor_lzma.c | 194 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/init/ |
H A D | do_mounts_rd.c | 18 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/kernel/module/ |
H A D | decompress.c | 182 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/drivers/net/ethernet/mellanox/mlxfw/ |
H A D | mlxfw_mfa2.c | 445 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/sound/usb/caiaq/ |
H A D | audio.c | 188 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/include/linux/ |
H A D | xz.h | 136 size_t out_pos; member
|
/linux/fs/ |
H A D | read_write.c | 1301 loff_t out_pos; in do_sendfile() local 1336 out_pos = fd_file(out)->f_pos; in do_sendfile() 1360 retval = rw_verify_area(WRITE, fd_file(out), &out_pos, count); in do_sendfile() 1363 retval = do_splice_direct(fd_file(in), &pos, fd_file(out), &out_pos, in do_sendfile() 1377 fd_file(out)->f_pos = out_pos; in do_sendfile()
|
/linux/drivers/gpu/ipu-v3/ |
H A D | ipu-image-convert.c | 515 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/drivers/misc/ocxl/ |
H A D | config.c | 209 int *out_pos) in get_dvsec_vendor0() argument 226 *out_pos = pos; in get_dvsec_vendor0()
|