| /linux/drivers/gpu/drm/tests/ |
| H A D | drm_format_helper_test.c | 646 size_t dst_size; in drm_test_fb_xrgb8888_to_gray8() local 656 dst_size = conversion_buf_size(DRM_FORMAT_R8, result->dst_pitch, in drm_test_fb_xrgb8888_to_gray8() 658 KUNIT_ASSERT_GT(test, dst_size, 0); in drm_test_fb_xrgb8888_to_gray8() 660 buf = kunit_kzalloc(test, dst_size, GFP_KERNEL); in drm_test_fb_xrgb8888_to_gray8() 672 KUNIT_EXPECT_MEMEQ(test, buf, result->expected, dst_size); in drm_test_fb_xrgb8888_to_gray8() 679 size_t dst_size; in drm_test_fb_xrgb8888_to_rgb332() local 689 dst_size = conversion_buf_size(DRM_FORMAT_RGB332, result->dst_pitch, in drm_test_fb_xrgb8888_to_rgb332() 691 KUNIT_ASSERT_GT(test, dst_size, 0); in drm_test_fb_xrgb8888_to_rgb332() 693 buf = kunit_kzalloc(test, dst_size, GFP_KERNEL); in drm_test_fb_xrgb8888_to_rgb332() 705 KUNIT_EXPECT_MEMEQ(test, buf, result->expected, dst_size); in drm_test_fb_xrgb8888_to_rgb332() [all …]
|
| /linux/tools/perf/util/ |
| H A D | zstd.c | 32 ssize_t zstd_compress_stream_to_records(struct zstd_data *data, void *dst, size_t dst_size, in zstd_compress_stream_to_records() 34 ssize_t process_header(void *record, size_t dst_size, in zstd_compress_stream_to_records() 60 size = process_header(record, dst_size, 0); in zstd_compress_stream_to_records() 66 dst_size -= size; in zstd_compress_stream_to_records() 67 output = (ZSTD_outBuffer){ dst, (dst_size > max_record_size) ? in zstd_compress_stream_to_records() 68 max_record_size : dst_size, 0 }; in zstd_compress_stream_to_records() 78 dst_size -= output.pos; in zstd_compress_stream_to_records() 83 * double-subtracting the header size from dst_size and in zstd_decompress_stream() 88 size = process_header(record, dst_size, output.pos); in zstd_decompress_stream() 93 dst_size in zstd_decompress_stream() 31 zstd_compress_stream_to_records(struct zstd_data * data,void * dst,size_t dst_size,void * src,size_t src_size,size_t max_record_size,size_t process_header (void * record,size_t increment)) zstd_compress_stream_to_records() argument 82 zstd_decompress_stream(struct zstd_data * data,void * src,size_t src_size,void * dst,size_t dst_size) zstd_decompress_stream() argument [all...] |
| H A D | compress.h | 55 ssize_t zstd_compress_stream_to_records(struct zstd_data *data, void *dst, size_t dst_size, in zstd_compress_stream_to_records() 57 ssize_t process_header(void *record, size_t dst_size, in zstd_compress_stream_to_records() 61 void *dst, size_t dst_size); in zstd_compress_stream_to_records() 76 void *dst __maybe_unused, size_t dst_size __maybe_unused, 79 ssize_t process_header(void *record, size_t dst_size, 87 size_t dst_size __maybe_unused)
|
| /linux/tools/testing/selftests/landlock/ |
| H A D | audit.h | 211 regex_escape(const char * const src,char * dst,size_t dst_size) regex_escape() argument
|
| /linux/drivers/gpu/drm/msm/disp/dpu1/ |
| H A D | dpu_hw_sspp.h | 362 u32 src_size, src_xy, dst_size, dst_xy; in dpu_hw_setup_rects_impl() local 371 dst_size = (drm_rect_height(&cfg->dst_rect) << 16) | in dpu_hw_setup_rects_impl() 377 DPU_REG_WRITE(c, out_size_off, dst_size); in dpu_hw_setup_rects_impl()
|
| /linux/fs/pstore/ |
| H A D | platform.c | 306 size_t dst_size; in pstore_dump() local 320 dst_size = max_compressed_size ?: psinfo->bufsize; in pstore_dump() 323 header_size = snprintf(dst, dst_size, "%s#%d Part%u\n", why, in pstore_dump() 325 dst_size -= header_size; in pstore_dump() 329 dst_size, &dump_size)) in pstore_dump()
|
| /linux/lib/ |
| H A D | decompress_unlzma.c | 226 uint64_t dst_size; member 344 } while (len != 0 && wr->buffer_pos < wr->header->dst_size); in copy_bytes() 609 ENDIAN_CONVERT(header.dst_size); in unlzma() 617 wr.bufsize = MIN(header.dst_size, header.dict_size); in unlzma() 633 while (get_pos(&wr) < header.dst_size) { in unlzma()
|
| H A D | maple_tree.c | 2518 unsigned char dst_size; in cp_data_write() local 2537 dst_size = split + 1; in cp_data_write() 2539 while (dst_size) { in cp_data_write() 2542 if (src_end - s_offset + 1 < dst_size) in cp_data_write() 2545 size = dst_size; in cp_data_write() 2568 dst_size -= size; in cp_data_write()
|
| /linux/drivers/platform/x86/hp/hp-bioscfg/ |
| H A D | int-attributes.c | 308 int dst_size = *buffer_size / sizeof(u16); in hp_populate_integer_elements_from_buffer() local 312 dst = kcalloc(dst_size, sizeof(char), GFP_KERNEL); in hp_populate_integer_elements_from_buffer() 334 hp_get_string_from_buffer(&buffer_ptr, buffer_size, dst, dst_size); in hp_populate_integer_elements_from_buffer()
|
| H A D | bioscfg.c | 54 int hp_get_string_from_buffer(u8 **buffer, u32 *buffer_size, char *dst, u32 dst_size) in hp_get_string_from_buffer() argument 88 if (size >= dst_size) in hp_get_string_from_buffer() 89 conv_dst_size = dst_size - 1; in hp_get_string_from_buffer()
|
| H A D | bioscfg.h | 481 int hp_get_string_from_buffer(u8 **buffer, u32 *buffer_size, char *dst, u32 dst_size);
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_devcaps.h | 39 void *dst, uint32_t dst_size);
|
| H A D | vmwgfx_blit.c | 465 size_t dst_size = dst->tbo.resource->size; in vmw_external_bo_copy() local 487 dst_end > dst_size || in vmw_external_bo_copy()
|
| /linux/include/uapi/rdma/ |
| H A D | rdma_user_cm.h | 138 __u16 dst_size; member 180 __u16 dst_size; member
|
| /linux/fs/ecryptfs/ |
| H A 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() 1632 static void ecryptfs_encode_for_filename(unsigned char *dst, size_t *dst_size, in ecryptfs_encode_for_filename() argument 1641 (*dst_size) = 0; in ecryptfs_encode_for_filename() 1660 (*dst_size) = (num_blocks * 4); in ecryptfs_encode_for_filename() 1708 ecryptfs_decode_from_filename(unsigned char *dst, size_t *dst_size, in ecryptfs_decode_from_filename() argument 1716 (*dst_size) = ecryptfs_max_decoded_size(src_size); in ecryptfs_decode_from_filename() 1746 (*dst_size) = dst_byte_offset; in ecryptfs_decode_from_filename()
|
| /linux/drivers/pci/endpoint/functions/ |
| H A D | pci-epf-test.c | 566 size_t orig_size, dst_size; in pci_epf_test_write() local 571 orig_size = dst_size = le32_to_cpu(reg->size); in pci_epf_test_write() 573 dst_buf = kzalloc(dst_size, GFP_KERNEL); in pci_epf_test_write() 578 get_random_bytes(dst_buf, dst_size); in pci_epf_test_write() 579 reg->checksum = cpu_to_le32(crc32_le(~0, dst_buf, dst_size)); in pci_epf_test_write() 582 while (dst_size) { in pci_epf_test_write() 584 dst_addr, dst_size, &map); in pci_epf_test_write() 623 dst_size -= map_size; in pci_epf_test_write()
|
| /linux/rust/zerocopy/src/pointer/ |
| H A D | mod.rs | 203 … (SizeInfo::Sized { size: src_size }, SizeInfo::Sized { size: dst_size }) => src_size == dst_size, in project()
|
| /linux/drivers/media/test-drivers/vicodec/ |
| H A 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/drivers/media/platform/samsung/s5p-mfc/ |
| H A D | s5p_mfc_opr_v5.c | 1202 unsigned int dst_size; in s5p_mfc_run_enc_frame() local 1241 dst_size = vb2_plane_size(&dst_mb->b->vb2_buf, 0); in s5p_mfc_run_enc_frame() 1242 s5p_mfc_set_enc_stream_buffer_v5(ctx, dst_addr, dst_size); in s5p_mfc_run_enc_frame() 1273 unsigned int dst_size; in s5p_mfc_run_init_enc() local 1278 dst_size = vb2_plane_size(&dst_mb->b->vb2_buf, 0); in s5p_mfc_run_init_enc() 1279 s5p_mfc_set_enc_stream_buffer_v5(ctx, dst_addr, dst_size); in s5p_mfc_run_init_enc()
|
| /linux/drivers/infiniband/core/ |
| H A D | ucma.c | 721 !cmd.dst_size || (cmd.dst_size != rdma_addr_size_kss(&cmd.dst_addr))) in ucma_resolve_addr() 928 resp.dst_size = rdma_addr_size(addr); in ucma_query_addr() 929 memcpy(&resp.dst_addr, addr, resp.dst_size); in ucma_query_addr() 1006 resp.dst_size = sizeof(*addr); in ucma_query_gid() 1008 memcpy(addr, &ctx->cm_id->route.addr.dst_addr, resp.dst_size); in ucma_query_gid()
|
| /linux/sound/isa/wavefront/ |
| H A D | wavefront_synth.c | 534 unsigned int dst_size) in munge_int32() 538 for (i = 0; i < dst_size; i++) { in munge_int32() 564 munge_buf (unsigned char *src, unsigned char *dst, unsigned int dst_size) in munge_buf() 568 unsigned int last = dst_size / 2; in munge_buf() 533 munge_int32(unsigned int src,unsigned char * dst,unsigned int dst_size) munge_int32() argument 563 munge_buf(unsigned char * src,unsigned char * dst,unsigned int dst_size) munge_buf() argument
|
| /linux/drivers/input/serio/ |
| H A D | i8042-acpipnpio.h | 1497 static void i8042_pnp_id_to_string(struct pnp_id *id, char *dst, int dst_size) in i8042_pnp_id_to_string() 1501 seq_buf_init(&sb, dst, dst_size); in i8042_pnp_kbd_probe() 1488 i8042_pnp_id_to_string(struct pnp_id * id,char * dst,int dst_size) i8042_pnp_id_to_string() argument
|
| /linux/include/linux/qed/ |
| H A D | fcoe_common.h | 32 u8 dst_size; member
|
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_pf.c | 366 int dst_size, err; in otx2_forward_vf_mbox_msgs() local 378 dst_size = dst_mbox->mbox.tx_size - in otx2_forward_vf_mbox_msgs() 381 if (mbox_hdr->msg_size > dst_size || !mbox_hdr->msg_size) in otx2_forward_vf_mbox_msgs() 423 dst_size = dst_mbox->mbox_up.tx_size - in otx2_forward_vf_mbox_msgs() 426 if (mbox_hdr->msg_size > dst_size) in otx2_forward_vf_mbox_msgs()
|
| /linux/rust/zerocopy/src/ |
| H A D | layout.rs | 924 SizeInfo::Sized { size: dst_size }, in project() 926 if src_size != dst_size { in project()
|