/linux-6.1.9/drivers/gpu/drm/tests/ |
D | drm_format_helper_test.c | 295 size_t dst_size; in drm_test_fb_xrgb8888_to_gray8() local 305 dst_size = conversion_buf_size(DRM_FORMAT_R8, result->dst_pitch, in drm_test_fb_xrgb8888_to_gray8() 307 KUNIT_ASSERT_GT(test, dst_size, 0); in drm_test_fb_xrgb8888_to_gray8() 309 buf = kunit_kzalloc(test, dst_size, GFP_KERNEL); in drm_test_fb_xrgb8888_to_gray8() 318 KUNIT_EXPECT_EQ(test, memcmp(buf, result->expected, dst_size), 0); in drm_test_fb_xrgb8888_to_gray8() 325 size_t dst_size; in drm_test_fb_xrgb8888_to_rgb332() local 335 dst_size = conversion_buf_size(DRM_FORMAT_RGB332, result->dst_pitch, in drm_test_fb_xrgb8888_to_rgb332() 337 KUNIT_ASSERT_GT(test, dst_size, 0); in drm_test_fb_xrgb8888_to_rgb332() 339 buf = kunit_kzalloc(test, dst_size, GFP_KERNEL); in drm_test_fb_xrgb8888_to_rgb332() 348 KUNIT_EXPECT_EQ(test, memcmp(buf, result->expected, dst_size), 0); in drm_test_fb_xrgb8888_to_rgb332() [all …]
|
/linux-6.1.9/tools/perf/util/ |
D | zstd.c | 57 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()
|
D | compress.h | 32 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-6.1.9/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_devcaps.c | 126 void *dst, uint32_t dst_size) in vmw_devcaps_copy() argument 131 memcpy(dst, vmw->devcaps, dst_size); in vmw_devcaps_copy() 133 ret = vmw_fill_compat_cap(vmw, dst, dst_size); in vmw_devcaps_copy() 138 memcpy(dst, &fifo_mem[SVGA_FIFO_3D_CAPS], dst_size); in vmw_devcaps_copy()
|
D | vmwgfx_devcaps.h | 39 void *dst, uint32_t dst_size);
|
/linux-6.1.9/drivers/gpu/drm/mga/ |
D | mga_warp.c | 115 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-6.1.9/fs/pstore/ |
D | platform.c | 413 size_t dst_size; in pstore_dump() local 428 dst_size = big_oops_buf_sz; in pstore_dump() 431 dst_size = psinfo->bufsize; in pstore_dump() 435 header_size = snprintf(dst, dst_size, "%s#%d Part%u\n", why, in pstore_dump() 437 dst_size -= header_size; in pstore_dump() 441 dst_size, &dump_size)) in pstore_dump()
|
/linux-6.1.9/lib/ |
D | decompress_unlzma.c | 224 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-6.1.9/include/uapi/rdma/ |
D | rdma_user_cm.h | 136 __u16 dst_size; member 177 __u16 dst_size; member
|
/linux-6.1.9/drivers/crypto/chelsio/ |
D | chcr_algo.c | 810 unsigned int temp = 0, transhdr_len, dst_size; in create_cipher_wr() local 822 dst_size = get_space_for_phys_dsgl(nents); in create_cipher_wr() 824 transhdr_len = CIPHER_TRANSHDR_SIZE(kctx_len, dst_size); in create_cipher_wr() 850 0, 1, dst_size); in create_cipher_wr() 875 ulptx = (struct ulptx_sgl *)((u8 *)(phys_cpl + 1) + dst_size); in create_cipher_wr() 880 temp = sizeof(struct cpl_rx_phys_dsgl) + dst_size + kctx_len + IV in create_cipher_wr() 2447 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-6.1.9/fs/ecryptfs/ |
D | crypto.c | 39 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() 1753 static void ecryptfs_encode_for_filename(unsigned char *dst, size_t *dst_size, in ecryptfs_encode_for_filename() argument 1762 (*dst_size) = 0; in ecryptfs_encode_for_filename() 1781 (*dst_size) = (num_blocks * 4); in ecryptfs_encode_for_filename() 1829 ecryptfs_decode_from_filename(unsigned char *dst, size_t *dst_size, in ecryptfs_decode_from_filename() argument 1837 (*dst_size) = ecryptfs_max_decoded_size(src_size); in ecryptfs_decode_from_filename() 1867 (*dst_size) = dst_byte_offset; in ecryptfs_decode_from_filename()
|
D | ecryptfs_kernel.h | 48 extern void ecryptfs_from_hex(char *dst, char *src, int dst_size);
|
/linux-6.1.9/drivers/input/serio/ |
D | i8042-acpipnpio.h | 1309 static void i8042_pnp_id_to_string(struct pnp_id *id, char *dst, int dst_size) in i8042_pnp_id_to_string() argument 1311 strscpy(dst, "PNP:", dst_size); in i8042_pnp_id_to_string() 1314 strlcat(dst, " ", dst_size); in i8042_pnp_id_to_string() 1315 strlcat(dst, id->id, dst_size); in i8042_pnp_id_to_string()
|
/linux-6.1.9/drivers/media/test-drivers/vicodec/ |
D | codec-v4l2-fwht.c | 293 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-6.1.9/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_hw_sspp.c | 451 u32 src_size, src_xy, dst_size, dst_xy, ystride0, ystride1; in dpu_hw_sspp_setup_rects() local 478 dst_size = (drm_rect_height(&cfg->dst_rect) << 16) | in dpu_hw_sspp_setup_rects() 508 DPU_REG_WRITE(c, out_size_off + idx, dst_size); in dpu_hw_sspp_setup_rects()
|
/linux-6.1.9/drivers/media/platform/samsung/s5p-mfc/ |
D | s5p_mfc_opr_v5.c | 1200 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()
|
D | s5p_mfc_opr_v6.c | 1839 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()
|
D | s5p_mfc_enc.c | 1138 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-6.1.9/sound/isa/wavefront/ |
D | wavefront_synth.c | 533 unsigned int dst_size) in munge_int32() argument 537 for (i = 0; i < dst_size; i++) { in munge_int32() 563 munge_buf (unsigned char *src, unsigned char *dst, unsigned int dst_size) in munge_buf() argument 567 unsigned int last = dst_size / 2; in munge_buf()
|
/linux-6.1.9/drivers/infiniband/core/ |
D | ucma.c | 715 !cmd.dst_size || (cmd.dst_size != rdma_addr_size_kss(&cmd.dst_addr))) in ucma_resolve_addr() 900 resp.dst_size = rdma_addr_size(addr); in ucma_query_addr() 901 memcpy(&resp.dst_addr, addr, resp.dst_size); in ucma_query_addr() 978 resp.dst_size = sizeof(*addr); in ucma_query_gid() 980 memcpy(addr, &ctx->cm_id->route.addr.dst_addr, resp.dst_size); in ucma_query_gid()
|
/linux-6.1.9/drivers/crypto/keembay/ |
D | keembay-ocs-aes-core.c | 729 u32 dst_size; /* The length of the data in dst_sg. */ in kmb_ocs_aead_dma_prepare() local 754 dst_size = req->assoclen + out_size; in kmb_ocs_aead_dma_prepare() 781 dst_size = req->assoclen + in_size + tag_size; in kmb_ocs_aead_dma_prepare() 786 rctx->dst_nents = sg_nents_for_len(req->dst, dst_size); in kmb_ocs_aead_dma_prepare()
|
/linux-6.1.9/include/linux/qed/ |
D | fcoe_common.h | 32 u8 dst_size; member
|
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_pf.c | 373 int dst_size, err; in otx2_forward_vf_mbox_msgs() local 385 dst_size = dst_mbox->mbox.tx_size - in otx2_forward_vf_mbox_msgs() 388 if (mbox_hdr->msg_size > dst_size || !mbox_hdr->msg_size) in otx2_forward_vf_mbox_msgs() 430 dst_size = dst_mbox->mbox_up.tx_size - in otx2_forward_vf_mbox_msgs() 433 if (mbox_hdr->msg_size > dst_size) in otx2_forward_vf_mbox_msgs()
|
/linux-6.1.9/fs/cifs/ |
D | smb2ops.c | 879 move_smb2_ea_to_cifs(char *dst, size_t dst_size, in move_smb2_ea_to_cifs() argument 886 size_t buf_size = dst_size; in move_smb2_ea_to_cifs() 909 if (dst_size == 0) in move_smb2_ea_to_cifs() 911 if (dst_size < value_len) { in move_smb2_ea_to_cifs() 925 } else if (dst_size >= user_name_len) { in move_smb2_ea_to_cifs() 926 dst_size -= user_name_len; in move_smb2_ea_to_cifs()
|
/linux-6.1.9/fs/f2fs/ |
D | compress.c | 386 int dst_size = src_size - PAGE_SIZE - COMPRESS_HEADER_SIZE; in zstd_compress_pages() local 395 outbuf.size = dst_size; in zstd_compress_pages()
|