Home
last modified time | relevance | path

Searched refs:src (Results 2126 - 2150 of 13877) sorted by relevance

1...<<81828384858687888990>>...556

/kernel/linux/linux-5.10/arch/arm64/crypto/
H A Dsha512-ce-glue.c29 asmlinkage int sha512_ce_transform(struct sha512_state *sst, u8 const *src,
32 asmlinkage void sha512_block_data_order(u64 *digest, u8 const *src, int blocks);
34 static void __sha512_ce_transform(struct sha512_state *sst, u8 const *src, in __sha512_ce_transform() argument
41 rem = sha512_ce_transform(sst, src, blocks); in __sha512_ce_transform()
43 src += (blocks - rem) * SHA512_BLOCK_SIZE; in __sha512_ce_transform()
48 static void __sha512_block_data_order(struct sha512_state *sst, u8 const *src, in __sha512_block_data_order() argument
51 sha512_block_data_order(sst->state, src, blocks); in __sha512_block_data_order()
/kernel/linux/linux-5.10/arch/powerpc/crypto/
H A Dsha1.c23 void powerpc_sha_transform(u32 *state, const u8 *src);
41 const u8 *src; in powerpc_sha1_update() local
46 src = data; in powerpc_sha1_update()
53 src = sctx->buffer; in powerpc_sha1_update()
57 powerpc_sha_transform(sctx->state, src); in powerpc_sha1_update()
59 src = data + done; in powerpc_sha1_update()
64 memcpy(sctx->buffer + partial, src, len - done); in powerpc_sha1_update()
/kernel/linux/linux-5.10/arch/sparc/include/asm/
H A Dchecksum_32.h35 /* the same as csum_partial, but copies from fs:src while it
38 * here even more important to align src and dst on a 32-bit (or even
45 csum_partial_copy_nocheck(const void *src, void *dst, int len) in csum_partial_copy_nocheck() argument
47 register unsigned int ret asm("o0") = (unsigned int)src; in csum_partial_copy_nocheck()
63 csum_and_copy_from_user(const void __user *src, void *dst, int len) in csum_and_copy_from_user() argument
65 if (unlikely(!access_ok(src, len))) in csum_and_copy_from_user()
67 return csum_partial_copy_nocheck((__force void *)src, dst, len); in csum_and_copy_from_user()
71 csum_and_copy_to_user(const void *src, void __user *dst, int len) in csum_and_copy_to_user() argument
75 return csum_partial_copy_nocheck(src, (__force void *)dst, len); in csum_and_copy_to_user()
/kernel/linux/linux-6.6/arch/powerpc/crypto/
H A Dsha1.c24 void powerpc_sha_transform(u32 *state, const u8 *src);
31 const u8 *src; in powerpc_sha1_update() local
36 src = data; in powerpc_sha1_update()
43 src = sctx->buffer; in powerpc_sha1_update()
47 powerpc_sha_transform(sctx->state, src); in powerpc_sha1_update()
49 src = data + done; in powerpc_sha1_update()
54 memcpy(sctx->buffer + partial, src, len - done); in powerpc_sha1_update()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/copyloops/
H A Dvalidate.c17 static void do_one(char *src, char *dst, unsigned long src_off, in do_one() argument
25 srcp = src + MIN_REDZONE + src_off; in do_one()
28 memset(src, POISON, BUFLEN); in do_one()
40 printf("src: "); in do_one()
65 char *src, *dst, *redzone, *fill; in test_copy_loop() local
69 src = memalign(BUFLEN, BUFLEN); in test_copy_loop()
74 if (!src || !dst || !redzone || !fill) { in test_copy_loop()
88 do_one(src, dst, src_off, dst_off, len, in test_copy_loop()
/kernel/linux/linux-6.6/arch/arm64/crypto/
H A Dsha512-ce-glue.c29 asmlinkage int sha512_ce_transform(struct sha512_state *sst, u8 const *src,
32 asmlinkage void sha512_block_data_order(u64 *digest, u8 const *src, int blocks);
34 static void __sha512_ce_transform(struct sha512_state *sst, u8 const *src, in __sha512_ce_transform() argument
41 rem = sha512_ce_transform(sst, src, blocks); in __sha512_ce_transform()
43 src += (blocks - rem) * SHA512_BLOCK_SIZE; in __sha512_ce_transform()
48 static void __sha512_block_data_order(struct sha512_state *sst, u8 const *src, in __sha512_block_data_order() argument
51 sha512_block_data_order(sst->state, src, blocks); in __sha512_block_data_order()
/kernel/linux/linux-6.6/arch/s390/crypto/
H A Dchacha-glue.c21 static void chacha20_crypt_s390(u32 *state, u8 *dst, const u8 *src, in chacha20_crypt_s390() argument
28 chacha20_vx(dst, src, nbytes, key, counter); in chacha20_crypt_s390()
53 walk.src.virt.addr, nbytes, in chacha20_s390()
57 walk.src.virt.addr, nbytes, in chacha20_s390()
78 void chacha_crypt_arch(u32 *state, u8 *dst, const u8 *src, in chacha_crypt_arch() argument
86 chacha_crypt_generic(state, dst, src, bytes, nrounds); in chacha_crypt_arch()
88 chacha20_crypt_s390(state, dst, src, bytes, in chacha_crypt_arch()
/kernel/linux/linux-6.6/arch/sparc/include/asm/
H A Dchecksum_32.h35 /* the same as csum_partial, but copies from fs:src while it
38 * here even more important to align src and dst on a 32-bit (or even
45 csum_partial_copy_nocheck(const void *src, void *dst, int len) in csum_partial_copy_nocheck() argument
47 register unsigned int ret asm("o0") = (unsigned int)src; in csum_partial_copy_nocheck()
63 csum_and_copy_from_user(const void __user *src, void *dst, int len) in csum_and_copy_from_user() argument
65 if (unlikely(!access_ok(src, len))) in csum_and_copy_from_user()
67 return csum_partial_copy_nocheck((__force void *)src, dst, len); in csum_and_copy_from_user()
71 csum_and_copy_to_user(const void *src, void __user *dst, int len) in csum_and_copy_to_user() argument
75 return csum_partial_copy_nocheck(src, (__force void *)dst, len); in csum_and_copy_to_user()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A Dtrace_misc.h60 int src),
61 TP_ARGS(dd, is_entry, src),
64 __field(int, src)
68 src - is_entry->start);
69 __entry->src = src;
72 __entry->src)
/kernel/linux/linux-5.10/sound/soc/sof/
H A Dutils.c65 void __iomem *src = sdev->bar[sdev->mailbox_bar] + offset; in sof_mailbox_read() local
67 memcpy_fromio(message, src, bytes); in sof_mailbox_read()
75 void sof_block_write(struct snd_sof_dev *sdev, u32 bar, u32 offset, void *src, in sof_block_write() argument
79 const u8 *src_byte = src; in sof_block_write()
88 __iowrite32_copy(dest, src, m); in sof_block_write()
109 void __iomem *src = sdev->bar[bar] + offset; in sof_block_read() local
111 memcpy_fromio(dest, src, size); in sof_block_read()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/selftests/
H A Dhuge_gem_object.c33 struct scatterlist *sg, *src, *end; in huge_get_pages() local
60 for (end = sg, src = pages->sgl; sg; sg = __sg_next(sg)) { in huge_get_pages()
61 sg_set_page(sg, sg_page(src), PAGE_SIZE, 0); in huge_get_pages()
62 src = __sg_next(src); in huge_get_pages()
63 if (src == end) in huge_get_pages()
64 src = pages->sgl; in huge_get_pages()
/kernel/linux/linux-5.10/include/crypto/
H A Dchacha.h91 void chacha_crypt_arch(u32 *state, u8 *dst, const u8 *src,
93 void chacha_crypt_generic(u32 *state, u8 *dst, const u8 *src,
96 static inline void chacha_crypt(u32 *state, u8 *dst, const u8 *src, in chacha_crypt() argument
100 chacha_crypt_arch(state, dst, src, bytes, nrounds); in chacha_crypt()
102 chacha_crypt_generic(state, dst, src, bytes, nrounds); in chacha_crypt()
105 static inline void chacha20_crypt(u32 *state, u8 *dst, const u8 *src, in chacha20_crypt() argument
108 chacha_crypt(state, dst, src, bytes, 20); in chacha20_crypt()
/kernel/linux/linux-6.6/include/crypto/
H A Dchacha.h91 void chacha_crypt_arch(u32 *state, u8 *dst, const u8 *src,
93 void chacha_crypt_generic(u32 *state, u8 *dst, const u8 *src,
96 static inline void chacha_crypt(u32 *state, u8 *dst, const u8 *src, in chacha_crypt() argument
100 chacha_crypt_arch(state, dst, src, bytes, nrounds); in chacha_crypt()
102 chacha_crypt_generic(state, dst, src, bytes, nrounds); in chacha_crypt()
105 static inline void chacha20_crypt(u32 *state, u8 *dst, const u8 *src, in chacha20_crypt() argument
108 chacha_crypt(state, dst, src, bytes, 20); in chacha20_crypt()
/kernel/linux/linux-6.6/arch/x86/crypto/
H A Dtwofish_glue_3way.c27 static inline void twofish_enc_blk_3way(const void *ctx, u8 *dst, const u8 *src) in twofish_enc_blk_3way() argument
29 __twofish_enc_blk_3way(ctx, dst, src, false); in twofish_enc_blk_3way()
32 void twofish_dec_blk_cbc_3way(const void *ctx, u8 *dst, const u8 *src) in twofish_dec_blk_cbc_3way() argument
35 const u8 *s = src; in twofish_dec_blk_cbc_3way()
37 if (dst == src) in twofish_dec_blk_cbc_3way()
38 s = memcpy(buf, src, sizeof(buf)); in twofish_dec_blk_cbc_3way()
39 twofish_dec_blk_3way(ctx, dst, src); in twofish_dec_blk_cbc_3way()
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
H A Dtrace_misc.h19 int src),
20 TP_ARGS(dd, is_entry, src),
23 __field(int, src)
27 src - is_entry->start);
28 __entry->src = src;
31 __entry->src)
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw88/
H A Dsar.c14 switch (sar->src) { in rtw_query_sar()
16 rtw_warn(rtwdev, "unknown SAR source: %d\n", sar->src); in rtw_query_sar()
30 if (sar->src != RTW_SAR_SOURCE_NONE && new->src != sar->src) { in rtw_apply_sar()
31 rtw_warn(rtwdev, "SAR source: %d is in use\n", sar->src); in rtw_apply_sar()
86 new.src = RTW_SAR_SOURCE_COMMON; in rtw_set_sar_specs()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/selftests/
H A Dhuge_gem_object.c33 struct scatterlist *sg, *src, *end; in huge_get_pages() local
64 for (end = sg, src = pages->sgl; sg; sg = __sg_next(sg)) { in huge_get_pages()
65 sg_set_page(sg, sg_page(src), PAGE_SIZE, 0); in huge_get_pages()
66 src = __sg_next(src); in huge_get_pages()
67 if (src == end) in huge_get_pages()
68 src = pages->sgl; in huge_get_pages()
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/copyloops/
H A Dvalidate.c17 static void do_one(char *src, char *dst, unsigned long src_off, in do_one() argument
25 srcp = src + MIN_REDZONE + src_off; in do_one()
28 memset(src, POISON, BUFLEN); in do_one()
40 printf("src: "); in do_one()
65 char *src, *dst, *redzone, *fill; in test_copy_loop() local
69 src = memalign(BUFLEN, BUFLEN); in test_copy_loop()
74 if (!src || !dst || !redzone || !fill) { in test_copy_loop()
88 do_one(src, dst, src_off, dst_off, len, in test_copy_loop()
/third_party/ffmpeg/libavcodec/
H A Ddcadsp.h38 void (*decode_joint)(int32_t **dst, int32_t **src,
46 void (*lfe_x96_float)(float *dst, const float *src,
61 void (*lfe_x96_fixed)(int32_t *dst, const int32_t *src,
72 void (*decor)(int32_t *dst, const int32_t *src, int coeff, ptrdiff_t len);
75 const int32_t *src, ptrdiff_t len);
77 void (*dmix_sub)(int32_t *dst, const int32_t *src, int coeff, ptrdiff_t len);
79 void (*dmix_add)(int32_t *dst, const int32_t *src, int coeff, ptrdiff_t len);
/third_party/ffmpeg/libavutil/
H A Daes_ctr.c107 void av_aes_ctr_crypt(struct AVAESCTR *a, uint8_t *dst, const uint8_t *src, int count) in av_aes_ctr_crypt() argument
109 const uint8_t* src_end = src + count; in av_aes_ctr_crypt()
113 while (src < src_end) { in av_aes_ctr_crypt()
121 cur_end_pos = src + AES_BLOCK_SIZE - a->block_offset; in av_aes_ctr_crypt()
124 a->block_offset += cur_end_pos - src; in av_aes_ctr_crypt()
127 while (src < cur_end_pos) { in av_aes_ctr_crypt()
128 *dst++ = *src++ ^ *encrypted_counter_pos++; in av_aes_ctr_crypt()
/third_party/ffmpeg/libavresample/
H A Dresample_template.c60 const FELEM *src = src0; in resample_nearest() local
61 dst[dst_index] = src[index]; in resample_nearest()
68 const FELEM *src = src0; in resample_linear() local
77 val += src[sample_index + i] * (FELEM2)filter[i]; in resample_linear()
78 v2 += src[sample_index + i] * (FELEM2)filter[i + c->filter_length]; in resample_linear()
90 const FELEM *src = src0; in resample_one() local
98 val += src[sample_index + i] * (FELEM2)filter[i]; in resample_one()
/third_party/ffmpeg/tools/
H A Dffescape.c63 AVBPrint src; in main() local
159 /* grab the input and store it in src */ in main()
160 av_bprint_init(&src, 1, AV_BPRINT_SIZE_UNLIMITED); in main()
162 av_bprint_chars(&src, c, 1); in main()
163 av_bprint_chars(&src, 0, 1); in main()
165 if (!av_bprint_is_complete(&src)) { in main()
167 av_bprint_finalize(&src, NULL); in main()
170 av_bprint_finalize(&src, &src_buf); in main()
H A Dzmqsend.c54 AVBPrint src; in main() local
114 /* grab the input and store it in src */ in main()
115 av_bprint_init(&src, 1, AV_BPRINT_SIZE_UNLIMITED); in main()
117 av_bprint_chars(&src, c, 1); in main()
118 av_bprint_chars(&src, 0, 1); in main()
120 if (!av_bprint_is_complete(&src)) { in main()
122 av_bprint_finalize(&src, NULL); in main()
126 av_bprint_finalize(&src, &src_buf); in main()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DByteArrayWrapper.java93 * @param src
96 public ByteArrayWrapper(byte[] src, int start, int limit) {
99 copyBytes(src, start, bytes, 0, size);
128 * contents of src from offset start to limit. If the byte array is null or its length is less than capacity, a new
131 * @param src source byte array to copy from
132 * @param start start offset of src to copy from
133 * @param limit end + 1 offset of src to copy from
137 public final ByteArrayWrapper set(byte[] src, int start, int limit) in set() argument
140 append(src, start, limit); in set()
156 * contents of src fro
164 append(byte[] src, int start, int limit) append() argument
278 copyBytes(byte[] src, int srcoff, byte[] tgt, int tgtoff, int length) copyBytes() argument
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
H A DByteArrayWrapper.java89 * @param src
92 public ByteArrayWrapper(byte[] src, int start, int limit) {
95 copyBytes(src, start, bytes, 0, size);
123 * contents of src from offset start to limit. If the byte array is null or its length is less than capacity, a new
126 * @param src source byte array to copy from
127 * @param start start offset of src to copy from
128 * @param limit end + 1 offset of src to copy from
131 public final ByteArrayWrapper set(byte[] src, int start, int limit) in set() argument
134 append(src, start, limit); in set()
150 * contents of src fro
157 append(byte[] src, int start, int limit) append() argument
266 copyBytes(byte[] src, int srcoff, byte[] tgt, int tgtoff, int length) copyBytes() argument
[all...]

Completed in 10 milliseconds

1...<<81828384858687888990>>...556