Home
last modified time | relevance | path

Searched refs:dst_size (Results 1 - 25 of 59) sorted by relevance

123

/kernel/linux/linux-6.6/drivers/gpu/drm/tests/
H A Ddrm_format_helper_test.c511 size_t dst_size; in drm_test_fb_xrgb8888_to_gray8() local
521 dst_size = conversion_buf_size(DRM_FORMAT_R8, result->dst_pitch, in drm_test_fb_xrgb8888_to_gray8()
523 KUNIT_ASSERT_GT(test, dst_size, 0); in drm_test_fb_xrgb8888_to_gray8()
525 buf = kunit_kzalloc(test, dst_size, GFP_KERNEL); in drm_test_fb_xrgb8888_to_gray8()
534 KUNIT_EXPECT_MEMEQ(test, buf, result->expected, dst_size); in drm_test_fb_xrgb8888_to_gray8()
541 size_t dst_size; in drm_test_fb_xrgb8888_to_rgb332() local
551 dst_size = conversion_buf_size(DRM_FORMAT_RGB332, result->dst_pitch, in drm_test_fb_xrgb8888_to_rgb332()
553 KUNIT_ASSERT_GT(test, dst_size, 0); in drm_test_fb_xrgb8888_to_rgb332()
555 buf = kunit_kzalloc(test, dst_size, GFP_KERNEL); in drm_test_fb_xrgb8888_to_rgb332()
564 KUNIT_EXPECT_MEMEQ(test, buf, result->expected, dst_size); in drm_test_fb_xrgb8888_to_rgb332()
571 size_t dst_size; drm_test_fb_xrgb8888_to_rgb565() local
607 size_t dst_size; drm_test_fb_xrgb8888_to_xrgb1555() local
638 size_t dst_size; drm_test_fb_xrgb8888_to_argb1555() local
669 size_t dst_size; drm_test_fb_xrgb8888_to_rgba5551() local
700 size_t dst_size; drm_test_fb_xrgb8888_to_rgb888() local
734 size_t dst_size; drm_test_fb_xrgb8888_to_argb8888() local
765 size_t dst_size; drm_test_fb_xrgb8888_to_xrgb2101010() local
796 size_t dst_size; drm_test_fb_xrgb8888_to_argb2101010() local
827 size_t dst_size; drm_test_fb_xrgb8888_to_mono() local
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A 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()
97 ZSTD_outBuffer output = { dst, dst_size, 0 }; in zstd_decompress_stream()
102 pr_err("failed to decompress (B): %zd -> %zd, dst_size %zd : %s\n", in zstd_decompress_stream()
103 src_size, output.size, dst_size, ZSTD_getErrorName(ret)); in zstd_decompress_stream()
107 output.size = dst_size in zstd_decompress_stream()
92 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 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()
/kernel/linux/linux-6.6/tools/perf/util/
H A 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()
97 ZSTD_outBuffer output = { dst, dst_size, 0 }; in zstd_decompress_stream()
102 pr_err("failed to decompress (B): %zd -> %zd, dst_size %zd : %s\n", in zstd_decompress_stream()
103 src_size, output.size, dst_size, ZSTD_getErrorName(ret)); in zstd_decompress_stream()
107 output.size = dst_size in zstd_decompress_stream()
92 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 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/mga/
H A 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_devcaps.c126 void *dst, uint32_t dst_size) in vmw_devcaps_copy()
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()
125 vmw_devcaps_copy(struct vmw_private *vmw, bool gb_aware, void *dst, uint32_t dst_size) vmw_devcaps_copy() argument
H A Dvmwgfx_devcaps.h39 void *dst, uint32_t dst_size);
/kernel/linux/linux-6.6/drivers/platform/x86/hp/hp-bioscfg/
H A Dbioscfg.c54 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 Dint-attributes.c307 int dst_size = *buffer_size / sizeof(u16); in hp_populate_integer_elements_from_buffer() local
311 dst = kcalloc(dst_size, sizeof(char), GFP_KERNEL); in hp_populate_integer_elements_from_buffer()
333 hp_get_string_from_buffer(&buffer_ptr, buffer_size, dst, dst_size); in hp_populate_integer_elements_from_buffer()
/kernel/linux/linux-5.10/fs/pstore/
H A Dplatform.c436 size_t dst_size; in pstore_blackbox_dump() local
479 dst_size = psinfo->bufsize; in pstore_blackbox_dump()
481 dst_size -= sizeof(struct fault_log_info); in pstore_blackbox_dump()
483 (void)kmsg_dump_get_buffer(dumper, true, dst + sizeof(struct fault_log_info), dst_size, in pstore_blackbox_dump()
522 size_t dst_size; in pstore_dump() local
537 dst_size = big_oops_buf_sz; in pstore_dump()
540 dst_size = psinfo->bufsize; in pstore_dump()
544 header_size = snprintf(dst, dst_size, "%s#%d Part%u\n", why, in pstore_dump()
546 dst_size -= header_size; in pstore_dump()
550 dst_size, in pstore_dump()
[all...]
/kernel/linux/linux-5.10/drivers/input/serio/
H A Di8042-loongsonio.h80 static void i8042_pnp_id_to_string(struct pnp_id *id, char *dst, int dst_size) in i8042_pnp_id_to_string() argument
82 strlcpy(dst, "PNP:", dst_size); in i8042_pnp_id_to_string()
85 strlcat(dst, " ", dst_size); in i8042_pnp_id_to_string()
86 strlcat(dst, id->id, dst_size); in i8042_pnp_id_to_string()
H A Di8042-acpipnpio.h1277 static void i8042_pnp_id_to_string(struct pnp_id *id, char *dst, int dst_size) in i8042_pnp_id_to_string() argument
1279 strlcpy(dst, "PNP:", dst_size); in i8042_pnp_id_to_string()
1282 strlcat(dst, " ", dst_size); in i8042_pnp_id_to_string()
1283 strlcat(dst, id->id, dst_size); in i8042_pnp_id_to_string()
/kernel/linux/linux-6.6/fs/pstore/
H A Dplatform.c305 size_t dst_size; in pstore_dump() local
319 dst_size = max_compressed_size ?: psinfo->bufsize; in pstore_dump()
322 header_size = snprintf(dst, dst_size, "%s#%d Part%u\n", why, in pstore_dump()
324 dst_size -= header_size; in pstore_dump()
328 dst_size, &dump_size)) in pstore_dump()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/rdma/
H A Drdma_user_cm.h90 __u16 dst_size; member
124 __u16 dst_size; member
/kernel/linux/linux-5.10/lib/
H A 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()
/kernel/linux/linux-6.6/lib/
H A 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()
/kernel/linux/linux-5.10/include/uapi/rdma/
H A Drdma_user_cm.h136 __u16 dst_size; member
177 __u16 dst_size; member
/kernel/linux/linux-6.6/include/uapi/rdma/
H A Drdma_user_cm.h136 __u16 dst_size; member
177 __u16 dst_size; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/rdma/
H A Drdma_user_cm.h103 __u16 dst_size; member
139 __u16 dst_size; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/rdma/
H A Drdma_user_cm.h103 __u16 dst_size; member
139 __u16 dst_size; member
/kernel/linux/linux-5.10/drivers/crypto/chelsio/
H A Dchcr_algo.c817 unsigned int temp = 0, transhdr_len, dst_size; in create_cipher_wr() local
829 dst_size = get_space_for_phys_dsgl(nents); in create_cipher_wr()
831 transhdr_len = CIPHER_TRANSHDR_SIZE(kctx_len, dst_size); in create_cipher_wr()
857 0, 1, dst_size); in create_cipher_wr()
882 ulptx = (struct ulptx_sgl *)((u8 *)(phys_cpl + 1) + dst_size); in create_cipher_wr()
887 temp = sizeof(struct cpl_rx_phys_dsgl) + dst_size + kctx_len + IV in create_cipher_wr()
2453 unsigned int dst_size = 0, temp, subtype = get_aead_subtype(tfm); in create_authenc_wr() local
2482 dst_size = get_space_for_phys_dsgl(dnents); in create_authenc_wr()
2485 transhdr_len = CIPHER_TRANSHDR_SIZE(kctx_len, dst_size); in create_authenc_wr()
2537 0, 0, dst_size); in create_authenc_wr()
2963 fill_sec_cpl_for_aead(struct cpl_tx_sec_pdu *sec_cpl, unsigned int dst_size, struct aead_request *req, unsigned short op_type) fill_sec_cpl_for_aead() argument
3051 unsigned int dst_size = 0, kctx_len, dnents, temp, snents; create_aead_ccm_wr() local
3150 unsigned int dst_size = 0, temp = 0, kctx_len, assoclen = req->assoclen; create_gcm_wr() local
[all...]
/kernel/linux/linux-6.6/drivers/crypto/chelsio/
H A 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()
2448 unsigned int dst_size = 0, temp, subtype = get_aead_subtype(tfm); in create_authenc_wr() local
2477 dst_size = get_space_for_phys_dsgl(dnents); in create_authenc_wr()
2480 transhdr_len = CIPHER_TRANSHDR_SIZE(kctx_len, dst_size); in create_authenc_wr()
2532 0, 0, dst_size); in create_authenc_wr()
2958 fill_sec_cpl_for_aead(struct cpl_tx_sec_pdu *sec_cpl, unsigned int dst_size, struct aead_request *req, unsigned short op_type) fill_sec_cpl_for_aead() argument
3046 unsigned int dst_size = 0, kctx_len, dnents, temp, snents; create_aead_ccm_wr() local
3145 unsigned int dst_size = 0, temp = 0, kctx_len, assoclen = req->assoclen; create_gcm_wr() local
[all...]
/kernel/linux/linux-5.10/include/net/bluetooth/
H A Dbluetooth.h490 static inline int bt_copy_from_sockptr(void *dst, size_t dst_size, in bt_copy_from_sockptr() argument
493 if (dst_size > src_size) in bt_copy_from_sockptr()
496 return copy_from_sockptr(dst, src, dst_size); in bt_copy_from_sockptr()
/kernel/linux/linux-6.6/drivers/input/serio/
H A Di8042-acpipnpio.h1382 static void i8042_pnp_id_to_string(struct pnp_id *id, char *dst, int dst_size) in i8042_pnp_id_to_string() argument
1384 strscpy(dst, "PNP:", dst_size); in i8042_pnp_id_to_string()
1387 strlcat(dst, " ", dst_size); in i8042_pnp_id_to_string()
1388 strlcat(dst, id->id, dst_size); in i8042_pnp_id_to_string()

Completed in 26 milliseconds

123