| /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 | 31 ssize_t zstd_compress_stream_to_records(struct zstd_data *data, void *dst, size_t dst_size, in zstd_compress_stream_to_records() argument 60 dst_size -= size; in zstd_compress_stream_to_records() 61 output = (ZSTD_outBuffer){ dst, (dst_size > max_record_size) ? in zstd_compress_stream_to_records() 62 max_record_size : dst_size, 0 }; in zstd_compress_stream_to_records() 75 dst_size -= size; in zstd_compress_stream_to_records() 82 void *dst, size_t dst_size) in zstd_decompress_stream() argument 86 ZSTD_outBuffer output = { dst, dst_size, 0 }; in zstd_decompress_stream() 106 src_size, output.size, dst_size, ZSTD_getErrorName(ret)); in zstd_decompress_stream() 110 output.size = dst_size - output.pos; in zstd_decompress_stream()
|
| 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() 60 void *dst, size_t dst_size); in zstd_compress_stream_to_records() 75 void *dst __maybe_unused, size_t dst_size __maybe_unused, 85 size_t dst_size __maybe_unused)
|
| /linux/tools/testing/selftests/landlock/ |
| H A D | audit.h | 211 size_t dst_size) in regex_escape() argument 224 if (d >= dst + dst_size - 2) in regex_escape() 231 if (d >= dst + dst_size - 1) in regex_escape() 237 if (d >= dst + dst_size - 1) in regex_escape()
|
| /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()
|
| /linux/drivers/platform/x86/hp/hp-bioscfg/ |
| H A D | int-attributes.c | 304 int dst_size = *buffer_size / sizeof(u16); in hp_populate_integer_elements_from_buffer() local 308 dst = kcalloc(dst_size, sizeof(char), GFP_KERNEL); in hp_populate_integer_elements_from_buffer() 330 hp_get_string_from_buffer(&buffer_ptr, buffer_size, dst, dst_size); in hp_populate_integer_elements_from_buffer()
|
| H A D | bioscfg.c | 52 int hp_get_string_from_buffer(u8 **buffer, u32 *buffer_size, char *dst, u32 dst_size) in hp_get_string_from_buffer() argument 86 if (size > dst_size) in hp_get_string_from_buffer() 87 conv_dst_size = dst_size - 1; in hp_get_string_from_buffer()
|
| H A D | bioscfg.h | 471 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);
|
| /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 | 38 void ecryptfs_from_hex(char *dst, char *src, int dst_size) in ecryptfs_from_hex() argument 43 for (x = 0; x < dst_size; x++) { in ecryptfs_from_hex() 1658 static void ecryptfs_encode_for_filename(unsigned char *dst, size_t *dst_size, in ecryptfs_encode_for_filename() argument 1667 (*dst_size) = 0; in ecryptfs_encode_for_filename() 1686 (*dst_size) = (num_blocks * 4); in ecryptfs_encode_for_filename() 1734 ecryptfs_decode_from_filename(unsigned char *dst, size_t *dst_size, in ecryptfs_decode_from_filename() argument 1742 (*dst_size) = ecryptfs_max_decoded_size(src_size); in ecryptfs_decode_from_filename() 1772 (*dst_size) = dst_byte_offset; in ecryptfs_decode_from_filename()
|
| H A D | ecryptfs_kernel.h | 49 extern void ecryptfs_from_hex(char *dst, char *src, int dst_size);
|
| /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/include/linux/qed/ |
| H A D | fcoe_common.h | 32 u8 dst_size; member
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_migrate.c | 797 u64 dst_ofs, bool dst_is_indirect, u32 dst_size, in xe_migrate_ccs_copy() argument 816 ccs_src_ofs, src_is_indirect, dst_size); in xe_migrate_ccs_copy() 828 src_is_indirect, dst_size); in xe_migrate_ccs_copy()
|
| /linux/fs/smb/client/ |
| H A D | smb2ops.c | 1030 move_smb2_ea_to_cifs(char *dst, size_t dst_size, in move_smb2_ea_to_cifs() argument 1037 size_t buf_size = dst_size; in move_smb2_ea_to_cifs() 1061 if (dst_size == 0) in move_smb2_ea_to_cifs() 1063 if (dst_size < value_len) { in move_smb2_ea_to_cifs() 1077 } else if (dst_size >= user_name_len) { in move_smb2_ea_to_cifs() 1078 dst_size -= user_name_len; in move_smb2_ea_to_cifs()
|
| /linux/fs/f2fs/ |
| H A D | compress.c | 375 int dst_size = src_size - PAGE_SIZE - COMPRESS_HEADER_SIZE; in zstd_compress_pages() local 384 outbuf.size = dst_size; in zstd_compress_pages()
|
| /linux/tools/perf/ |
| H A D | builtin-record.c | 289 void *dst, size_t dst_size, void *src, size_t src_size); 1610 void *dst, size_t dst_size, void *src, size_t src_size) in zstd_compress() argument 1619 compressed = zstd_compress_stream_to_records(zstd_data, dst, dst_size, src, src_size, in zstd_compress()
|
| /linux/fs/btrfs/ |
| H A D | tree-log.c | 525 const u32 dst_size = btrfs_item_size(dst_eb, dst_slot); in overwrite_item() local 527 if (dst_size != item_size) in overwrite_item()
|