/arch/m68k/math-emu/ |
D | fp_arith.c | 34 fp_fabs(struct fp_ext *dest, struct fp_ext *src) in fp_fabs() argument 38 fp_monadic_check(dest, src); in fp_fabs() 40 dest->sign = 0; in fp_fabs() 42 return dest; in fp_fabs() 46 fp_fneg(struct fp_ext *dest, struct fp_ext *src) in fp_fneg() argument 50 fp_monadic_check(dest, src); in fp_fneg() 52 dest->sign = !dest->sign; in fp_fneg() 54 return dest; in fp_fneg() 63 fp_fadd(struct fp_ext *dest, struct fp_ext *src) in fp_fadd() argument 69 fp_dyadic_check(dest, src); in fp_fadd() [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() 38 if (IS_ZERO(dest)) in fp_fsqrt() 39 return dest; in fp_fsqrt() 41 if (dest->sign) { in fp_fsqrt() 42 fp_set_nan(dest); in fp_fsqrt() 43 return dest; in fp_fsqrt() 45 if (IS_INF(dest)) in fp_fsqrt() [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() 28 return dest; 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() 38 return dest; 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() 48 return dest; in fp_ftan() 52 fp_fasin(struct fp_ext *dest, struct fp_ext *src) in fp_fasin() argument [all …]
|
D | fp_emu.h | 74 #define fp_copy_ext(dest, src) ({ \ argument 75 *dest = *src; \ 78 #define fp_monadic_check(dest, src) ({ \ argument 79 fp_copy_ext(dest, src); \ 80 if (!fp_normalize_ext(dest)) \ 81 return dest; \ 84 #define fp_dyadic_check(dest, src) ({ \ argument 85 if (!fp_normalize_ext(dest)) \ 86 return dest; \ 88 fp_copy_ext(dest, src); \ [all …]
|
D | multi_arith.h | 82 static inline int fp_addmant(struct fp_ext *dest, struct fp_ext *src) in fp_addmant() argument 87 asm volatile ("add.b %1,%0" : "=d,g" (dest->lowmant) in fp_addmant() 88 : "g,d" (src->lowmant), "0,0" (dest->lowmant)); in fp_addmant() 89 asm volatile ("addx.l %1,%0" : "=d" (dest->mant.m32[1]) in fp_addmant() 90 : "d" (src->mant.m32[1]), "0" (dest->mant.m32[1])); in fp_addmant() 91 asm volatile ("addx.l %1,%0" : "=d" (dest->mant.m32[0]) in fp_addmant() 92 : "d" (src->mant.m32[0]), "0" (dest->mant.m32[0])); in fp_addmant() 115 static inline void fp_submant(struct fp_ext *dest, struct fp_ext *src1, in fp_submant() argument 119 asm volatile ("sub.b %1,%0" : "=d,g" (dest->lowmant) in fp_submant() 121 asm volatile ("subx.l %1,%0" : "=d" (dest->mant.m32[1]) in fp_submant() [all …]
|
D | fp_arith.h | 22 fp_fabs(struct fp_ext *dest, struct fp_ext *src); 24 fp_fneg(struct fp_ext *dest, struct fp_ext *src); 28 fp_fadd(struct fp_ext *dest, struct fp_ext *src); 30 fp_fsub(struct fp_ext *dest, struct fp_ext *src); 32 fp_fcmp(struct fp_ext *dest, struct fp_ext *src); 34 fp_ftst(struct fp_ext *dest, struct fp_ext *src); 36 fp_fmul(struct fp_ext *dest, struct fp_ext *src); 38 fp_fdiv(struct fp_ext *dest, struct fp_ext *src); 42 fp_fmod(struct fp_ext *dest, struct fp_ext *src); 44 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 12 void *xdest = dest; in memmove() 18 if (dest < src) { in memmove() 19 if ((long)dest & 1) { in memmove() 20 char *cdest = dest; in memmove() 23 dest = cdest; in memmove() 27 if (n > 2 && (long)dest & 2) { in memmove() 28 short *sdest = dest; in memmove() 31 dest = sdest; in memmove() 37 long *ldest = dest; in memmove() [all …]
|
/arch/alpha/kernel/ |
D | process.c | 285 dump_elf_thread(elf_greg_t *dest, struct pt_regs *pt, struct thread_info *ti) in dump_elf_thread() argument 290 dest[ 0] = pt->r0; in dump_elf_thread() 291 dest[ 1] = pt->r1; in dump_elf_thread() 292 dest[ 2] = pt->r2; in dump_elf_thread() 293 dest[ 3] = pt->r3; in dump_elf_thread() 294 dest[ 4] = pt->r4; in dump_elf_thread() 295 dest[ 5] = pt->r5; in dump_elf_thread() 296 dest[ 6] = pt->r6; in dump_elf_thread() 297 dest[ 7] = pt->r7; in dump_elf_thread() 298 dest[ 8] = pt->r8; in dump_elf_thread() [all …]
|
/arch/blackfin/kernel/ |
D | module.c | 32 void *dest; in module_frob_arch_sections() local 44 dest = l1_inst_sram_alloc(s->sh_size); in module_frob_arch_sections() 45 mod->arch.text_l1 = dest; in module_frob_arch_sections() 46 if (dest == NULL) { in module_frob_arch_sections() 50 dma_memcpy(dest, (void *)s->sh_addr, s->sh_size); in module_frob_arch_sections() 56 dest = l1_data_sram_alloc(s->sh_size); in module_frob_arch_sections() 57 mod->arch.data_a_l1 = dest; in module_frob_arch_sections() 58 if (dest == NULL) { in module_frob_arch_sections() 62 memcpy(dest, (void *)s->sh_addr, s->sh_size); in module_frob_arch_sections() 68 dest = l1_data_sram_zalloc(s->sh_size); in module_frob_arch_sections() [all …]
|
/arch/s390/lib/ |
D | string.c | 70 char *strcpy(char *dest, const char *src) in strcpy() argument 73 char *ret = dest; in strcpy() 77 : "+&a" (dest), "+&a" (src) : "d" (r0) in strcpy() 94 size_t strlcpy(char *dest, const char *src, size_t size) in strlcpy() argument 100 dest[len] = '\0'; in strlcpy() 101 memcpy(dest, src, len); in strlcpy() 116 char *strncpy(char *dest, const char *src, size_t n) in strncpy() argument 119 memset(dest + len, 0, n - len); in strncpy() 120 memcpy(dest, src, len); in strncpy() 121 return dest; in strncpy() [all …]
|
/arch/mips/netlogic/xlr/ |
D | fmn.c | 45 #define COP2_CC_INIT_CPU_DEST(dest, conf) \ argument 47 nlm_write_c2_cc##dest(0, conf[(dest * 8) + 0]); \ 48 nlm_write_c2_cc##dest(1, conf[(dest * 8) + 1]); \ 49 nlm_write_c2_cc##dest(2, conf[(dest * 8) + 2]); \ 50 nlm_write_c2_cc##dest(3, conf[(dest * 8) + 3]); \ 51 nlm_write_c2_cc##dest(4, conf[(dest * 8) + 4]); \ 52 nlm_write_c2_cc##dest(5, conf[(dest * 8) + 5]); \ 53 nlm_write_c2_cc##dest(6, conf[(dest * 8) + 6]); \ 54 nlm_write_c2_cc##dest(7, conf[(dest * 8) + 7]); \
|
/arch/tile/lib/ |
D | memmove.c | 19 void *memmove(void *dest, const void *src, size_t n) in memmove() argument 21 if ((const char *)src >= (char *)dest + n in memmove() 22 || (char *)dest >= (const char *)src + n) { in memmove() 26 return memcpy(dest, src, n); in memmove() 35 if (src < dest) { in memmove() 38 out = (uint8_t *)dest + n - 1; in memmove() 43 out = (uint8_t *)dest; in memmove() 61 return dest; in memmove()
|
/arch/hexagon/mm/ |
D | uaccess.c | 35 __kernel_size_t __clear_user_hexagon(void __user *dest, unsigned long count) in __clear_user_hexagon() argument 40 uncleared = __copy_to_user_hexagon(dest, &empty_zero_page, in __clear_user_hexagon() 45 dest += PAGE_SIZE; in __clear_user_hexagon() 48 count = __copy_to_user_hexagon(dest, &empty_zero_page, count); in __clear_user_hexagon() 53 unsigned long clear_user_hexagon(void __user *dest, unsigned long count) in clear_user_hexagon() argument 55 if (!access_ok(VERIFY_WRITE, dest, count)) in clear_user_hexagon() 58 return __clear_user_hexagon(dest, count); in clear_user_hexagon()
|
/arch/parisc/math-emu/ |
D | hppa.h | 28 #define Shiftdouble(left,right,amount,dest) \ argument 30 dest = ((left) << (32-(amount))) | ((unsigned int)(right) >> (amount)) 33 #define Variableshiftdouble(left,right,amount,dest) \ argument 35 if (amount == 0) dest = right; \ 36 else dest = ((((unsigned) left)&0x7fffffff) << (32-(amount))) | \ 40 #define Variable_shift_double(left,right,amount,dest) \ argument 42 dest = (left << (32-(amount))) | ((unsigned) right >> (amount))
|
D | cnv_float.h | 52 #define Sgl_to_dbl_exponent(src_exponent,dest) \ argument 53 Deposit_dexponent(dest,src_exponent+(DBL_BIAS-SGL_BIAS)) 98 #define Dbl_to_sgl_exponent(src_exponent,dest) \ argument 99 dest = src_exponent + (SGL_BIAS - DBL_BIAS) 101 #define Dbl_to_sgl_mantissa(srcA,srcB,dest,inexact,guard,sticky,odd) \ argument 102 Shiftdouble(Dmantissap1(srcA),Dmantissap2(srcB),29,dest); \ 108 #define Dbl_to_sgl_denormalized(srcA,srcB,exp,dest,inexact,guard,sticky,odd,tiny) \ argument 116 Shiftdouble(Dmantissap1(srcA),Dmantissap2(srcB),29,dest); \ 117 odd = dest << 31; \ 122 dest++; \ [all …]
|
/arch/x86/math-emu/ |
D | reg_add_sub.c | 30 FPU_REG * dest, int deststnr, int control_w); 39 FPU_REG *dest = &st(deststnr); in FPU_add() local 43 u_char saved_sign = getsign(dest); in FPU_add() 55 FPU_u_add(a, b, dest, control_w, signa, expa, expb); in FPU_add() 71 FPU_u_sub(a, b, dest, control_w, signa, in FPU_add() 75 FPU_u_sub(b, a, dest, control_w, signb, in FPU_add() 80 setsign(dest, ((control_w & CW_RC) != RC_DOWN) in FPU_add() 87 setsign(dest, saved_sign); in FPU_add() 124 dest, deststnr, control_w); in FPU_add() 131 FPU_REG *dest; in FPU_sub() local [all …]
|
D | poly.h | 36 asmlinkage void mul_Xsig_Xsig(Xsig *dest, const Xsig *mult); 41 asmlinkage void div_Xsig(Xsig *x1, const Xsig *x2, const Xsig *dest); 73 static inline void add_Xsig_Xsig(Xsig *dest, const Xsig *x2) in add_Xsig_Xsig() argument 79 (*dest):"g"(dest), "g"(x2) in add_Xsig_Xsig() 87 static inline void add_two_Xsig(Xsig *dest, const Xsig *x2, long int *exp) in add_two_Xsig() argument 97 "0: xorl %%eax,%%eax;\n" "1:\n":"=g" (*exp), "=g"(*dest) in add_two_Xsig() 98 :"g"(dest), "g"(x2), "g"(exp) in add_two_Xsig()
|
D | reg_mul.c | 32 FPU_REG *dest = a; in FPU_mul() local 34 u_char saved_sign = getsign(dest); in FPU_mul() 42 FPU_u_mul(a, b, dest, control_w, sign, in FPU_mul() 45 setsign(dest, saved_sign); in FPU_mul() 66 tag = FPU_u_mul(&x, &y, dest, control_w, sign, in FPU_mul() 69 setsign(dest, saved_sign); in FPU_mul() 86 setsign(dest, sign); in FPU_mul() 100 setsign(dest, sign); in FPU_mul() 104 setsign(dest, sign); in FPU_mul()
|
/arch/x86/lib/ |
D | string_32.c | 17 char *strcpy(char *dest, const char *src) in strcpy() argument 25 : "0" (src), "1" (dest) : "memory"); in strcpy() 26 return dest; in strcpy() 32 char *strncpy(char *dest, const char *src, size_t count) in strncpy() argument 45 : "0" (src), "1" (dest), "2" (count) : "memory"); in strncpy() 46 return dest; in strncpy() 52 char *strcat(char *dest, const char *src) in strcat() argument 63 : "0" (src), "1" (dest), "2" (0), "3" (0xffffffffu) : "memory"); in strcat() 64 return dest; in strcat() 70 char *strncat(char *dest, const char *src, size_t count) in strncat() argument [all …]
|
/arch/x86/boot/compressed/ |
D | string.c | 4 void *memcpy(void *dest, const void *src, size_t n) in memcpy() argument 12 : "0" (n >> 2), "g" (n & 3), "1" (dest), "2" (src) in memcpy() 15 return dest; in memcpy() 18 void *memcpy(void *dest, const void *src, size_t n) in memcpy() argument 26 : "0" (n >> 3), "g" (n & 7), "1" (dest), "2" (src) in memcpy() 29 return dest; in memcpy()
|
/arch/m32r/kernel/ |
D | align.c | 84 int dest = REG1(insn); in emu_addi() local 87 val = get_reg(regs, dest); in emu_addi() 89 set_reg(regs, dest, val); in emu_addi() 105 int dest = REG1(insn); in emu_add() local 109 val = get_reg(regs, dest); in emu_add() 111 set_reg(regs, dest, val); in emu_add() 118 int dest = REG1(insn); in emu_addx() local 122 tmp = get_reg(regs, dest); in emu_addx() 125 set_reg(regs, dest, val); in emu_addx() 138 int dest = REG1(insn); in emu_and() local [all …]
|
/arch/powerpc/boot/ |
D | string.h | 5 extern char *strcpy(char *dest, const char *src); 6 extern char *strncpy(char *dest, const char *src, size_t n); 7 extern char *strcat(char *dest, const char *src); 15 extern void *memmove(void *dest, const void *src, unsigned long n); 16 extern void *memcpy(void *dest, const void *src, unsigned long n);
|
/arch/mips/include/asm/ |
D | sgiarcs.h | 375 #define ARC_CALL0(dest) \ argument 377 long __vec = (long) romvec->dest; \ 389 #define ARC_CALL1(dest, a1) \ argument 392 long __vec = (long) romvec->dest; \ 404 #define ARC_CALL2(dest, a1, a2) \ argument 408 long __vec = (long) romvec->dest; \ 420 #define ARC_CALL3(dest, a1, a2, a3) \ argument 425 long __vec = (long) romvec->dest; \ 437 #define ARC_CALL4(dest, a1, a2, a3, a4) \ argument 443 long __vec = (long) romvec->dest; \ [all …]
|
/arch/s390/mm/ |
D | maccess.c | 66 static int __memcpy_real(void *dest, void *src, size_t count) in __memcpy_real() argument 68 register unsigned long _dest asm("2") = (unsigned long) dest; in __memcpy_real() 81 "+d" (_len2), "=m" (*((long *) dest)) in __memcpy_real() 90 int memcpy_real(void *dest, void *src, size_t count) in memcpy_real() argument 99 rc = __memcpy_real(dest, src, count); in memcpy_real() 107 void memcpy_absolute(void *dest, void *src, size_t count) in memcpy_absolute() argument 118 memcpy(dest, src, count); in memcpy_absolute() 122 memcpy(dest, src, count); in memcpy_absolute() 131 int copy_to_user_real(void __user *dest, void *src, unsigned long count) in copy_to_user_real() argument 144 if (copy_to_user(dest + offs, buf, size)) in copy_to_user_real()
|
/arch/sparc/prom/ |
D | printf.c | 33 char *dest; in prom_write() local 35 dest = console_write_buf; in prom_write() 42 *dest++ = '\r'; in prom_write() 45 *dest++ = ch; in prom_write() 49 dest = console_write_buf; in prom_write()
|