Home
last modified time | relevance | path

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

/linux/arch/powerpc/platforms/powernv/
H A 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/lib/
H A 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/drivers/md/
H A Ddm-verity-fec.c54 unsigned int out_pos, int neras) in fec_decode_bufs() argument
71 parity_block = ((index_in_region << v->data_dev_block_bits) + out_pos) * in fec_decode_bufs()
125 fio->output[out_pos++] = msg_buf[target_region]; in fec_decode_bufs()
127 if (out_pos >= v->fec->block_size) in fec_decode_bufs()
175 unsigned int out_pos, int *neras) in fec_read_bufs() argument
251 src_pos = out_pos; in fec_read_bufs()
327 unsigned int target_region, out_pos; in fec_decode() local
342 for (out_pos = 0; out_pos < v->fec->block_size;) { in fec_decode()
345 r = fec_read_bufs(v, io, target_block, index_in_region, out_pos, in fec_decode()
351 index_in_region, out_pos, neras); in fec_decode()
[all …]
/linux/lib/xz/
H A 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()
/linux/fs/squashfs/
H A 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/fs/erofs/
H A Ddecompressor_lzma.c189 dctx.avail_out = buf.out_size - buf.out_pos; in z_erofs_lzma_decompress()
197 if (buf.out_size == buf.out_pos) { in z_erofs_lzma_decompress()
199 buf.out_pos = 0; in z_erofs_lzma_decompress()
205 DBG_BUGON(buf.out_pos > buf.out_size); in z_erofs_lzma_decompress()
/linux/include/linux/
H A Dxz.h136 size_t out_pos; member
/linux/drivers/net/ethernet/mellanox/mlxfw/
H A 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/sound/usb/caiaq/
H A Daudio.c183 int out_pos; in snd_usb_caiaq_pcm_prepare() local
188 out_pos = BYTES_PER_SAMPLE + 1; in snd_usb_caiaq_pcm_prepare()
192 out_pos = 0; in snd_usb_caiaq_pcm_prepare()
196 cdev->period_out_count[index] = out_pos; in snd_usb_caiaq_pcm_prepare()
197 cdev->audio_out_buf_pos[index] = out_pos; in snd_usb_caiaq_pcm_prepare()
/linux/drivers/gpu/ipu-v3/
H A Dipu-image-convert.c501 unsigned int out_pos; in find_best_seam() local
531 for (out_pos = out_start; out_pos < out_end; out_pos += out_align) { in find_best_seam()
542 if ((out_burst > 1) && (out_edge - out_pos) % out_burst) in find_best_seam()
549 in_pos = (out_pos * resize_coeff) << downsize_coeff; in find_best_seam()
570 out_seam = out_pos; in find_best_seam()
/linux/drivers/misc/ocxl/
H A Dconfig.c209 int *out_pos) in get_dvsec_vendor0() argument
226 *out_pos = pos; in get_dvsec_vendor0()