Searched refs:src (Results 1 - 25 of 534) sorted by relevance

1234567891011>>

/arch/cris/arch-v10/lib/
H A Dstring.c54 register unsigned const char *src __asm__ ("r11") = psrc;
57 /* When src is aligned but not dst, this makes a few extra needless
68 *dst = *src;
69 src++;
76 *(short *) dst = *(short *) src;
77 src += 2;
103 ;; r11 - src \n\
128 : "=r" (dst), "=r" (src), "=r" (n)
131 : "0" (dst), "1" (src), "2" (n));
136 *(long *) dst = *(long *) src; ds
[all...]
H A Dusercopy.c45 register const char *src __asm__ ("r11") = psrc;
50 /* When src is aligned but not dst, this makes a few extra needless
60 __asm_copy_to_user_1 (dst, src, retn);
66 __asm_copy_to_user_2 (dst, src, retn);
102 ;; r11 - src \n\
149 /* Outputs */ : "=r" (dst), "=r" (src), "=r" (n), "=r" (retn)
150 /* Inputs */ : "0" (dst), "1" (src), "2" (n), "3" (retn));
161 __asm_copy_to_user_16 (dst, src, retn);
169 __asm_copy_to_user_4 (dst, src, retn);
178 __asm_copy_to_user_1 (dst, src, ret
[all...]
/arch/cris/arch-v32/lib/
H A Dstring.c54 register unsigned const char *src __asm__ ("r11") = psrc;
57 /* When src is aligned but not dst, this makes a few extra needless
68 *dst = *src;
69 src++;
76 *(short *) dst = *(short *) src;
77 src += 2;
103 ;; r11 - src \n\
128 : "=r" (dst), "=r" (src), "=r" (n)
131 : "0" (dst), "1" (src), "2" (n));
136 *(long *) dst = *(long *) src; ds
[all...]
H A Dusercopy.c41 register const char *src __asm__ ("r11") = psrc;
46 /* When src is aligned but not dst, this makes a few extra needless
56 __asm_copy_to_user_1 (dst, src, retn);
62 __asm_copy_to_user_2 (dst, src, retn);
90 ;; r11 - src \n\
122 /* Outputs */ : "=r" (dst), "=r" (src), "=r" (n), "=r" (retn)
123 /* Inputs */ : "0" (dst), "1" (src), "2" (n), "3" (retn));
129 __asm_copy_to_user_16 (dst, src, retn);
137 __asm_copy_to_user_4 (dst, src, retn);
146 __asm_copy_to_user_1 (dst, src, ret
[all...]
/arch/m68k/math-emu/
H A Dfp_arith.h22 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...]
H A Dfp_trig.c22 fp_fsin(struct fp_ext *dest, struct fp_ext *src) argument
26 fp_monadic_check(dest, src);
32 fp_fcos(struct fp_ext *dest, struct fp_ext *src) argument
36 fp_monadic_check(dest, src);
42 fp_ftan(struct fp_ext *dest, struct fp_ext *src) argument
46 fp_monadic_check(dest, src);
52 fp_fasin(struct fp_ext *dest, struct fp_ext *src) argument
56 fp_monadic_check(dest, src);
62 fp_facos(struct fp_ext *dest, struct fp_ext *src) argument
66 fp_monadic_check(dest, src);
72 fp_fatan(struct fp_ext *dest, struct fp_ext *src) argument
82 fp_fsinh(struct fp_ext *dest, struct fp_ext *src) argument
92 fp_fcosh(struct fp_ext *dest, struct fp_ext *src) argument
102 fp_ftanh(struct fp_ext *dest, struct fp_ext *src) argument
112 fp_fatanh(struct fp_ext *dest, struct fp_ext *src) argument
122 fp_fsincos0(struct fp_ext *dest, struct fp_ext *src) argument
130 fp_fsincos1(struct fp_ext *dest, struct fp_ext *src) argument
138 fp_fsincos2(struct fp_ext *dest, struct fp_ext *src) argument
146 fp_fsincos3(struct fp_ext *dest, struct fp_ext *src) argument
154 fp_fsincos4(struct fp_ext *dest, struct fp_ext *src) argument
162 fp_fsincos5(struct fp_ext *dest, struct fp_ext *src) argument
170 fp_fsincos6(struct fp_ext *dest, struct fp_ext *src) argument
178 fp_fsincos7(struct fp_ext *dest, struct fp_ext *src) argument
[all...]
H A Dfp_log.c25 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) argument
36 fp_monadic_check(dest, src);
102 fp_fetoxm1(struct fp_ext *dest, struct fp_ext *src) argument
106 fp_monadic_check(dest, src);
112 fp_fetox(struct fp_ext *dest, struct fp_ext *src) argument
116 fp_monadic_check(dest, src);
122 fp_ftwotox(struct fp_ext *dest, struct fp_ext *src) argument
126 fp_monadic_check(dest, src);
132 fp_ftentox(struct fp_ext *dest, struct fp_ext *src) argument
142 fp_flogn(struct fp_ext *dest, struct fp_ext *src) argument
152 fp_flognp1(struct fp_ext *dest, struct fp_ext *src) argument
162 fp_flog10(struct fp_ext *dest, struct fp_ext *src) argument
172 fp_flog2(struct fp_ext *dest, struct fp_ext *src) argument
182 fp_fgetexp(struct fp_ext *dest, struct fp_ext *src) argument
203 fp_fgetman(struct fp_ext *dest, struct fp_ext *src) argument
[all...]
H A Dfp_arith.c34 fp_fabs(struct fp_ext *dest, struct fp_ext *src) argument
38 fp_monadic_check(dest, src);
46 fp_fneg(struct fp_ext *dest, struct fp_ext *src) argument
50 fp_monadic_check(dest, src);
63 fp_fadd(struct fp_ext *dest, struct fp_ext *src) argument
69 fp_dyadic_check(dest, src);
73 if (IS_INF(src) && (src->sign != dest->sign))
77 if (IS_INF(src)) {
78 fp_copy_ext(dest, src);
123 fp_fsub(struct fp_ext *dest, struct fp_ext *src) argument
133 fp_fcmp(struct fp_ext *dest, struct fp_ext *src) argument
143 fp_ftst(struct fp_ext *dest, struct fp_ext *src) argument
153 fp_fmul(struct fp_ext *dest, struct fp_ext *src) argument
231 fp_fdiv(struct fp_ext *dest, struct fp_ext *src) argument
312 fp_fsglmul(struct fp_ext *dest, struct fp_ext *src) argument
369 fp_fsgldiv(struct fp_ext *dest, struct fp_ext *src) argument
579 modrem_kernel(struct fp_ext *dest, struct fp_ext *src, int mode) argument
613 fp_fmod(struct fp_ext *dest, struct fp_ext *src) argument
625 fp_frem(struct fp_ext *dest, struct fp_ext *src) argument
632 fp_fint(struct fp_ext *dest, struct fp_ext *src) argument
644 fp_fintrz(struct fp_ext *dest, struct fp_ext *src) argument
656 fp_fscale(struct fp_ext *dest, struct fp_ext *src) argument
[all...]
/arch/alpha/lib/
H A Dsrm_printk.c14 char *src, *dst; local
23 for (src = buf; *src; ++src) {
24 if (*src == '\n') {
31 for (dst = src + num_lf; src >= buf; ) {
32 if (*src == '\n') {
35 *dst-- = *src--;
/arch/um/kernel/
H A Dmaccess.c13 long probe_kernel_read(void *dst, const void *src, size_t size) argument
15 void *psrc = (void *)rounddown((unsigned long)src, PAGE_SIZE);
17 if ((unsigned long)src < PAGE_SIZE || size <= 0)
20 if (os_mincore(psrc, size + src - psrc) <= 0)
23 return __probe_kernel_read(dst, src, size);
/arch/parisc/math-emu/
H A Dsfsqrt.c57 register unsigned int src, result; local
62 src = *srcptr;
66 if ((src_exponent = Sgl_exponent(src)) == SGL_INFINITY_EXPONENT) {
70 if (Sgl_isone_signaling(src)) {
75 Sgl_set_quiet(src);
81 if (Sgl_iszero_sign(src) || Sgl_isnotzero_mantissa(src)) {
82 *dstptr = src;
90 if (Sgl_iszero_exponentmantissa(src)) {
91 *dstptr = src;
[all...]
/arch/m68k/lib/
H A Dmemmove.c10 void *memmove(void *dest, const void *src, size_t n) argument
18 if (dest < src) {
21 const char *csrc = src;
24 src = csrc;
29 const short *ssrc = src;
32 src = ssrc;
38 const long *lsrc = src;
44 src = lsrc;
48 const short *ssrc = src;
51 src
[all...]
/arch/x86/include/asm/crypto/
H A Dserpent-sse2.h12 const u8 *src, bool xor);
14 const u8 *src);
17 const u8 *src)
19 __serpent_enc_blk_4way(ctx, dst, src, false);
23 const u8 *src)
25 __serpent_enc_blk_4way(ctx, dst, src, true);
29 const u8 *src)
31 serpent_dec_blk_4way(ctx, dst, src);
39 const u8 *src, bool xor);
41 const u8 *src);
16 serpent_enc_blk_xway(struct serpent_ctx *ctx, u8 *dst, const u8 *src) argument
22 serpent_enc_blk_xway_xor(struct serpent_ctx *ctx, u8 *dst, const u8 *src) argument
28 serpent_dec_blk_xway(struct serpent_ctx *ctx, u8 *dst, const u8 *src) argument
43 serpent_enc_blk_xway(struct serpent_ctx *ctx, u8 *dst, const u8 *src) argument
49 serpent_enc_blk_xway_xor(struct serpent_ctx *ctx, u8 *dst, const u8 *src) argument
55 serpent_dec_blk_xway(struct serpent_ctx *ctx, u8 *dst, const u8 *src) argument
[all...]
H A Dcamellia.h41 const u8 *src, bool xor);
43 const u8 *src);
47 const u8 *src, bool xor);
49 const u8 *src);
53 const u8 *src);
55 const u8 *src);
58 const u8 *src);
60 const u8 *src, le128 *iv);
63 const u8 *src, le128 *iv);
65 const u8 *src, le12
67 camellia_enc_blk(struct camellia_ctx *ctx, u8 *dst, const u8 *src) argument
73 camellia_enc_blk_xor(struct camellia_ctx *ctx, u8 *dst, const u8 *src) argument
79 camellia_enc_blk_2way(struct camellia_ctx *ctx, u8 *dst, const u8 *src) argument
85 camellia_enc_blk_xor_2way(struct camellia_ctx *ctx, u8 *dst, const u8 *src) argument
[all...]
/arch/microblaze/lib/
H A Dmemset.c37 char *src = v_src; local
44 *src++ = c;
51 char *src = v_src; local
68 switch ((unsigned) src & 3) {
70 *src++ = c;
73 *src++ = c;
76 *src++ = c;
80 i_src = (void *)src;
86 src = (void *)i_src;
91 *src
[all...]
H A Dmemmove.c37 const char *src = v_src; local
48 src += c;
53 *--dst = *--src;
60 const char *src = v_src; local
81 src += c;
91 *--dst = *--src;
94 *--dst = *--src;
97 *--dst = *--src;
104 switch ((unsigned long)src & 3) {
107 i_src = (const void *)src;
[all...]
H A Dmemcpy.c38 const char *src = v_src; local
43 *dst++ = *src++;
50 const char *src = v_src; local
69 *dst++ = *src++;
72 *dst++ = *src++;
75 *dst++ = *src++;
83 switch ((unsigned long)src & 3) {
85 i_src = (const void *)src;
90 src = (const void *)i_src;
94 i_src = (const void *) ((unsigned)src
[all...]
/arch/blackfin/mm/
H A Dmaccess.c19 long probe_kernel_read(void *dst, const void *src, size_t size) argument
21 unsigned long lsrc = (unsigned long)src;
30 u16 mmr = bfin_read16(src);
34 u32 mmr = bfin_read32(src);
42 return __probe_kernel_read(dst, src, size);
45 if (dma_memcpy(dst, src, size))
49 if (isram_memcpy(dst, src, size))
58 long probe_kernel_write(void *dst, const void *src, size_t size) argument
70 memcpy(&mmr, src, sizeof(mmr));
75 memcpy(&mmr, src, sizeo
[all...]
/arch/hexagon/lib/
H A Dio.c33 const volatile short int *src = (short int *) addr; local
40 *dst++ = *src;
52 const short int *src = (short int *)data; local
59 *dst = *src++;
67 const volatile long *src = (long *) addr; local
74 *dst++ = *src;
81 const long *src = (long *)data; local
88 *dst = *src++;
/arch/mips/include/asm/
H A Dftrace.h22 #define safe_load(load, src, dst, error) \
39 : [tmp_src] "r" (src) \
44 #define safe_store(store, src, dst, error) \
61 : [tmp_dst] "r" (dst), [tmp_src] "r" (src)\
66 #define safe_load_code(dst, src, error) \
67 safe_load(STR(lw), src, dst, error)
68 #define safe_store_code(src, dst, error) \
69 safe_store(STR(sw), src, dst, error)
71 #define safe_load_stack(dst, src, error) \
72 safe_load(STR(PTR_L), src, ds
[all...]
/arch/score/lib/
H A Dchecksum_copy.c30 unsigned int csum_partial_copy(const char *src, char *dst, argument
33 sum = csum_partial(src, len, sum);
34 memcpy(dst, src, len);
39 unsigned int csum_partial_copy_from_user(const char *src, char *dst, argument
45 missing = copy_from_user(dst, src, len);
H A Dchecksum.S34 #define CSUM_BIGCHUNK(src, offset, sum) \
35 lw r8, [src, offset + 0x00]; \
36 lw r9, [src, offset + 0x04]; \
37 lw r10, [src, offset + 0x08]; \
38 lw r11, [src, offset + 0x0c]; \
43 lw r8, [src, offset + 0x10]; \
44 lw r9, [src, offset + 0x14]; \
45 lw r10, [src, offset + 0x18]; \
46 lw r11, [src, offset + 0x1c]; \
52 #define src r define
[all...]
/arch/frv/kernel/
H A Duaccess.c20 long strncpy_from_user(char *dst, const char __user *src, long count) argument
31 if ((unsigned long) src < memory_start)
35 if ((unsigned long) src >= get_addr_limit())
38 max = get_addr_limit() - (unsigned long) src;
45 for (; count > 0; count--, p++, src++) {
46 __get_user_asm(err, ch, src, "ub", "=r");
72 long strnlen_user(const char __user *src, long count) argument
81 if ((unsigned long) src < memory_start)
85 if ((unsigned long) src >= get_addr_limit())
88 for (p = src; coun
[all...]
/arch/tile/lib/
H A Dmemmove.c19 void *memmove(void *dest, const void *src, size_t n) argument
21 if ((const char *)src >= (char *)dest + n
22 || (char *)dest >= (const char *)src + n) {
26 return memcpy(dest, src, n);
35 if (src < dest) {
37 in = (const uint8_t *)src + n - 1;
42 in = (const uint8_t *)src;
/arch/x86/include/asm/
H A Duaccess_64.h52 int __copy_from_user_nocheck(void *dst, const void __user *src, unsigned size) argument
57 return copy_user_generic(dst, (__force void *)src, size);
59 case 1:__get_user_asm(*(u8 *)dst, (u8 __user *)src,
62 case 2:__get_user_asm(*(u16 *)dst, (u16 __user *)src,
65 case 4:__get_user_asm(*(u32 *)dst, (u32 __user *)src,
68 case 8:__get_user_asm(*(u64 *)dst, (u64 __user *)src,
72 __get_user_asm(*(u64 *)dst, (u64 __user *)src,
77 (u16 __user *)(8 + (char __user *)src),
81 __get_user_asm(*(u64 *)dst, (u64 __user *)src,
86 (u64 __user *)(8 + (char __user *)src),
95 __copy_from_user(void *dst, const void __user *src, unsigned size) argument
102 __copy_to_user_nocheck(void __user *dst, const void *src, unsigned size) argument
145 __copy_to_user(void __user *dst, const void *src, unsigned size) argument
152 __copy_in_user(void __user *dst, const void __user *src, unsigned size) argument
205 __copy_from_user_inatomic(void *dst, const void __user *src, unsigned size) argument
211 __copy_to_user_inatomic(void __user *dst, const void *src, unsigned size) argument
220 __copy_from_user_nocache(void *dst, const void __user *src, unsigned size) argument
227 __copy_from_user_inatomic_nocache(void *dst, const void __user *src, unsigned size) argument
[all...]

Completed in 298 milliseconds

1234567891011>>