/arch/cris/include/arch-v32/arch/ |
D | uaccess.h | 163 #define __asm_copy_user_cont(to, from, ret, COPY, FIXUP, TENTRY) \ argument 173 : "=b" (to), "=b" (from), "=r" (ret) \ 174 : "0" (to), "1" (from), "2" (ret) \ 177 #define __asm_copy_from_user_1(to, from, ret) \ argument 178 __asm_copy_user_cont(to, from, ret, \ 185 #define __asm_copy_from_user_2x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ argument 186 __asm_copy_user_cont(to, from, ret, \ 196 #define __asm_copy_from_user_2(to, from, ret) \ argument 197 __asm_copy_from_user_2x_cont(to, from, ret, "", "", "") 199 #define __asm_copy_from_user_3(to, from, ret) \ argument [all …]
|
/arch/cris/include/arch-v10/arch/ |
D | uaccess.h | 157 #define __asm_copy_user_cont(to, from, ret, COPY, FIXUP, TENTRY) \ argument 168 : "=r" (to), "=r" (from), "=r" (ret) \ 169 : "0" (to), "1" (from), "2" (ret) \ 172 #define __asm_copy_from_user_1(to, from, ret) \ argument 173 __asm_copy_user_cont(to, from, ret, \ 179 #define __asm_copy_from_user_2x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ argument 180 __asm_copy_user_cont(to, from, ret, \ 186 #define __asm_copy_from_user_2(to, from, ret) \ argument 187 __asm_copy_from_user_2x_cont(to, from, ret, "", "", "") 189 #define __asm_copy_from_user_3(to, from, ret) \ argument [all …]
|
/arch/metag/lib/ |
D | usercopy.c | 28 #define __asm_copy_user_cont(to, from, ret, COPY, FIXUP, TENTRY) \ argument 40 : "=r" (to), "=r" (from), "=r" (ret) \ 41 : "0" (to), "1" (from), "2" (ret) \ 45 #define __asm_copy_to_user_1(to, from, ret) \ argument 46 __asm_copy_user_cont(to, from, ret, \ 53 #define __asm_copy_to_user_2x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ argument 54 __asm_copy_user_cont(to, from, ret, \ 61 #define __asm_copy_to_user_2(to, from, ret) \ argument 62 __asm_copy_to_user_2x_cont(to, from, ret, "", "", "") 64 #define __asm_copy_to_user_3(to, from, ret) \ argument [all …]
|
/arch/cris/include/asm/ |
D | uaccess.h | 172 extern unsigned long __copy_user(void __user *to, const void *from, unsigned long n); 173 extern unsigned long __copy_user_in(void *to, const void __user *from, unsigned long n); 174 extern unsigned long __do_clear_user(void __user *to, unsigned long n); 191 __constant_copy_from_user(void *to, const void __user *from, unsigned long n) in __constant_copy_from_user() argument 198 __asm_copy_from_user_1(to, from, ret); in __constant_copy_from_user() 200 __asm_copy_from_user_2(to, from, ret); in __constant_copy_from_user() 202 __asm_copy_from_user_3(to, from, ret); in __constant_copy_from_user() 204 __asm_copy_from_user_4(to, from, ret); in __constant_copy_from_user() 206 __asm_copy_from_user_5(to, from, ret); in __constant_copy_from_user() 208 __asm_copy_from_user_6(to, from, ret); in __constant_copy_from_user() [all …]
|
/arch/m68k/hp300/ |
D | hp300map.map | 11 # be saved by mapping AltGr to Alt (and adapting a few entries): 185 compose '`' 'A' to '�' 186 compose '`' 'a' to '�' 187 compose '\'' 'A' to '�' 188 compose '\'' 'a' to '�' 189 compose '^' 'A' to '�' 190 compose '^' 'a' to '�' 191 compose '~' 'A' to '�' 192 compose '~' 'a' to '�' 193 compose '"' 'A' to '�' [all …]
|
/arch/x86/kernel/ |
D | signal_compat.c | 115 int __copy_siginfo_to_user32(compat_siginfo_t __user *to, const siginfo_t *from, in __copy_siginfo_to_user32() argument 122 if (!access_ok(VERIFY_WRITE, to, sizeof(compat_siginfo_t))) in __copy_siginfo_to_user32() 131 put_user_ex(from->si_signo, &to->si_signo); in __copy_siginfo_to_user32() 132 put_user_ex(from->si_errno, &to->si_errno); in __copy_siginfo_to_user32() 133 put_user_ex(from->si_code, &to->si_code); in __copy_siginfo_to_user32() 136 put_user_ex(from->si_pid, &to->si_pid); in __copy_siginfo_to_user32() 137 put_user_ex(from->si_uid, &to->si_uid); in __copy_siginfo_to_user32() 138 put_user_ex(ptr_to_compat(from->si_ptr), &to->si_ptr); in __copy_siginfo_to_user32() 145 &to->_sifields._pad[0]); in __copy_siginfo_to_user32() 151 put_user_ex(from->si_addr_lsb, &to->si_addr_lsb); in __copy_siginfo_to_user32() [all …]
|
/arch/sh/kernel/ |
D | io.c | 19 void memcpy_fromio(void *to, const volatile void __iomem *from, unsigned long count) in memcpy_fromio() argument 27 (((u32)to & 0x1f) == 0) && (((u32)from & 0x3) == 0)) { in memcpy_fromio() 53 : "=&r" (to), "=&r" (count), in memcpy_fromio() 56 : "7"(from), "0" (to), "1" (count) in memcpy_fromio() 61 if ((((u32)to | (u32)from) & 0x3) == 0) { in memcpy_fromio() 63 *(u32 *)to = *(volatile u32 *)from; in memcpy_fromio() 64 to += 4; in memcpy_fromio() 70 *(u8 *)to = *(volatile u8 *)from; in memcpy_fromio() 71 to++; in memcpy_fromio() 82 void memcpy_toio(volatile void __iomem *to, const void *from, unsigned long count) in memcpy_toio() argument [all …]
|
/arch/m68k/include/asm/ |
D | uaccess_mm.h | 180 unsigned long __generic_copy_from_user(void *to, const void __user *from, unsigned long n); 181 unsigned long __generic_copy_to_user(void __user *to, const void *from, unsigned long n); 188 #define ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\ argument 223 : "+d" (res), "+&a" (to), "+a" (from), "=&d" (tmp) \ 226 #define ___constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\ argument 227 ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3) 228 #define __constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3) \ argument 229 ___constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, \ 233 __constant_copy_from_user(void *to, const void __user *from, unsigned long n) in __constant_copy_from_user() argument 239 __constant_copy_from_user_asm(res, to, from, tmp, 1, 0, 0); in __constant_copy_from_user() [all …]
|
/arch/x86/lib/ |
D | mmx_32.c | 29 void *_mmx_memcpy(void *to, const void *from, size_t len) in _mmx_memcpy() argument 35 return __memcpy(to, from, len); in _mmx_memcpy() 37 p = to; in _mmx_memcpy() 80 : : "r" (from), "r" (to) : "memory"); in _mmx_memcpy() 83 to += 64; in _mmx_memcpy() 104 : : "r" (from), "r" (to) : "memory"); in _mmx_memcpy() 107 to += 64; in _mmx_memcpy() 112 __memcpy(to, from, len & 63); in _mmx_memcpy() 159 static void fast_copy_page(void *to, void *from) in fast_copy_page() argument 205 _ASM_EXTABLE(1b, 3b) : : "r" (from), "r" (to) : "memory"); in fast_copy_page() [all …]
|
D | usercopy_32.c | 67 clear_user(void __user *to, unsigned long n) in clear_user() argument 70 if (access_ok(VERIFY_WRITE, to, n)) in clear_user() 71 __do_clear_user(to, n); in clear_user() 88 __clear_user(void __user *to, unsigned long n) in __clear_user() argument 90 __do_clear_user(to, n); in __clear_user() 97 __copy_user_intel(void __user *to, const void *from, unsigned long size) in __copy_user_intel() argument 195 : "1"(to), "2"(from), "0"(size) in __copy_user_intel() 200 static unsigned long __copy_user_intel_nocache(void *to, in __copy_user_intel_nocache() argument 283 : "1"(to), "2"(from), "0"(size) in __copy_user_intel_nocache() 294 unsigned long __copy_user_intel(void __user *to, const void *from, [all …]
|
/arch/m68k/lib/ |
D | memcpy.c | 10 void *memcpy(void *to, const void *from, size_t n) in memcpy() argument 12 void *xto = to; in memcpy() 17 if ((long)to & 1) { in memcpy() 18 char *cto = to; in memcpy() 21 to = cto; in memcpy() 27 char *cto = to; in memcpy() 34 if (n > 2 && (long)to & 2) { in memcpy() 35 short *sto = to; in memcpy() 38 to = sto; in memcpy() 44 long *lto = to; in memcpy() [all …]
|
/arch/arm64/kernel/ |
D | io.c | 26 void __memcpy_fromio(void *to, const volatile void __iomem *from, size_t count) in __memcpy_fromio() argument 29 *(u8 *)to = __raw_readb(from); in __memcpy_fromio() 31 to++; in __memcpy_fromio() 36 *(u64 *)to = __raw_readq(from); in __memcpy_fromio() 38 to += 8; in __memcpy_fromio() 43 *(u8 *)to = __raw_readb(from); in __memcpy_fromio() 45 to++; in __memcpy_fromio() 54 void __memcpy_toio(volatile void __iomem *to, const void *from, size_t count) in __memcpy_toio() argument 56 while (count && !IS_ALIGNED((unsigned long)to, 8)) { in __memcpy_toio() 57 __raw_writeb(*(u8 *)from, to); in __memcpy_toio() [all …]
|
/arch/mips/kernel/ |
D | signal32.c | 80 int copy_siginfo_to_user32(compat_siginfo_t __user *to, const siginfo_t *from) in copy_siginfo_to_user32() argument 84 if (!access_ok (VERIFY_WRITE, to, sizeof(compat_siginfo_t))) in copy_siginfo_to_user32() 94 err = __put_user(from->si_signo, &to->si_signo); in copy_siginfo_to_user32() 95 err |= __put_user(from->si_errno, &to->si_errno); in copy_siginfo_to_user32() 96 err |= __put_user(from->si_code, &to->si_code); in copy_siginfo_to_user32() 98 err |= __copy_to_user(&to->_sifields._pad, &from->_sifields._pad, SI_PAD_SIZE); in copy_siginfo_to_user32() 102 err |= __put_user(from->si_tid, &to->si_tid); in copy_siginfo_to_user32() 103 err |= __put_user(from->si_overrun, &to->si_overrun); in copy_siginfo_to_user32() 104 err |= __put_user(from->si_int, &to->si_int); in copy_siginfo_to_user32() 107 err |= __put_user(from->si_utime, &to->si_utime); in copy_siginfo_to_user32() [all …]
|
/arch/x86/include/asm/ |
D | string_32.h | 33 static __always_inline void *__memcpy(void *to, const void *from, size_t n) in __memcpy() argument 43 : "0" (n / 4), "g" (n), "1" ((long)to), "2" ((long)from) in __memcpy() 45 return to; in __memcpy() 52 static __always_inline void *__constant_memcpy(void *to, const void *from, in __constant_memcpy() argument 57 return to; in __constant_memcpy() 61 *(char *)to = *(char *)from; in __constant_memcpy() 62 return to; in __constant_memcpy() 64 *(short *)to = *(short *)from; in __constant_memcpy() 65 return to; in __constant_memcpy() 67 *(int *)to = *(int *)from; in __constant_memcpy() [all …]
|
D | uaccess_32.h | 13 (void *to, const void *from, unsigned long n); 15 (void *to, const void __user *from, unsigned long n); 18 raw_copy_to_user(void __user *to, const void *from, unsigned long n) in raw_copy_to_user() argument 20 return __copy_user_ll((__force void *)to, from, n); in raw_copy_to_user() 24 raw_copy_from_user(void *to, const void __user *from, unsigned long n) in raw_copy_from_user() argument 33 __get_user_asm_nozero(*(u8 *)to, from, ret, in raw_copy_from_user() 40 __get_user_asm_nozero(*(u16 *)to, from, ret, in raw_copy_from_user() 47 __get_user_asm_nozero(*(u32 *)to, from, ret, in raw_copy_from_user() 53 return __copy_user_ll(to, (__force const void *)from, n); in raw_copy_from_user() 57 __copy_from_user_inatomic_nocache(void *to, const void __user *from, in __copy_from_user_inatomic_nocache() argument [all …]
|
D | asm.h | 122 # define _ASM_EXTABLE_HANDLE(from, to, handler) \ 126 .long (to) - . ; \ 130 # define _ASM_EXTABLE(from, to) \ 131 _ASM_EXTABLE_HANDLE(from, to, ex_handler_default) 133 # define _ASM_EXTABLE_FAULT(from, to) \ 134 _ASM_EXTABLE_HANDLE(from, to, ex_handler_fault) 136 # define _ASM_EXTABLE_EX(from, to) \ 137 _ASM_EXTABLE_HANDLE(from, to, ex_handler_ext) 139 # define _ASM_EXTABLE_REFCOUNT(from, to) \ 140 _ASM_EXTABLE_HANDLE(from, to, ex_handler_refcount) [all …]
|
/arch/h8300/include/asm/ |
D | uaccess.h | 8 raw_copy_from_user(void *to, const void __user * from, unsigned long n) in raw_copy_from_user() argument 13 *(u8 *)to = *(u8 __force *)from; in raw_copy_from_user() 16 *(u16 *)to = *(u16 __force *)from; in raw_copy_from_user() 19 *(u32 *)to = *(u32 __force *)from; in raw_copy_from_user() 24 memcpy(to, (const void __force *)from, n); in raw_copy_from_user() 29 raw_copy_to_user(void __user *to, const void *from, unsigned long n) in raw_copy_to_user() argument 34 *(u8 __force *)to = *(u8 *)from; in raw_copy_to_user() 37 *(u16 __force *)to = *(u16 *)from; in raw_copy_to_user() 40 *(u32 __force *)to = *(u32 *)from; in raw_copy_to_user() 47 memcpy((void __force *)to, from, n); in raw_copy_to_user()
|
/arch/c6x/include/asm/ |
D | uaccess.h | 20 raw_copy_from_user(void *to, const void __user *from, unsigned long n) in raw_copy_from_user() argument 28 *(u8 *)to = *(u8 __force *)from; in raw_copy_from_user() 35 : "A"(to), "a"(from) in raw_copy_from_user() 43 : "a"(to), "a"(from) in raw_copy_from_user() 51 memcpy(to, (const void __force *)from, n); in raw_copy_from_user() 56 raw_copy_to_user(void __user *to, const void *from, unsigned long n) in raw_copy_to_user() argument 64 *(u8 __force *)to = *(u8 *)from; in raw_copy_to_user() 71 : "a"(to), "a"(from) in raw_copy_to_user() 79 : "a"(to), "a"(from) in raw_copy_to_user() 87 memcpy((void __force *)to, from, n); in raw_copy_to_user()
|
/arch/alpha/kernel/ |
D | io.c | 421 void memcpy_fromio(void *to, const volatile void __iomem *from, long count) in memcpy_fromio() argument 426 if (count >= 8 && ((u64)to & 7) == ((u64)from & 7)) { in memcpy_fromio() 429 *(u64 *)to = __raw_readq(from); in memcpy_fromio() 431 to += 8; in memcpy_fromio() 437 if (count >= 4 && ((u64)to & 3) == ((u64)from & 3)) { in memcpy_fromio() 440 *(u32 *)to = __raw_readl(from); in memcpy_fromio() 442 to += 4; in memcpy_fromio() 448 if (count >= 2 && ((u64)to & 1) == ((u64)from & 1)) { in memcpy_fromio() 451 *(u16 *)to = __raw_readw(from); in memcpy_fromio() 453 to += 2; in memcpy_fromio() [all …]
|
/arch/tile/kernel/ |
D | compat_signal.c | 53 int copy_siginfo_to_user32(struct compat_siginfo __user *to, const siginfo_t *from) in copy_siginfo_to_user32() argument 57 if (!access_ok(VERIFY_WRITE, to, sizeof(struct compat_siginfo))) in copy_siginfo_to_user32() 65 err = __put_user(from->si_signo, &to->si_signo); in copy_siginfo_to_user32() 66 err |= __put_user(from->si_errno, &to->si_errno); in copy_siginfo_to_user32() 67 err |= __put_user(from->si_code, &to->si_code); in copy_siginfo_to_user32() 70 err |= __put_user(from->si_pid, &to->si_pid); in copy_siginfo_to_user32() 71 err |= __put_user(from->si_uid, &to->si_uid); in copy_siginfo_to_user32() 72 err |= __put_user(from->si_int, &to->si_int); in copy_siginfo_to_user32() 79 &to->_sifields._pad[0]); in copy_siginfo_to_user32() 84 err |= __put_user(from->si_utime, &to->si_utime); in copy_siginfo_to_user32() [all …]
|
/arch/um/ |
D | Kconfig.char | 8 console driver which dumps all printk messages to stderr. 13 The User-Mode Linux environment allows you to create virtual serial 14 lines on the UML that are usually made to show up on the host as 18 information and command line examples of how to use this facility. 26 lines to a device similar to /dev/null. Data written to it disappears 27 and there is never any data to be read. 33 lines to host portals. They may be accessed with 'telnet <host> 35 attached to a single portal, although what UML device you get when 36 you telnet to that portal will be unpredictable. 37 It is safe to say 'Y' here. [all …]
|
/arch/parisc/kernel/ |
D | signal32.c | 278 copy_siginfo_from_user32 (siginfo_t *to, compat_siginfo_t __user *from) in copy_siginfo_from_user32() argument 286 err = __get_user(to->si_signo, &from->si_signo); in copy_siginfo_from_user32() 287 err |= __get_user(to->si_errno, &from->si_errno); in copy_siginfo_from_user32() 288 err |= __get_user(to->si_code, &from->si_code); in copy_siginfo_from_user32() 290 if (to->si_code < 0) in copy_siginfo_from_user32() 291 err |= __copy_from_user(&to->_sifields._pad, &from->_sifields._pad, SI_PAD_SIZE); in copy_siginfo_from_user32() 293 switch (siginfo_layout(to->si_signo, to->si_code)) { in copy_siginfo_from_user32() 295 err |= __get_user(to->si_utime, &from->si_utime); in copy_siginfo_from_user32() 296 err |= __get_user(to->si_stime, &from->si_stime); in copy_siginfo_from_user32() 297 err |= __get_user(to->si_status, &from->si_status); in copy_siginfo_from_user32() [all …]
|
/arch/s390/lib/ |
D | uaccess.c | 108 unsigned long raw_copy_from_user(void *to, const void __user *from, unsigned long n) in raw_copy_from_user() argument 111 return copy_from_user_mvcos(to, from, n); in raw_copy_from_user() 112 return copy_from_user_mvcp(to, from, n); in raw_copy_from_user() 181 unsigned long raw_copy_to_user(void __user *to, const void *from, unsigned long n) in raw_copy_to_user() argument 184 return copy_to_user_mvcos(to, from, n); in raw_copy_to_user() 185 return copy_to_user_mvcs(to, from, n); in raw_copy_to_user() 189 static inline unsigned long copy_in_user_mvcos(void __user *to, const void __user *from, in copy_in_user_mvcos() argument 207 : "+a" (size), "+a" (to), "+a" (from), "+a" (tmp1), "=a" (tmp2) in copy_in_user_mvcos() 212 static inline unsigned long copy_in_user_mvc(void __user *to, const void __user *from, in copy_in_user_mvc() argument 239 : "+a" (size), "+a" (to), "+a" (from), "=a" (tmp1) in copy_in_user_mvc() [all …]
|
/arch/arc/include/asm/ |
D | uaccess.h | 171 raw_copy_from_user(void *to, const void __user *from, unsigned long n) in raw_copy_from_user() argument 182 if (((unsigned long)to & 0x3) || ((unsigned long)from & 0x3)) { in raw_copy_from_user() 208 "=&r" (tmp), "+r" (to), "+r" (from) in raw_copy_from_user() 249 : "+r" (res), "+r"(to), "+r"(from), in raw_copy_from_user() 273 : "+r" (res), "+r"(to), "+r"(from), in raw_copy_from_user() 294 : "+r" (res), "+r"(to), "+r"(from), "=r"(tmp1) in raw_copy_from_user() 314 : "+r" (res), "+r"(to), "+r"(from), "=r"(tmp1) in raw_copy_from_user() 332 : "+r" (res), "+r"(to), "+r"(from), "=r"(tmp1) in raw_copy_from_user() 388 : "=r" (res), "+r"(to), "+r"(from), "+r"(n), "=r"(val), in raw_copy_from_user() 398 raw_copy_to_user(void __user *to, const void *from, unsigned long n) in raw_copy_to_user() argument [all …]
|
/arch/arm/nwfpe/ |
D | ChangeLog | 2 * Reformat all but softfloat files to get a consistent coding style. 4 * Removed dead code and fixed function protypes to match definitions. 13 - add new method to obtain integer register values. 19 It is used by users of ptrace to examine the values of the 20 floating point registers. Therefore, any changes to the 22 within) have to be well thought out. 24 * Since 128-bit float requires the FPA11 structure to change 26 and needs various things to be re-worked so that we won't 29 * The changes are designed to break any patch that goes on top 34 * fpmodule.c - Changed version number to 0.95 [all …]
|