Home
last modified time | relevance | path

Searched refs:dst_size (Results 1 – 24 of 24) sorted by relevance

/Linux-v5.10/tools/perf/util/
Dzstd.c57 size_t zstd_compress_stream_to_records(struct zstd_data *data, void *dst, size_t dst_size, in zstd_compress_stream_to_records() argument
71 dst_size -= size; in zstd_compress_stream_to_records()
72 output = (ZSTD_outBuffer){ dst, (dst_size > max_record_size) ? in zstd_compress_stream_to_records()
73 max_record_size : dst_size, 0 }; in zstd_compress_stream_to_records()
86 dst_size -= size; in zstd_compress_stream_to_records()
93 void *dst, size_t dst_size) in zstd_decompress_stream() argument
97 ZSTD_outBuffer output = { dst, dst_size, 0 }; in zstd_decompress_stream()
103 src_size, output.size, dst_size, ZSTD_getErrorName(ret)); in zstd_decompress_stream()
107 output.size = dst_size - output.pos; in zstd_decompress_stream()
Dcompress.h32 size_t zstd_compress_stream_to_records(struct zstd_data *data, void *dst, size_t dst_size,
37 void *dst, size_t dst_size);
52 void *dst __maybe_unused, size_t dst_size __maybe_unused, in zstd_compress_stream_to_records()
62 size_t dst_size __maybe_unused) in zstd_decompress_stream()
/Linux-v5.10/drivers/gpu/drm/mga/
Dmga_warp.c115 unsigned int src_size, dst_size; in mga_warp_install_microcode() local
120 dst_size = WARP_UCODE_SIZE(src_size); in mga_warp_install_microcode()
122 pcbase += dst_size; in mga_warp_install_microcode()
123 vcbase += dst_size; in mga_warp_install_microcode()
/Linux-v5.10/fs/pstore/
Dplatform.c411 size_t dst_size; in pstore_dump() local
426 dst_size = big_oops_buf_sz; in pstore_dump()
429 dst_size = psinfo->bufsize; in pstore_dump()
433 header_size = snprintf(dst, dst_size, "%s#%d Part%u\n", why, in pstore_dump()
435 dst_size -= header_size; in pstore_dump()
439 dst_size, &dump_size)) in pstore_dump()
/Linux-v5.10/lib/
Ddecompress_unlzma.c224 uint64_t dst_size; member
342 } while (len != 0 && wr->buffer_pos < wr->header->dst_size); in copy_bytes()
607 ENDIAN_CONVERT(header.dst_size); in unlzma()
615 wr.bufsize = MIN(header.dst_size, header.dict_size); in unlzma()
631 while (get_pos(&wr) < header.dst_size) { in unlzma()
/Linux-v5.10/include/uapi/rdma/
Drdma_user_cm.h136 __u16 dst_size; member
177 __u16 dst_size; member
/Linux-v5.10/drivers/input/serio/
Di8042-x86ia64io.h995 static void i8042_pnp_id_to_string(struct pnp_id *id, char *dst, int dst_size) in i8042_pnp_id_to_string() argument
997 strlcpy(dst, "PNP:", dst_size); in i8042_pnp_id_to_string()
1000 strlcat(dst, " ", dst_size); in i8042_pnp_id_to_string()
1001 strlcat(dst, id->id, dst_size); in i8042_pnp_id_to_string()
/Linux-v5.10/drivers/crypto/chelsio/
Dchcr_algo.c815 unsigned int temp = 0, transhdr_len, dst_size; in create_cipher_wr() local
826 dst_size = get_space_for_phys_dsgl(nents); in create_cipher_wr()
828 transhdr_len = CIPHER_TRANSHDR_SIZE(kctx_len, dst_size); in create_cipher_wr()
854 0, 1, dst_size); in create_cipher_wr()
879 ulptx = (struct ulptx_sgl *)((u8 *)(phys_cpl + 1) + dst_size); in create_cipher_wr()
884 temp = sizeof(struct cpl_rx_phys_dsgl) + dst_size + kctx_len + IV in create_cipher_wr()
2448 unsigned int dst_size = 0, temp, subtype = get_aead_subtype(tfm); in create_authenc_wr() local
2476 dst_size = get_space_for_phys_dsgl(dnents); in create_authenc_wr()
2479 transhdr_len = CIPHER_TRANSHDR_SIZE(kctx_len, dst_size); in create_authenc_wr()
2531 0, 0, dst_size); in create_authenc_wr()
[all …]
/Linux-v5.10/fs/ecryptfs/
Dcrypto.c39 void ecryptfs_from_hex(char *dst, char *src, int dst_size) in ecryptfs_from_hex() argument
44 for (x = 0; x < dst_size; x++) { in ecryptfs_from_hex()
1759 static void ecryptfs_encode_for_filename(unsigned char *dst, size_t *dst_size, in ecryptfs_encode_for_filename() argument
1768 (*dst_size) = 0; in ecryptfs_encode_for_filename()
1787 (*dst_size) = (num_blocks * 4); in ecryptfs_encode_for_filename()
1835 ecryptfs_decode_from_filename(unsigned char *dst, size_t *dst_size, in ecryptfs_decode_from_filename() argument
1843 (*dst_size) = ecryptfs_max_decoded_size(src_size); in ecryptfs_decode_from_filename()
1873 (*dst_size) = dst_byte_offset; in ecryptfs_decode_from_filename()
Decryptfs_kernel.h48 extern void ecryptfs_from_hex(char *dst, char *src, int dst_size);
/Linux-v5.10/drivers/media/test-drivers/vicodec/
Dcodec-v4l2-fwht.c293 unsigned int dst_size = state->stride * state->coded_height; in v4l2_fwht_decode() local
342 if (prepare_raw_frame(&dst_rf, info, p_out, dst_size)) in v4l2_fwht_decode()
/Linux-v5.10/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_sspp.c448 u32 src_size, src_xy, dst_size, dst_xy, ystride0, ystride1; in dpu_hw_sspp_setup_rects() local
475 dst_size = (drm_rect_height(&cfg->dst_rect) << 16) | in dpu_hw_sspp_setup_rects()
505 DPU_REG_WRITE(c, out_size_off + idx, dst_size); in dpu_hw_sspp_setup_rects()
/Linux-v5.10/drivers/media/platform/s5p-mfc/
Ds5p_mfc_opr_v5.c1200 unsigned int dst_size; in s5p_mfc_run_enc_frame() local
1239 dst_size = vb2_plane_size(&dst_mb->b->vb2_buf, 0); in s5p_mfc_run_enc_frame()
1240 s5p_mfc_set_enc_stream_buffer_v5(ctx, dst_addr, dst_size); in s5p_mfc_run_enc_frame()
1271 unsigned int dst_size; in s5p_mfc_run_init_enc() local
1276 dst_size = vb2_plane_size(&dst_mb->b->vb2_buf, 0); in s5p_mfc_run_init_enc()
1277 s5p_mfc_set_enc_stream_buffer_v5(ctx, dst_addr, dst_size); in s5p_mfc_run_init_enc()
Ds5p_mfc_opr_v6.c1839 unsigned int dst_size; in s5p_mfc_run_enc_frame() local
1877 dst_size = vb2_plane_size(&dst_mb->b->vb2_buf, 0); in s5p_mfc_run_enc_frame()
1879 s5p_mfc_set_enc_stream_buffer_v6(ctx, dst_addr, dst_size); in s5p_mfc_run_enc_frame()
1908 unsigned int dst_size; in s5p_mfc_run_init_enc() local
1912 dst_size = vb2_plane_size(&dst_mb->b->vb2_buf, 0); in s5p_mfc_run_init_enc()
1913 s5p_mfc_set_enc_stream_buffer_v6(ctx, dst_addr, dst_size); in s5p_mfc_run_init_enc()
Ds5p_mfc_enc.c1138 unsigned int dst_size; in enc_pre_seq_start() local
1142 dst_size = vb2_plane_size(&dst_mb->b->vb2_buf, 0); in enc_pre_seq_start()
1144 dst_size); in enc_pre_seq_start()
1196 unsigned int dst_size; in enc_pre_frame_start() local
1206 dst_size = vb2_plane_size(&dst_mb->b->vb2_buf, 0); in enc_pre_frame_start()
1208 dst_size); in enc_pre_frame_start()
/Linux-v5.10/sound/isa/wavefront/
Dwavefront_synth.c529 unsigned int dst_size) in munge_int32() argument
533 for (i = 0; i < dst_size; i++) { in munge_int32()
559 munge_buf (unsigned char *src, unsigned char *dst, unsigned int dst_size) in munge_buf() argument
563 unsigned int last = dst_size / 2; in munge_buf()
/Linux-v5.10/drivers/infiniband/core/
Ducma.c704 !cmd.dst_size || (cmd.dst_size != rdma_addr_size_kss(&cmd.dst_addr))) in ucma_resolve_addr()
889 resp.dst_size = rdma_addr_size(addr); in ucma_query_addr()
890 memcpy(&resp.dst_addr, addr, resp.dst_size); in ucma_query_addr()
967 resp.dst_size = sizeof(*addr); in ucma_query_gid()
969 memcpy(addr, &ctx->cm_id->route.addr.dst_addr, resp.dst_size); in ucma_query_gid()
/Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_pf.c364 int dst_size, err; in otx2_forward_vf_mbox_msgs() local
376 dst_size = dst_mbox->mbox.tx_size - in otx2_forward_vf_mbox_msgs()
379 if (mbox_hdr->msg_size > dst_size || !mbox_hdr->msg_size) in otx2_forward_vf_mbox_msgs()
416 dst_size = dst_mbox->mbox_up.tx_size - in otx2_forward_vf_mbox_msgs()
419 if (mbox_hdr->msg_size > dst_size) in otx2_forward_vf_mbox_msgs()
/Linux-v5.10/include/linux/qed/
Dfcoe_common.h32 u8 dst_size; member
/Linux-v5.10/tools/perf/
Dbuiltin-record.c175 static size_t zstd_compress(struct perf_session *session, void *dst, size_t dst_size,
1082 static size_t zstd_compress(struct perf_session *session, void *dst, size_t dst_size, in zstd_compress() argument
1088 compressed = zstd_compress_stream_to_records(&session->zstd_data, dst, dst_size, src, src_size, in zstd_compress()
/Linux-v5.10/fs/f2fs/
Dcompress.c366 int dst_size = src_size - PAGE_SIZE - COMPRESS_HEADER_SIZE; in zstd_compress_pages() local
375 outbuf.size = dst_size; in zstd_compress_pages()
/Linux-v5.10/fs/cifs/
Dsmb2ops.c991 move_smb2_ea_to_cifs(char *dst, size_t dst_size, in move_smb2_ea_to_cifs() argument
998 size_t buf_size = dst_size; in move_smb2_ea_to_cifs()
1020 if (dst_size == 0) in move_smb2_ea_to_cifs()
1022 if (dst_size < value_len) { in move_smb2_ea_to_cifs()
1036 } else if (dst_size >= user_name_len) { in move_smb2_ea_to_cifs()
1037 dst_size -= user_name_len; in move_smb2_ea_to_cifs()
/Linux-v5.10/drivers/staging/media/allegro-dvt/
Dallegro-core.c2919 unsigned long dst_size; in allegro_device_run() local
2925 dst_size = vb2_plane_size(&dst_buf->vb2_buf, 0); in allegro_device_run()
2928 allegro_mcu_send_put_stream_buffer(dev, channel, dst_addr, dst_size, in allegro_device_run()
/Linux-v5.10/fs/btrfs/
Dtree-log.c373 u32 dst_size = btrfs_item_size_nr(path->nodes[0], in overwrite_item() local
375 if (dst_size != item_size) in overwrite_item()