Home
last modified time | relevance | path

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

12

/Linux-v6.1/drivers/gpu/drm/tests/
Ddrm_format_helper_test.c295 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-v6.1/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-v6.1/drivers/gpu/drm/vmwgfx/
Dvmwgfx_devcaps.c126 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()
Dvmwgfx_devcaps.h39 void *dst, uint32_t dst_size);
/Linux-v6.1/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-v6.1/fs/pstore/
Dplatform.c413 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-v6.1/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-v6.1/include/uapi/rdma/
Drdma_user_cm.h136 __u16 dst_size; member
177 __u16 dst_size; member
/Linux-v6.1/drivers/crypto/chelsio/
Dchcr_algo.c810 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-v6.1/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()
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()
Decryptfs_kernel.h48 extern void ecryptfs_from_hex(char *dst, char *src, int dst_size);
/Linux-v6.1/drivers/input/serio/
Di8042-acpipnpio.h1302 static void i8042_pnp_id_to_string(struct pnp_id *id, char *dst, int dst_size) in i8042_pnp_id_to_string() argument
1304 strscpy(dst, "PNP:", dst_size); in i8042_pnp_id_to_string()
1307 strlcat(dst, " ", dst_size); in i8042_pnp_id_to_string()
1308 strlcat(dst, id->id, dst_size); in i8042_pnp_id_to_string()
/Linux-v6.1/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-v6.1/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_sspp.c451 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-v6.1/drivers/media/platform/samsung/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_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()
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()
/Linux-v6.1/sound/isa/wavefront/
Dwavefront_synth.c533 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-v6.1/drivers/infiniband/core/
Ducma.c715 !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-v6.1/drivers/crypto/keembay/
Dkeembay-ocs-aes-core.c729 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-v6.1/include/linux/qed/
Dfcoe_common.h32 u8 dst_size; member
/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_pf.c373 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-v6.1/fs/cifs/
Dsmb2ops.c858 move_smb2_ea_to_cifs(char *dst, size_t dst_size, in move_smb2_ea_to_cifs() argument
865 size_t buf_size = dst_size; in move_smb2_ea_to_cifs()
888 if (dst_size == 0) in move_smb2_ea_to_cifs()
890 if (dst_size < value_len) { in move_smb2_ea_to_cifs()
904 } else if (dst_size >= user_name_len) { in move_smb2_ea_to_cifs()
905 dst_size -= user_name_len; in move_smb2_ea_to_cifs()
/Linux-v6.1/fs/f2fs/
Dcompress.c386 int dst_size = src_size - PAGE_SIZE - COMPRESS_HEADER_SIZE; in zstd_compress_pages() local
395 outbuf.size = dst_size; in zstd_compress_pages()

12