/arch/nios2/lib/ |
D | memmove.c | 15 unsigned long dst, src; in memmove() local 22 src = (unsigned long) s; in memmove() 24 if ((count < 8) || ((dst ^ src) & 3)) in memmove() 28 *(char *)dst++ = *(char *)src++; in memmove() 32 *(short *)dst = *(short *)src; in memmove() 33 src += 2; in memmove() 38 *(long *)dst = *(long *)src; in memmove() 39 src += 4; in memmove() 45 *(char *)dst++ = *(char *)src++; in memmove() 48 src = (unsigned long) s + count; in memmove() [all …]
|
/arch/parisc/math-emu/ |
D | sfsqrt.c | 44 register unsigned int src, result; in sgl_fsqrt() local 49 src = *srcptr; in sgl_fsqrt() 53 if ((src_exponent = Sgl_exponent(src)) == SGL_INFINITY_EXPONENT) { in sgl_fsqrt() 57 if (Sgl_isone_signaling(src)) { in sgl_fsqrt() 62 Sgl_set_quiet(src); in sgl_fsqrt() 68 if (Sgl_iszero_sign(src) || Sgl_isnotzero_mantissa(src)) { in sgl_fsqrt() 69 *dstptr = src; in sgl_fsqrt() 77 if (Sgl_iszero_exponentmantissa(src)) { in sgl_fsqrt() 78 *dstptr = src; in sgl_fsqrt() 85 if (Sgl_isone_sign(src)) { in sgl_fsqrt() [all …]
|
D | fcnvfx.c | 51 register unsigned int src, temp; in sgl_to_sgl_fcnvfx() local 55 src = *srcptr; in sgl_to_sgl_fcnvfx() 56 src_exponent = Sgl_exponent(src) - SGL_BIAS; in sgl_to_sgl_fcnvfx() 64 Sgl_isnotzero_mantissa(src) || Sgl_iszero_sign(src)) { in sgl_to_sgl_fcnvfx() 65 if (Sgl_iszero_sign(src)) result = 0x7fffffff; in sgl_to_sgl_fcnvfx() 80 temp = src; in sgl_to_sgl_fcnvfx() 83 if (Sgl_isone_sign(src)) result = -Sgl_all(temp); in sgl_to_sgl_fcnvfx() 87 if (Sgl_isinexact_to_fix(src,src_exponent)) { in sgl_to_sgl_fcnvfx() 92 if (Sgl_iszero_sign(src)) result++; in sgl_to_sgl_fcnvfx() 95 if (Sgl_isone_sign(src)) result--; in sgl_to_sgl_fcnvfx() [all …]
|
/arch/m68k/math-emu/ |
D | fp_arith.c | 32 fp_fabs(struct fp_ext *dest, struct fp_ext *src) in fp_fabs() argument 36 fp_monadic_check(dest, src); in fp_fabs() 44 fp_fneg(struct fp_ext *dest, struct fp_ext *src) in fp_fneg() argument 48 fp_monadic_check(dest, src); in fp_fneg() 61 fp_fadd(struct fp_ext *dest, struct fp_ext *src) in fp_fadd() argument 67 fp_dyadic_check(dest, src); in fp_fadd() 71 if (IS_INF(src) && (src->sign != dest->sign)) in fp_fadd() 75 if (IS_INF(src)) { in fp_fadd() 76 fp_copy_ext(dest, src); in fp_fadd() 81 if (IS_ZERO(src)) { in fp_fadd() [all …]
|
D | fp_trig.c | 22 fp_fsin(struct fp_ext *dest, struct fp_ext *src) in fp_fsin() argument 26 fp_monadic_check(dest, src); in fp_fsin() 32 fp_fcos(struct fp_ext *dest, struct fp_ext *src) in fp_fcos() argument 36 fp_monadic_check(dest, src); in fp_fcos() 42 fp_ftan(struct fp_ext *dest, struct fp_ext *src) in fp_ftan() argument 46 fp_monadic_check(dest, src); in fp_ftan() 52 fp_fasin(struct fp_ext *dest, struct fp_ext *src) in fp_fasin() argument 56 fp_monadic_check(dest, src); in fp_fasin() 62 fp_facos(struct fp_ext *dest, struct fp_ext *src) in fp_facos() argument 66 fp_monadic_check(dest, src); in fp_facos() [all …]
|
D | fp_log.c | 25 extern struct fp_ext *fp_fadd(struct fp_ext *dest, const struct fp_ext *src); 26 extern struct fp_ext *fp_fdiv(struct fp_ext *dest, const struct fp_ext *src); 29 fp_fsqrt(struct fp_ext *dest, struct fp_ext *src) in fp_fsqrt() argument 36 fp_monadic_check(dest, src); in fp_fsqrt() 102 fp_fetoxm1(struct fp_ext *dest, struct fp_ext *src) in fp_fetoxm1() argument 106 fp_monadic_check(dest, src); in fp_fetoxm1() 112 fp_fetox(struct fp_ext *dest, struct fp_ext *src) in fp_fetox() argument 116 fp_monadic_check(dest, src); in fp_fetox() 122 fp_ftwotox(struct fp_ext *dest, struct fp_ext *src) in fp_ftwotox() argument 126 fp_monadic_check(dest, src); in fp_ftwotox() [all …]
|
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 …]
|
/arch/m68k/lib/ |
D | memmove.c | 10 void *memmove(void *dest, const void *src, size_t n) in memmove() argument 18 if (dest < src) { in memmove() 21 const char *csrc = src; in memmove() 24 src = csrc; in memmove() 29 const short *ssrc = src; in memmove() 32 src = ssrc; in memmove() 38 const long *lsrc = src; in memmove() 44 src = lsrc; in memmove() 48 const short *ssrc = src; in memmove() 51 src = ssrc; in memmove() [all …]
|
/arch/microblaze/lib/ |
D | memmove.c | 37 const char *src = v_src; in memmove() local 48 src += c; in memmove() 53 *--dst = *--src; in memmove() 60 const char *src = v_src; in memmove() local 81 src += c; in memmove() 91 *--dst = *--src; in memmove() 94 *--dst = *--src; in memmove() 97 *--dst = *--src; in memmove() 104 switch ((unsigned long)src & 3) { in memmove() 107 i_src = (const void *)src; in memmove() [all …]
|
D | memcpy.c | 38 const char *src = v_src; in memcpy() local 43 *dst++ = *src++; in memcpy() 50 const char *src = v_src; in memcpy() local 69 *dst++ = *src++; in memcpy() 72 *dst++ = *src++; in memcpy() 75 *dst++ = *src++; in memcpy() 83 switch ((unsigned long)src & 3) { in memcpy() 85 i_src = (const void *)src; in memcpy() 90 src = (const void *)i_src; in memcpy() 94 i_src = (const void *) ((unsigned)src & ~3); in memcpy() [all …]
|
/arch/x86/include/asm/crypto/ |
D | camellia.h | 36 const u8 *src, bool xor); 38 const u8 *src); 42 const u8 *src, bool xor); 44 const u8 *src); 48 const u8 *src); 50 const u8 *src); 53 const u8 *src); 55 const u8 *src, le128 *iv); 58 const u8 *src, le128 *iv); 60 const u8 *src, le128 *iv); [all …]
|
D | serpent-sse2.h | 13 const u8 *src, bool xor); 15 const u8 *src); 18 const u8 *src) in serpent_enc_blk_xway() argument 20 __serpent_enc_blk_4way(ctx, dst, src, false); in serpent_enc_blk_xway() 24 const u8 *src) in serpent_enc_blk_xway_xor() argument 26 __serpent_enc_blk_4way(ctx, dst, src, true); in serpent_enc_blk_xway_xor() 30 const u8 *src) in serpent_dec_blk_xway() argument 32 serpent_dec_blk_4way(ctx, dst, src); in serpent_dec_blk_xway() 40 const u8 *src, bool xor); 42 const u8 *src); [all …]
|
/arch/x86/include/asm/ |
D | uaccess_64.h | 66 raw_copy_from_user(void *dst, const void __user *src, unsigned long size) in raw_copy_from_user() argument 71 return copy_user_generic(dst, (__force void *)src, size); in raw_copy_from_user() 75 __get_user_asm_nozero(*(u8 *)dst, (u8 __user *)src, in raw_copy_from_user() 81 __get_user_asm_nozero(*(u16 *)dst, (u16 __user *)src, in raw_copy_from_user() 87 __get_user_asm_nozero(*(u32 *)dst, (u32 __user *)src, in raw_copy_from_user() 93 __get_user_asm_nozero(*(u64 *)dst, (u64 __user *)src, in raw_copy_from_user() 99 __get_user_asm_nozero(*(u64 *)dst, (u64 __user *)src, in raw_copy_from_user() 103 (u16 __user *)(8 + (char __user *)src), in raw_copy_from_user() 109 __get_user_asm_nozero(*(u64 *)dst, (u64 __user *)src, in raw_copy_from_user() 113 (u64 __user *)(8 + (char __user *)src), in raw_copy_from_user() [all …]
|
D | string_64.h | 58 void *memmove(void *dest, const void *src, size_t count); 59 void *__memmove(void *dest, const void *src, size_t count); 63 char *strcpy(char *dest, const char *src); 64 char *strcat(char *dest, const char *src); 75 #define memcpy(dst, src, len) __memcpy(dst, src, len) argument 76 #define memmove(dst, src, len) __memmove(dst, src, len) argument 86 __must_check unsigned long __memcpy_mcsafe(void *dst, const void *src, 106 memcpy_mcsafe(void *dst, const void *src, size_t cnt) in memcpy_mcsafe() argument 110 return __memcpy_mcsafe(dst, src, cnt); in memcpy_mcsafe() 113 memcpy(dst, src, cnt); in memcpy_mcsafe() [all …]
|
/arch/s390/include/asm/ |
D | pci_io.h | 67 static inline int zpci_write_single(volatile void __iomem *dst, const void *src, in zpci_write_single() argument 74 val = (u64) *((u8 *) src); in zpci_write_single() 77 val = (u64) *((u16 *) src); in zpci_write_single() 80 val = (u64) *((u32 *) src); in zpci_write_single() 83 val = (u64) *((u64 *) src); in zpci_write_single() 92 static inline int zpci_read_single(void *dst, const volatile void __iomem *src, in zpci_read_single() argument 98 cc = zpci_load(&data, src, len); in zpci_read_single() 120 int zpci_write_block(volatile void __iomem *dst, const void *src, 123 static inline u8 zpci_get_max_write_size(u64 src, u64 dst, int len, int max) in zpci_get_max_write_size() argument 127 while (!(src & 0x1) && !(dst & 0x1) && ((size << 1) <= count)) { in zpci_get_max_write_size() [all …]
|
/arch/arm64/lib/ |
D | memmove.S | 29 src .req x1 label 51 cmp dstin, src 53 add tmp1, src, count 58 add src, src, count 62 ands tmp2, src, #15 /* Bytes to reach alignment. */ 71 ldrb tmp1w, [src, #-1]! 75 ldrh tmp1w, [src, #-2]! 79 ldr tmp1w, [src, #-4]! 83 ldr tmp1, [src, #-8]! 104 ldp A_l, A_h, [src, #-16]! [all …]
|
D | copy_template.S | 25 src .req x1 label 47 neg tmp2, src 58 ldrb1 tmp1w, src, #1 62 ldrh1 tmp1w, src, #2 66 ldr1 tmp1w, src, #4 70 ldr1 tmp1, src, #8 90 ldp1 A_l, A_h, src, #16 93 ldp1 A_l, A_h, src, #16 96 ldp1 A_l, A_h, src, #16 111 ldr1 tmp1, src, #8 [all …]
|
/arch/mips/cavium-octeon/ |
D | octeon-memcpy.S | 22 #define src a1 macro 185 EXC( LOAD t0, UNIT(0)(src), l_exc) 186 EXC( LOAD t1, UNIT(1)(src), l_exc_copy) 187 EXC( LOAD t2, UNIT(2)(src), l_exc_copy) 188 EXC( LOAD t3, UNIT(3)(src), l_exc_copy) 194 EXC( LOAD t0, UNIT(4)(src), l_exc_copy) 195 EXC( LOAD t1, UNIT(5)(src), l_exc_copy) 196 EXC( LOAD t2, UNIT(6)(src), l_exc_copy) 197 EXC( LOAD t3, UNIT(7)(src), l_exc_copy) 201 ADD src, src, 16*NBYTES [all …]
|
/arch/x86/boot/compressed/ |
D | string.c | 14 static void *____memcpy(void *dest, const void *src, size_t n) in ____memcpy() argument 22 : "0" (n >> 2), "g" (n & 3), "1" (dest), "2" (src) in ____memcpy() 28 static void *____memcpy(void *dest, const void *src, size_t n) in ____memcpy() argument 36 : "0" (n >> 3), "g" (n & 7), "1" (dest), "2" (src) in ____memcpy() 53 void *memmove(void *dest, const void *src, size_t n) in memmove() argument 56 const unsigned char *s = src; in memmove() 59 return ____memcpy(dest, src, n); in memmove() 68 void *memcpy(void *dest, const void *src, size_t n) in memcpy() argument 70 if (dest > src && dest - src < n) { in memcpy() 72 return memmove(dest, src, n); in memcpy() [all …]
|
/arch/mips/include/asm/ |
D | ftrace.h | 22 #define safe_load(load, src, dst, error) \ argument 39 : [tmp_src] "r" (src) \ 44 #define safe_store(store, src, dst, error) \ argument 61 : [tmp_dst] "r" (dst), [tmp_src] "r" (src)\ 66 #define safe_load_code(dst, src, error) \ argument 67 safe_load(STR(lw), src, dst, error) 68 #define safe_store_code(src, dst, error) \ argument 69 safe_store(STR(sw), src, dst, error) 71 #define safe_load_stack(dst, src, error) \ argument 72 safe_load(STR(PTR_L), src, dst, error) [all …]
|
/arch/x86/crypto/ |
D | glue_helper-asm-avx.S | 8 #define load_8way(src, x0, x1, x2, x3, x4, x5, x6, x7) \ argument 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, dst, x0, x1, x2, x3, x4, x5, x6, x7) \ argument [all …]
|
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() argument 40 __blowfish_enc_blk(ctx, dst, src, true); in blowfish_enc_blk_xor() 44 const u8 *src) in blowfish_enc_blk_4way() argument 46 __blowfish_enc_blk_4way(ctx, dst, src, false); in blowfish_enc_blk_4way() [all …]
|
/arch/mips/lib/ |
D | csum_partial.S | 75 #define CSUM_BIGCHUNK1(src, offset, sum, _t0, _t1, _t2, _t3) \ argument 76 LOAD _t0, (offset + UNIT(0))(src); \ 77 LOAD _t1, (offset + UNIT(1))(src); \ 78 LOAD _t2, (offset + UNIT(2))(src); \ 79 LOAD _t3, (offset + UNIT(3))(src); \ 86 #define CSUM_BIGCHUNK(src, offset, sum, _t0, _t1, _t2, _t3) \ argument 87 CSUM_BIGCHUNK1(src, offset, sum, _t0, _t1, _t2, _t3) 89 #define CSUM_BIGCHUNK(src, offset, sum, _t0, _t1, _t2, _t3) \ argument 90 CSUM_BIGCHUNK1(src, offset, sum, _t0, _t1, _t2, _t3); \ 91 CSUM_BIGCHUNK1(src, offset + 0x10, sum, _t0, _t1, _t2, _t3) [all …]
|
/arch/parisc/lib/ |
D | memcpy.c | 20 extern unsigned long pa_memcpy(void *dst, const void *src, 23 unsigned long raw_copy_to_user(void __user *dst, const void *src, in raw_copy_to_user() argument 28 return pa_memcpy((void __force *)dst, src, len); in raw_copy_to_user() 32 unsigned long raw_copy_from_user(void *dst, const void __user *src, in raw_copy_from_user() argument 37 return pa_memcpy(dst, (void __force *)src, len); in raw_copy_from_user() 41 unsigned long raw_copy_in_user(void __user *dst, const void __user *src, unsigned long len) in raw_copy_in_user() argument 45 return pa_memcpy((void __force *)dst, (void __force *)src, len); in raw_copy_in_user() 49 void * memcpy(void * dst,const void *src, size_t count) in memcpy() argument 53 pa_memcpy(dst, src, count); in memcpy() 60 long probe_kernel_read(void *dst, const void *src, size_t size) in probe_kernel_read() argument [all …]
|
/arch/alpha/lib/ |
D | srm_printk.c | 15 char *src, *dst; in srm_printk() local 24 for (src = buf; *src; ++src) { in srm_printk() 25 if (*src == '\n') { in srm_printk() 32 for (dst = src + num_lf; src >= buf; ) { in srm_printk() 33 if (*src == '\n') { in srm_printk() 36 *dst-- = *src--; in srm_printk()
|