Home
last modified time | relevance | path

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

12

/linux-6.15/drivers/gpu/drm/tests/
H A Ddrm_format_helper_test.c646 size_t dst_size; in drm_test_fb_xrgb8888_to_gray8() local
679 size_t dst_size; in drm_test_fb_xrgb8888_to_rgb332() local
712 size_t dst_size; in drm_test_fb_xrgb8888_to_rgb565() local
766 size_t dst_size; in drm_test_fb_xrgb8888_to_xrgb1555() local
813 size_t dst_size; in drm_test_fb_xrgb8888_to_argb1555() local
860 size_t dst_size; in drm_test_fb_xrgb8888_to_rgba5551() local
907 size_t dst_size; in drm_test_fb_xrgb8888_to_rgb888() local
955 size_t dst_size; in drm_test_fb_xrgb8888_to_bgr888() local
1001 size_t dst_size; in drm_test_fb_xrgb8888_to_argb8888() local
1048 size_t dst_size; in drm_test_fb_xrgb8888_to_xrgb2101010() local
[all …]
/linux-6.15/tools/perf/util/
H A Dzstd.c31 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 Dcompress.h55 ssize_t zstd_compress_stream_to_records(struct zstd_data *data, void *dst, size_t dst_size,
60 void *dst, size_t dst_size);
75 void *dst __maybe_unused, size_t dst_size __maybe_unused, in zstd_compress_stream_to_records()
85 size_t dst_size __maybe_unused) in zstd_decompress_stream()
/linux-6.15/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_devcaps.c127 void *dst, uint32_t dst_size) in vmw_devcaps_copy() argument
132 memcpy(dst, vmw->devcaps, dst_size); in vmw_devcaps_copy()
134 ret = vmw_fill_compat_cap(vmw, dst, dst_size); in vmw_devcaps_copy()
139 memcpy(dst, &fifo_mem[SVGA_FIFO_3D_CAPS], dst_size); in vmw_devcaps_copy()
H A Dvmwgfx_devcaps.h39 void *dst, uint32_t dst_size);
H A Dvmwgfx_blit.c464 size_t dst_size = dst->tbo.resource->size; in vmw_external_bo_copy() local
490 dst_size -= dst_offset; in vmw_external_bo_copy()
493 min(dst_stride * height, min(dst_size, src_size))); in vmw_external_bo_copy()
/linux-6.15/fs/pstore/
H A Dplatform.c306 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-6.15/tools/testing/selftests/landlock/
H A Daudit.h213 size_t dst_size) in regex_escape() argument
226 if (d >= dst + dst_size - 2) in regex_escape()
233 if (d >= dst + dst_size - 1) in regex_escape()
239 if (d >= dst + dst_size - 1) in regex_escape()
/linux-6.15/drivers/pci/endpoint/functions/
H A Dpci-epf-test.c532 size_t orig_size, dst_size; in pci_epf_test_write() local
537 orig_size = dst_size = le32_to_cpu(reg->size); in pci_epf_test_write()
539 dst_buf = kzalloc(dst_size, GFP_KERNEL); in pci_epf_test_write()
544 get_random_bytes(dst_buf, dst_size); in pci_epf_test_write()
545 reg->checksum = cpu_to_le32(crc32_le(~0, dst_buf, dst_size)); in pci_epf_test_write()
548 while (dst_size) { in pci_epf_test_write()
550 dst_addr, dst_size, &map); in pci_epf_test_write()
589 dst_size -= map_size; in pci_epf_test_write()
/linux-6.15/drivers/platform/x86/hp/hp-bioscfg/
H A Dint-attributes.c304 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 Dbioscfg.c52 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()
/linux-6.15/lib/
H A Ddecompress_unlzma.c226 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-6.15/include/uapi/rdma/
H A Drdma_user_cm.h136 __u16 dst_size; member
177 __u16 dst_size; member
/linux-6.15/fs/ecryptfs/
H A 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()
1730 static void ecryptfs_encode_for_filename(unsigned char *dst, size_t *dst_size, in ecryptfs_encode_for_filename() argument
1739 (*dst_size) = 0; in ecryptfs_encode_for_filename()
1758 (*dst_size) = (num_blocks * 4); in ecryptfs_encode_for_filename()
1806 ecryptfs_decode_from_filename(unsigned char *dst, size_t *dst_size, in ecryptfs_decode_from_filename() argument
1814 (*dst_size) = ecryptfs_max_decoded_size(src_size); in ecryptfs_decode_from_filename()
1844 (*dst_size) = dst_byte_offset; in ecryptfs_decode_from_filename()
/linux-6.15/drivers/crypto/chelsio/
H A Dchcr_algo.c822 dst_size = get_space_for_phys_dsgl(nents); in create_cipher_wr()
850 0, 1, dst_size); in create_cipher_wr()
2484 dst_size = get_space_for_phys_dsgl(dnents); in create_authenc_wr()
2539 0, 0, dst_size); in create_authenc_wr()
2554 ivptr = (u8 *)(phys_cpl + 1) + dst_size; in create_authenc_wr()
2966 unsigned int dst_size, in fill_sec_cpl_for_aead() argument
3018 0, dst_size); in fill_sec_cpl_for_aead()
3077 dst_size = get_space_for_phys_dsgl(dnents); in create_aead_ccm_wr()
3114 ivptr = (u8 *)(phys_cpl + 1) + dst_size; in create_aead_ccm_wr()
3219 0, 0, dst_size); in create_gcm_wr()
[all …]
/linux-6.15/arch/s390/boot/
H A Dprintk.c87 static ssize_t strpad(char *dst, size_t dst_size, const char *src, in strpad() argument
93 if (max(len, abs(pad)) >= dst_size) in strpad()
/linux-6.15/drivers/gpu/drm/adp/
H A Dadp_drv.c160 u32 src_pos, src_size, dst_pos, dst_size; in adp_plane_atomic_update() local
174 dst_size = drm_rect_width(&new_state->dst) << 16 | in adp_plane_atomic_update()
179 writel(dst_size, adp->be + ADBE_DST_SIZE); in adp_plane_atomic_update()
/linux-6.15/drivers/input/serio/
H A Di8042-acpipnpio.h1434 static void i8042_pnp_id_to_string(struct pnp_id *id, char *dst, int dst_size) in i8042_pnp_id_to_string() argument
1436 strscpy(dst, "PNP:", dst_size); in i8042_pnp_id_to_string()
1439 strlcat(dst, " ", dst_size); in i8042_pnp_id_to_string()
1440 strlcat(dst, id->id, dst_size); in i8042_pnp_id_to_string()
/linux-6.15/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_sspp.c409 u32 src_size, src_xy, dst_size, dst_xy; in dpu_hw_sspp_setup_rects() local
436 dst_size = (drm_rect_height(&cfg->dst_rect) << 16) | in dpu_hw_sspp_setup_rects()
442 DPU_REG_WRITE(c, out_size_off, dst_size); in dpu_hw_sspp_setup_rects()
/linux-6.15/drivers/media/test-drivers/vicodec/
H A 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-6.15/fs/bcachefs/
H A Dbtree_iter.h612 static inline void __bkey_val_copy(void *dst_v, unsigned dst_size, struct bkey_s_c src_k) in __bkey_val_copy() argument
614 unsigned b = min_t(unsigned, dst_size, bkey_val_bytes(src_k.k)); in __bkey_val_copy()
616 if (unlikely(b < dst_size)) in __bkey_val_copy()
617 memset(dst_v + b, 0, dst_size - b); in __bkey_val_copy()
H A Dbkey.c792 unsigned dst_offset, unsigned dst_size, in compile_bkey_field() argument
812 switch (dst_size) { in compile_bkey_field()
958 switch (dst_size) { in compile_bkey_field()
/linux-6.15/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc_opr_v5.c1202 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-6.15/drivers/infiniband/core/
H A Ducma.c716 !cmd.dst_size || (cmd.dst_size != rdma_addr_size_kss(&cmd.dst_addr))) in ucma_resolve_addr()
901 resp.dst_size = rdma_addr_size(addr); in ucma_query_addr()
902 memcpy(&resp.dst_addr, addr, resp.dst_size); in ucma_query_addr()
979 resp.dst_size = sizeof(*addr); in ucma_query_gid()
981 memcpy(addr, &ctx->cm_id->route.addr.dst_addr, resp.dst_size); in ucma_query_gid()
/linux-6.15/sound/isa/wavefront/
H A 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()

12