Home
last modified time | relevance | path

Searched refs:src_size (Results 1 – 25 of 40) sorted by relevance

12

/linux-6.12.1/lib/zstd/
Dzstd_decompress_module.c83 const void *src, size_t src_size) in zstd_decompress_dctx() argument
85 return ZSTD_decompressDCtx(dctx, dst, dst_capacity, src, src_size); in zstd_decompress_dctx()
90 void *dst, size_t dst_capacity, const void* src, size_t src_size, in zstd_decompress_using_ddict() argument
94 src_size, ddict); in zstd_decompress_using_ddict()
127 size_t zstd_find_frame_compressed_size(const void *src, size_t src_size) in zstd_find_frame_compressed_size() argument
129 return ZSTD_findFrameCompressedSize(src, src_size); in zstd_find_frame_compressed_size()
134 size_t src_size) in zstd_get_frame_header() argument
136 return ZSTD_getFrameHeader(header, src, src_size); in zstd_get_frame_header()
Dzstd_compress_module.c75 size_t zstd_compress_bound(size_t src_size) in zstd_compress_bound() argument
77 return ZSTD_compressBound(src_size); in zstd_compress_bound()
137 const void *src, size_t src_size, const zstd_parameters *parameters) in zstd_compress_cctx() argument
139 ZSTD_FORWARD_IF_ERR(zstd_cctx_init(cctx, parameters, src_size)); in zstd_compress_cctx()
140 return ZSTD_compress2(cctx, dst, dst_capacity, src, src_size); in zstd_compress_cctx()
145 size_t dst_capacity, const void *src, size_t src_size, in zstd_compress_using_cdict() argument
149 src, src_size, cdict); in zstd_compress_using_cdict()
/linux-6.12.1/tools/perf/util/
Dzstd.c32 void *src, size_t src_size, size_t max_record_size, in zstd_compress_stream_to_records() argument
36 ZSTD_inBuffer input = { src, src_size, 0 }; in zstd_compress_stream_to_records()
67 (long)src_size, ZSTD_getErrorName(ret)); in zstd_compress_stream_to_records()
68 memcpy(dst, src, src_size); in zstd_compress_stream_to_records()
69 return src_size; in zstd_compress_stream_to_records()
81 size_t zstd_decompress_stream(struct zstd_data *data, void *src, size_t src_size, in zstd_decompress_stream() argument
85 ZSTD_inBuffer input = { src, src_size, 0 }; in zstd_decompress_stream()
106 src_size, output.size, dst_size, ZSTD_getErrorName(ret)); in zstd_decompress_stream()
Dcompress.h36 void *src, size_t src_size, size_t max_record_size,
39 size_t zstd_decompress_stream(struct zstd_data *data, void *src, size_t src_size,
56 void *src __maybe_unused, size_t src_size __maybe_unused, in zstd_compress_stream_to_records()
64 size_t src_size __maybe_unused, void *dst __maybe_unused, in zstd_decompress_stream()
Dtool.c18 size_t decomp_size, src_size; in perf_session__process_compressed_event() local
47 src_size = event->pack.header.size - sizeof(struct perf_record_compressed); in perf_session__process_compressed_event()
49 decomp_size = zstd_decompress_stream(session->active_decomp->zstd_decomp, src, src_size, in perf_session__process_compressed_event()
66 pr_debug("decomp (B): %zd to %zd\n", src_size, decomp_size); in perf_session__process_compressed_event()
/linux-6.12.1/include/linux/
Dzstd.h35 size_t zstd_compress_bound(size_t src_size);
218 const void *src, size_t src_size, const zstd_parameters *parameters);
282 size_t dst_capacity, const void *src, size_t src_size,
323 const void *src, size_t src_size);
386 void *dst, size_t dst_capacity, const void *src, size_t src_size,
584 size_t zstd_find_frame_compressed_size(const void *src, size_t src_size);
612 size_t src_size);
/linux-6.12.1/drivers/crypto/intel/keembay/
Docs-aes.c600 static int ocs_aes_validate_inputs(dma_addr_t src_dma_list, u32 src_size, in ocs_aes_validate_inputs() argument
643 if (src_size % AES_BLOCK_SIZE != 0) in ocs_aes_validate_inputs()
655 if (src_size % AES_BLOCK_SIZE != 0) in ocs_aes_validate_inputs()
671 if (src_size == 0) in ocs_aes_validate_inputs()
687 if (src_size < AES_BLOCK_SIZE) in ocs_aes_validate_inputs()
710 if (src_size && (src_dma_list == DMA_MAPPING_ERROR || in ocs_aes_validate_inputs()
751 if (src_size && (src_dma_list == DMA_MAPPING_ERROR || in ocs_aes_validate_inputs()
772 if (src_size && src_dma_list == DMA_MAPPING_ERROR) in ocs_aes_validate_inputs()
802 u32 src_size, in ocs_aes_op() argument
809 rc = ocs_aes_validate_inputs(src_dma_list, src_size, iv, iv_size, 0, 0, in ocs_aes_op()
[all …]
Docs-aes.h76 u32 src_size,
90 dma_addr_t src_dma_list, u32 src_size) in ocs_aes_bypass_op() argument
93 dst_dma_list, src_dma_list, src_size, NULL, 0); in ocs_aes_bypass_op()
101 u32 src_size,
113 u32 src_size,
/linux-6.12.1/fs/pstore/
Dftrace.c160 size_t dest_size, src_size, total, dest_off, src_off; in pstore_ftrace_combine_log() local
170 src_size = src_log_size - src_off; in pstore_ftrace_combine_log()
172 total = dest_size + src_size; in pstore_ftrace_combine_log()
181 while (dest_size > 0 && src_size > 0) { in pstore_ftrace_combine_log()
188 src_size -= record_size; in pstore_ftrace_combine_log()
197 while (src_size > 0) { in pstore_ftrace_combine_log()
199 src_size -= record_size; in pstore_ftrace_combine_log()
/linux-6.12.1/drivers/media/platform/mediatek/jpeg/
Dmtk_jpeg_dec_parse.c53 u32 src_size) in mtk_jpeg_do_parse() argument
59 stream.size = src_size; in mtk_jpeg_do_parse()
139 u32 src_size) in mtk_jpeg_parse() argument
141 if (!mtk_jpeg_do_parse(param, src_addr_va, src_size)) in mtk_jpeg_parse()
Dmtk_jpeg_dec_parse.h14 u32 src_size);
/linux-6.12.1/sound/soc/stm/
Dstm32_adfsdm.c176 size_t cur_size, src_size = size; in stm32_afsdm_pcm_cb() local
180 src_size >>= 1; in stm32_afsdm_pcm_cb()
181 cur_size = src_size; in stm32_afsdm_pcm_cb()
184 __func__, &pcm_buff[priv->pos], priv->pos, src_size); in stm32_afsdm_pcm_cb()
186 if ((priv->pos + src_size) > buff_size) { in stm32_afsdm_pcm_cb()
199 &src_buff[src_size - cur_size], cur_size); in stm32_afsdm_pcm_cb()
201 memcpy(&pcm_buff[priv->pos], &src_buff[src_size - cur_size], in stm32_afsdm_pcm_cb()
206 if (cur_size != src_size || (old_pos && (old_pos % period_size < size))) in stm32_afsdm_pcm_cb()
/linux-6.12.1/fs/ecryptfs/
Dcrypto.c1728 unsigned char *src, size_t src_size) in ecryptfs_encode_for_filename() argument
1735 if (src_size == 0) { in ecryptfs_encode_for_filename()
1739 num_blocks = (src_size / 3); in ecryptfs_encode_for_filename()
1740 if ((src_size % 3) == 0) { in ecryptfs_encode_for_filename()
1741 memcpy(last_block, (&src[src_size - 3]), 3); in ecryptfs_encode_for_filename()
1745 switch (src_size % 3) { in ecryptfs_encode_for_filename()
1747 last_block[0] = src[src_size - 1]; in ecryptfs_encode_for_filename()
1751 last_block[0] = src[src_size - 2]; in ecryptfs_encode_for_filename()
1752 last_block[1] = src[src_size - 1]; in ecryptfs_encode_for_filename()
1804 const unsigned char *src, size_t src_size) in ecryptfs_decode_from_filename() argument
[all …]
Decryptfs_kernel.h42 ecryptfs_to_hex(char *dst, char *src, size_t src_size) in ecryptfs_to_hex() argument
44 char *end = bin2hex(dst, src, src_size); in ecryptfs_to_hex()
/linux-6.12.1/lib/
Dmemcpy_kunit.c399 int src_pos, src_orig_pos, src_size; in inner_loop() local
423 src_size = d_off - s_off; in inner_loop()
433 src_size = right_zero_pos - src_pos; in inner_loop()
438 memcmp(&large_dst[src_pos], &large_src[src_orig_pos], src_size), 0, in inner_loop()
/linux-6.12.1/include/uapi/rdma/
Drdma_user_cm.h135 __u16 src_size; member
176 __u16 src_size; member
/linux-6.12.1/drivers/platform/x86/hp/hp-bioscfg/
Dbioscfg.c57 u16 src_size; in hp_get_string_from_buffer() local
66 src_size = *(src++); in hp_get_string_from_buffer()
68 size = src_size / sizeof(u16); in hp_get_string_from_buffer()
73 if (*buffer_size < src_size) in hp_get_string_from_buffer()
94 utf16s_to_utf8s(src, src_size, UTF16_HOST_ENDIAN, dst, conv_dst_size); in hp_get_string_from_buffer()
/linux-6.12.1/tools/testing/selftests/sgx/
Dmain.h25 size_t src_size; member
Dload.c304 encl->src_size = encl->segment_tbl[j].offset + encl->segment_tbl[j].size; in encl_load()
306 for (encl->encl_size = 4096; encl->encl_size < encl->src_size; ) in encl_load()
/linux-6.12.1/drivers/gpu/drm/vmwgfx/
Dvmwgfx_blit.c465 size_t src_size = src->tbo.resource->size; in vmw_external_bo_copy() local
491 src_size -= src_offset; in vmw_external_bo_copy()
493 min(dst_stride * height, min(dst_size, src_size))); in vmw_external_bo_copy()
/linux-6.12.1/drivers/misc/bcm-vk/
Dbcm_vk_msg.c812 u8 src_size; in bcm_to_h_msg_dequeue() local
823 src_size = readb(&src->size); in bcm_to_h_msg_dequeue()
826 (src_size > (qinfo->q_size - 1))) { in bcm_to_h_msg_dequeue()
829 rd_idx, src_size, qinfo->q_size); in bcm_to_h_msg_dequeue()
836 num_blks = src_size + 1; in bcm_to_h_msg_dequeue()
/linux-6.12.1/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_sspp.c409 u32 src_size, src_xy, dst_size, dst_xy; in dpu_hw_sspp_setup_rects() local
433 src_size = (drm_rect_height(&cfg->src_rect) << 16) | in dpu_hw_sspp_setup_rects()
440 DPU_REG_WRITE(c, src_size_off, src_size); in dpu_hw_sspp_setup_rects()
/linux-6.12.1/drivers/media/platform/chips-media/wave5/
Dwave5-vpu-dec.c208 size_t src_size = vb2_get_plane_payload(&src_buf->vb2_buf, 0); in wave5_handle_src_buffer() local
210 if (src_size > consumed_bytes) in wave5_handle_src_buffer()
218 consumed_bytes -= src_size; in wave5_handle_src_buffer()
1245 size_t src_size = vb2_get_plane_payload(&vbuf->vb2_buf, 0); in fill_ringbuffer() local
1274 if (remain_size < src_size) { in fill_ringbuffer()
1277 __func__, remain_size, src_size, vbuf->vb2_buf.index); in fill_ringbuffer()
1281 ret = write_to_ringbuffer(inst, src_buf, src_size, ring_buffer, wr_ptr); in fill_ringbuffer()
1288 ret = wave5_vpu_dec_update_bitstream_buffer(inst, src_size); in fill_ringbuffer()
/linux-6.12.1/drivers/gpu/drm/lima/
Dlima_drv.c292 void *src, size_t src_size) in lima_read_block() argument
294 size_t max_off = reader->base + src_size; in lima_read_block()
/linux-6.12.1/include/net/bluetooth/
Dbluetooth.h594 sockptr_t src, size_t src_size) in bt_copy_from_sockptr() argument
596 if (dst_size > src_size) in bt_copy_from_sockptr()

12