/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ni_routing/ni_device_routes/ |
H A D | pxi-6030e.c | 36 .src = (int[]){ 43 .src = (int[]){ 50 .src = (int[]){ 57 .src = (int[]){ 64 .src = (int[]){ 71 .src = (int[]){ 78 .src = (int[]){ 85 .src = (int[]){ 92 .src = (int[]){ 99 .src [all...] |
/kernel/linux/linux-6.6/drivers/comedi/drivers/ni_routing/ni_device_routes/ |
H A D | pxi-6030e.c | 35 .src = (int[]){ 42 .src = (int[]){ 49 .src = (int[]){ 56 .src = (int[]){ 63 .src = (int[]){ 70 .src = (int[]){ 77 .src = (int[]){ 84 .src = (int[]){ 91 .src = (int[]){ 98 .src [all...] |
/kernel/linux/linux-5.10/crypto/ |
H A D | cbc.c | 22 u8 *src = walk->src.virt.addr; in crypto_cbc_encrypt_segment() local 33 crypto_xor(iv, src, bsize); in crypto_cbc_encrypt_segment() 37 src += bsize; in crypto_cbc_encrypt_segment() 50 u8 *src = walk->src.virt.addr; in crypto_cbc_encrypt_inplace() local 60 crypto_xor(src, iv, bsize); in crypto_cbc_encrypt_inplace() 61 fn(tfm, src, src); in crypto_cbc_encrypt_inplace() 62 iv = src; in crypto_cbc_encrypt_inplace() 97 u8 *src = walk->src.virt.addr; crypto_cbc_decrypt_segment() local 127 u8 *src = walk->src.virt.addr; crypto_cbc_decrypt_inplace() local [all...] |
H A D | pcbc.c | 25 u8 *src = walk->src.virt.addr; in crypto_pcbc_encrypt_segment() local 30 crypto_xor(iv, src, bsize); in crypto_pcbc_encrypt_segment() 32 crypto_xor_cpy(iv, dst, src, bsize); in crypto_pcbc_encrypt_segment() 34 src += bsize; in crypto_pcbc_encrypt_segment() 47 u8 *src = walk->src.virt.addr; in crypto_pcbc_encrypt_inplace() local 52 memcpy(tmpbuf, src, bsize); in crypto_pcbc_encrypt_inplace() 53 crypto_xor(iv, src, bsize); in crypto_pcbc_encrypt_inplace() 54 crypto_cipher_encrypt_one(tfm, src, i in crypto_pcbc_encrypt_inplace() 92 u8 *src = walk->src.virt.addr; crypto_pcbc_decrypt_segment() local 114 u8 *src = walk->src.virt.addr; crypto_pcbc_decrypt_inplace() local [all...] |
/kernel/linux/linux-6.6/crypto/ |
H A D | cbc.c | 23 u8 *src = walk->src.virt.addr; in crypto_cbc_encrypt_segment() local 34 crypto_xor(iv, src, bsize); in crypto_cbc_encrypt_segment() 38 src += bsize; in crypto_cbc_encrypt_segment() 51 u8 *src = walk->src.virt.addr; in crypto_cbc_encrypt_inplace() local 61 crypto_xor(src, iv, bsize); in crypto_cbc_encrypt_inplace() 62 fn(tfm, src, src); in crypto_cbc_encrypt_inplace() 63 iv = src; in crypto_cbc_encrypt_inplace() 98 u8 *src = walk->src.virt.addr; crypto_cbc_decrypt_segment() local 128 u8 *src = walk->src.virt.addr; crypto_cbc_decrypt_inplace() local [all...] |
H A D | pcbc.c | 26 u8 *src = walk->src.virt.addr; in crypto_pcbc_encrypt_segment() local 31 crypto_xor(iv, src, bsize); in crypto_pcbc_encrypt_segment() 33 crypto_xor_cpy(iv, dst, src, bsize); in crypto_pcbc_encrypt_segment() 35 src += bsize; in crypto_pcbc_encrypt_segment() 48 u8 *src = walk->src.virt.addr; in crypto_pcbc_encrypt_inplace() local 53 memcpy(tmpbuf, src, bsize); in crypto_pcbc_encrypt_inplace() 54 crypto_xor(iv, src, bsize); in crypto_pcbc_encrypt_inplace() 55 crypto_cipher_encrypt_one(tfm, src, i in crypto_pcbc_encrypt_inplace() 93 u8 *src = walk->src.virt.addr; crypto_pcbc_decrypt_segment() local 115 u8 *src = walk->src.virt.addr; crypto_pcbc_decrypt_inplace() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/gud/ |
H A D | gud_internal.h | 128 const struct drm_display_mode *src) in gud_from_display_mode() 130 u32 flags = src->flags & GUD_DISPLAY_MODE_FLAG_USER_MASK; in gud_from_display_mode() 132 if (src->type & DRM_MODE_TYPE_PREFERRED) in gud_from_display_mode() 135 dst->clock = cpu_to_le32(src->clock); in gud_from_display_mode() 136 dst->hdisplay = cpu_to_le16(src->hdisplay); in gud_from_display_mode() 137 dst->hsync_start = cpu_to_le16(src->hsync_start); in gud_from_display_mode() 138 dst->hsync_end = cpu_to_le16(src->hsync_end); in gud_from_display_mode() 139 dst->htotal = cpu_to_le16(src->htotal); in gud_from_display_mode() 140 dst->vdisplay = cpu_to_le16(src->vdisplay); in gud_from_display_mode() 141 dst->vsync_start = cpu_to_le16(src in gud_from_display_mode() 127 gud_from_display_mode(struct gud_display_mode_req *dst, const struct drm_display_mode *src) gud_from_display_mode() argument 147 gud_to_display_mode(struct drm_display_mode *dst, const struct gud_display_mode_req *src) gud_to_display_mode() argument [all...] |
/kernel/liteos_a/fs/vfs/operation/ |
H A D | fullpath.c | 66 char *src = path; in str_path() local 68 while (*src != '\0') { in str_path() 69 if (*src == '/') { in str_path() 70 *dest++ = *src++; in str_path() 71 while (*src == '/') { in str_path() 72 src++; in str_path() 76 *dest++ = *src++; in str_path() 96 char *src = fullpath; in str_normalize_path() local 100 while (*src != '\0') { in str_normalize_path() 101 if (*src in str_normalize_path() [all...] |
/kernel/liteos_m/components/shell/src/cmds/ |
H A D | fullpath.c | 56 CHAR *src = path; in StrPath() local 58 while (*src != '\0') { in StrPath() 59 if (*src == '/') { in StrPath() 60 *dest++ = *src++; in StrPath() 61 while (*src == '/') { in StrPath() 62 src++; in StrPath() 66 *dest++ = *src++; in StrPath() 86 CHAR *src = fullpath; in StrNormalizePath() local 89 while (*src != '\0') { in StrNormalizePath() 90 if (*src in StrNormalizePath() [all...] |
/kernel/linux/linux-5.10/arch/x86/crypto/ |
H A D | blowfish_glue.c | 22 asmlinkage void __blowfish_enc_blk(struct bf_ctx *ctx, u8 *dst, const u8 *src, 24 asmlinkage void blowfish_dec_blk(struct bf_ctx *ctx, u8 *dst, const u8 *src); 28 const u8 *src, bool xor); 30 const u8 *src); 32 static inline void blowfish_enc_blk(struct bf_ctx *ctx, u8 *dst, const u8 *src) in blowfish_enc_blk() argument 34 __blowfish_enc_blk(ctx, dst, src, false); in blowfish_enc_blk() 38 const u8 *src) in blowfish_enc_blk_xor() 40 __blowfish_enc_blk(ctx, dst, src, true); in blowfish_enc_blk_xor() 44 const u8 *src) in blowfish_enc_blk_4way() 46 __blowfish_enc_blk_4way(ctx, dst, src, fals in blowfish_enc_blk_4way() 37 blowfish_enc_blk_xor(struct bf_ctx *ctx, u8 *dst, const u8 *src) blowfish_enc_blk_xor() argument 43 blowfish_enc_blk_4way(struct bf_ctx *ctx, u8 *dst, const u8 *src) blowfish_enc_blk_4way() argument 49 blowfish_enc_blk_xor_4way(struct bf_ctx *ctx, u8 *dst, const u8 *src) blowfish_enc_blk_xor_4way() argument 55 blowfish_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) blowfish_encrypt() argument 57 blowfish_enc_blk(crypto_tfm_ctx(tfm), dst, src); blowfish_encrypt() local 60 blowfish_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) blowfish_decrypt() argument 62 blowfish_dec_blk(crypto_tfm_ctx(tfm), dst, src); blowfish_decrypt() local 133 u64 *src = (u64 *)walk->src.virt.addr; __cbc_encrypt() local 174 u64 *src = (u64 *)walk->src.virt.addr; __cbc_decrypt() local 254 u8 *src = walk->src.virt.addr; ctr_crypt_final() local 268 u64 *src = (u64 *)walk->src.virt.addr; __ctr_crypt() local [all...] |
H A D | glue_helper-asm-avx.S | 8 #define load_8way(src, x0, x1, x2, x3, x4, x5, x6, x7) \ 9 vmovdqu (0*16)(src), x0; \ 10 vmovdqu (1*16)(src), x1; \ 11 vmovdqu (2*16)(src), x2; \ 12 vmovdqu (3*16)(src), x3; \ 13 vmovdqu (4*16)(src), x4; \ 14 vmovdqu (5*16)(src), x5; \ 15 vmovdqu (6*16)(src), x6; \ 16 vmovdqu (7*16)(src), x7; 28 #define store_cbc_8way(src, ds [all...] |
/kernel/linux/linux-5.10/tools/objtool/arch/x86/ |
H A D | decode.c | 148 op->src.type = OP_SRC_ADD; in arch_decode_instruction() 149 op->src.reg = op_to_cfi_reg[modrm_reg][rex_r]; in arch_decode_instruction() 160 op->src.type = OP_SRC_REG; in arch_decode_instruction() 161 op->src.reg = op_to_cfi_reg[op1 & 0x7][rex_b]; in arch_decode_instruction() 171 op->src.type = OP_SRC_POP; in arch_decode_instruction() 182 op->src.type = OP_SRC_CONST; in arch_decode_instruction() 199 op->src.type = OP_SRC_AND; in arch_decode_instruction() 200 op->src.reg = CFI_SP; in arch_decode_instruction() 201 op->src.offset = insn.immediate.value; in arch_decode_instruction() 217 op->src in arch_decode_instruction() [all...] |
/kernel/liteos_m/testsuites/unittest/xts/io/ |
H A D | xts_io_string_test.c | 71 const char src[] = "ABCDEF"; variable 72 int ret = strncmp(dest, src, 1); /* 1 common data for test, no special meaning */ 90 const char *src = "hello world !"; variable 92 char *ret = stpcpy(dest, src); 94 ICUNIT_ASSERT_STRING_EQUAL(dest, src, dest); 111 char src[] = "hello world !"; variable 113 char *ret = stpncpy(dest, src, 5); /* 5 common data for test, no special meaning */ 132 char src[] = "hello world !"; variable 134 int ret = strcpy_s(dest, sizeof(dest), src); 151 char src[] variable 203 char src[] = "hello !! world"; global() variable 219 char src[] = "hello world & HEELO & WORLD"; global() variable 235 char src[] = "hello world !"; global() variable 254 char src[] = "hello world & This is-String1"; global() variable 278 char src[] = "hello world !"; global() variable 297 const char src[] = "!"; global() variable 315 const char src[] = "heAlo"; global() variable 339 const char src[] = "heAlo"; global() variable [all...] |
/kernel/linux/linux-5.10/arch/mips/lib/ |
H A D | memcpy.S | 41 #define src a1 define 47 * memcpy copies len bytes from src to dst and sets v0 to dst. 49 * - src and dst don't overlap 50 * - src is readable 54 * __copy_user copies up to len bytes from src to dst and sets a2 (len) to 56 * __copy_user assumes that src and dst don't overlap, and that the call is 59 * - src is readable (no exceptions when reading src) 78 * 2- src_entry <= src < AT, and 79 * 3- (dst - src) [all...] |
/kernel/linux/linux-6.6/arch/mips/lib/ |
H A D | memcpy.S | 41 #define src a1 define 47 * memcpy copies len bytes from src to dst and sets v0 to dst. 49 * - src and dst don't overlap 50 * - src is readable 54 * __copy_user copies up to len bytes from src to dst and sets a2 (len) to 56 * __copy_user assumes that src and dst don't overlap, and that the call is 59 * - src is readable (no exceptions when reading src) 78 * 2- src_entry <= src < AT, and 79 * 3- (dst - src) [all...] |
/kernel/linux/linux-6.6/lib/zstd/compress/ |
H A D | zstd_lazy.h | 34 void const* src, size_t srcSize); 37 void const* src, size_t srcSize); 40 void const* src, size_t srcSize); 43 void const* src, size_t srcSize); 46 void const* src, size_t srcSize); 49 void const* src, size_t srcSize); 52 void const* src, size_t srcSize); 56 void const* src, size_t srcSize); 59 void const* src, size_t srcSize); 62 void const* src, size_ [all...] |
/kernel/linux/linux-5.10/drivers/misc/vmw_vmci/ |
H A D | vmci_route.c | 20 int vmci_route(struct vmci_handle *src, in vmci_route() argument 64 if (VMCI_HOST_CONTEXT_ID == src->context) in vmci_route() 75 if (VMCI_INVALID_ID == src->context && in vmci_route() 76 VMCI_INVALID_ID != src->resource) in vmci_route() 77 src->context = vmci_get_context_id(); in vmci_route() 94 if (src->context == VMCI_HYPERVISOR_CONTEXT_ID) { in vmci_route() 113 if (VMCI_INVALID_ID == src->context) in vmci_route() 114 src->context = vmci_get_context_id(); in vmci_route() 130 if (VMCI_INVALID_ID == src->context) { in vmci_route() 139 src in vmci_route() [all...] |
/kernel/linux/linux-6.6/drivers/misc/vmw_vmci/ |
H A D | vmci_route.c | 20 int vmci_route(struct vmci_handle *src, in vmci_route() argument 64 if (VMCI_HOST_CONTEXT_ID == src->context) in vmci_route() 75 if (VMCI_INVALID_ID == src->context && in vmci_route() 76 VMCI_INVALID_ID != src->resource) in vmci_route() 77 src->context = vmci_get_context_id(); in vmci_route() 94 if (src->context == VMCI_HYPERVISOR_CONTEXT_ID) { in vmci_route() 113 if (VMCI_INVALID_ID == src->context) in vmci_route() 114 src->context = vmci_get_context_id(); in vmci_route() 130 if (VMCI_INVALID_ID == src->context) { in vmci_route() 139 src in vmci_route() [all...] |
/kernel/linux/linux-6.6/arch/x86/crypto/ |
H A D | camellia.h | 27 asmlinkage void __camellia_enc_blk(const void *ctx, u8 *dst, const u8 *src, 29 asmlinkage void camellia_dec_blk(const void *ctx, u8 *dst, const u8 *src); 32 asmlinkage void __camellia_enc_blk_2way(const void *ctx, u8 *dst, const u8 *src, 34 asmlinkage void camellia_dec_blk_2way(const void *ctx, u8 *dst, const u8 *src); 37 asmlinkage void camellia_ecb_enc_16way(const void *ctx, u8 *dst, const u8 *src); 38 asmlinkage void camellia_ecb_dec_16way(const void *ctx, u8 *dst, const u8 *src); 40 asmlinkage void camellia_cbc_dec_16way(const void *ctx, u8 *dst, const u8 *src); 42 static inline void camellia_enc_blk(const void *ctx, u8 *dst, const u8 *src) in camellia_enc_blk() argument 44 __camellia_enc_blk(ctx, dst, src, false); in camellia_enc_blk() 47 static inline void camellia_enc_blk_xor(const void *ctx, u8 *dst, const u8 *src) in camellia_enc_blk_xor() argument 52 camellia_enc_blk_2way(const void *ctx, u8 *dst, const u8 *src) camellia_enc_blk_2way() argument 58 camellia_enc_blk_xor_2way(const void *ctx, u8 *dst, const u8 *src) camellia_enc_blk_xor_2way() argument [all...] |
H A D | sm4_aesni_avx_glue.c | 23 const u8 *src, int nblocks); 25 const u8 *src, int nblocks); 27 const u8 *src, u8 *iv); 29 const u8 *src, u8 *iv); 31 const u8 *src, u8 *iv); 50 const u8 *src = walk.src.virt.addr; in ecb_do_crypt() local 55 sm4_aesni_avx_crypt8(rkey, dst, src, 8); in ecb_do_crypt() 57 src += SM4_CRYPT8_BLOCK_SIZE; in ecb_do_crypt() 62 sm4_aesni_avx_crypt4(rkey, dst, src, nblock in ecb_do_crypt() 105 const u8 *src = walk.src.virt.addr; sm4_cbc_encrypt() local 138 const u8 *src = walk.src.virt.addr; sm4_avx_cbc_decrypt() local 204 const u8 *src = walk.src.virt.addr; sm4_cfb_encrypt() local 244 const u8 *src = walk.src.virt.addr; sm4_avx_cfb_decrypt() local 313 const u8 *src = walk.src.virt.addr; sm4_avx_ctr_crypt() local [all...] |
/kernel/liteos_a/arch/arm/arm/src/ |
H A D | user_copy.c | 40 size_t arch_copy_from_user(void *dst, const void *src, size_t len) in arch_copy_from_user() argument 42 return LOS_ArchCopyFromUser(dst, src, len); in arch_copy_from_user() 45 size_t LOS_ArchCopyFromUser(void *dst, const void *src, size_t len) in LOS_ArchCopyFromUser() argument 47 if (!LOS_IsUserAddressRange((VADDR_T)(UINTPTR)src, len)) { in LOS_ArchCopyFromUser() 51 return _arm_user_copy(dst, src, len); in LOS_ArchCopyFromUser() 54 size_t arch_copy_to_user(void *dst, const void *src, size_t len) in arch_copy_to_user() argument 56 return LOS_ArchCopyToUser(dst, src, len); in arch_copy_to_user() 59 size_t LOS_ArchCopyToUser(void *dst, const void *src, size_t len) in LOS_ArchCopyToUser() argument 65 return _arm_user_copy(dst, src, len); in LOS_ArchCopyToUser() 68 INT32 LOS_CopyFromKernel(VOID *dest, UINT32 max, const VOID *src, UINT3 argument 81 LOS_CopyToKernel(VOID *dest, UINT32 max, const VOID *src, UINT32 count) LOS_CopyToKernel() argument [all...] |
/kernel/linux/linux-5.10/arch/m68k/math-emu/ |
H A D | fp_arith.h | 20 fp_fabs(struct fp_ext *dest, struct fp_ext *src); 22 fp_fneg(struct fp_ext *dest, struct fp_ext *src); 26 fp_fadd(struct fp_ext *dest, struct fp_ext *src); 28 fp_fsub(struct fp_ext *dest, struct fp_ext *src); 30 fp_fcmp(struct fp_ext *dest, struct fp_ext *src); 32 fp_ftst(struct fp_ext *dest, struct fp_ext *src); 34 fp_fmul(struct fp_ext *dest, struct fp_ext *src); 36 fp_fdiv(struct fp_ext *dest, struct fp_ext *src); 40 fp_fmod(struct fp_ext *dest, struct fp_ext *src); 42 fp_frem(struct fp_ext *dest, struct fp_ext *src); [all...] |
/kernel/linux/linux-6.6/arch/m68k/math-emu/ |
H A D | fp_arith.h | 20 fp_fabs(struct fp_ext *dest, struct fp_ext *src); 22 fp_fneg(struct fp_ext *dest, struct fp_ext *src); 26 fp_fadd(struct fp_ext *dest, struct fp_ext *src); 28 fp_fsub(struct fp_ext *dest, struct fp_ext *src); 30 fp_fcmp(struct fp_ext *dest, struct fp_ext *src); 32 fp_ftst(struct fp_ext *dest, struct fp_ext *src); 34 fp_fmul(struct fp_ext *dest, struct fp_ext *src); 36 fp_fdiv(struct fp_ext *dest, struct fp_ext *src); 40 fp_fmod(struct fp_ext *dest, struct fp_ext *src); 42 fp_frem(struct fp_ext *dest, struct fp_ext *src); [all...] |
/kernel/linux/linux-6.6/arch/microblaze/lib/ |
H A D | memcpy.c | 37 const char *src = v_src; in memcpy() local 56 *dst++ = *src++; in memcpy() 60 *dst++ = *src++; in memcpy() 64 *dst++ = *src++; in memcpy() 72 switch ((unsigned long)src & 3) { in memcpy() 74 i_src = (const void *)src; in memcpy() 79 src = (const void *)i_src; in memcpy() 83 i_src = (const void *) ((unsigned)src & ~3); in memcpy() 104 src = (const void *)i_src; in memcpy() 105 src in memcpy() [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | string_helpers.h | 28 int string_unescape(char *src, char *dst, size_t size, unsigned int flags); 35 static inline int string_unescape_any(char *src, char *dst, size_t size) in string_unescape_any() argument 37 return string_unescape(src, dst, size, UNESCAPE_ANY); in string_unescape_any() 55 int string_escape_mem(const char *src, size_t isz, char *dst, size_t osz, 58 int string_escape_mem_ascii(const char *src, size_t isz, char *dst, 61 static inline int string_escape_mem_any_np(const char *src, size_t isz, in string_escape_mem_any_np() argument 64 return string_escape_mem(src, isz, dst, osz, ESCAPE_ANY_NP, only); in string_escape_mem_any_np() 67 static inline int string_escape_str(const char *src, char *dst, size_t sz, in string_escape_str() argument 70 return string_escape_mem(src, strlen(src), ds in string_escape_str() 73 string_escape_str_any_np(const char *src, char *dst, size_t sz, const char *only) string_escape_str_any_np() argument 79 string_upper(char *dst, const char *src) string_upper() argument 86 string_lower(char *dst, const char *src) string_lower() argument [all...] |