/linux/arch/microblaze/include/asm/ |
H A D | uaccess.h | 59 #define __get_user_asm(insn, __gu_ptr, __gu_val, __gu_err) \ argument 72 : "=&r"(__gu_err), "=r"(__gu_val) \ 103 long __gu_err; \ 106 __get_user_asm("lbu", (ptr), x, __gu_err); \ 109 __get_user_asm("lhu", (ptr), x, __gu_err); \ 112 __get_user_asm("lw", (ptr), x, __gu_err); \ 116 __gu_err = raw_copy_from_user(&__x, ptr, 8) ? \ 122 /* __gu_val = 0; __gu_err = -EINVAL;*/ __gu_err = __user_bad();\ 124 __gu_err; \ 128 #define __put_user_asm(insn, __gu_ptr, __gu_val, __gu_err) \ argument [all …]
|
/linux/arch/alpha/include/asm/ |
H A D | uaccess.h | 49 long __gu_err = 0; \ 60 __gu_err; \ 65 long __gu_err = -EFAULT; \ 69 __gu_err = 0; \ 79 __gu_err; \ 89 : "=r"(__gu_val), "=r"(__gu_err) \ 90 : "m"(__m(addr)), "1"(__gu_err)) 96 : "=r"(__gu_val), "=r"(__gu_err) \ 97 : "m"(__m(addr)), "1"(__gu_err)) 103 : "=r"(__gu_val), "=r"(__gu_err) \ [all …]
|
/linux/arch/riscv/include/asm/ |
H A D | uaccess.h | 91 #define __get_user_nocheck(x, __gu_ptr, __gu_err) \ argument 95 __get_user_asm("lb", (x), __gu_ptr, __gu_err); \ 98 __get_user_asm("lh", (x), __gu_ptr, __gu_err); \ 101 __get_user_asm("lw", (x), __gu_ptr, __gu_err); \ 104 __get_user_8((x), __gu_ptr, __gu_err); \ 134 long __gu_err = 0; \ 139 __get_user_nocheck(x, __gu_ptr, __gu_err); \ 142 __gu_err; \
|
/linux/arch/sh/include/asm/ |
H A D | uaccess.h | 36 long __gu_err; \ 40 __get_user_size(__gu_val, __gu_addr, (size), __gu_err); \ 42 __gu_err; \ 47 long __gu_err = -EFAULT; \ 51 __get_user_size(__gu_val, __gu_addr, (size), __gu_err); \ 53 __gu_err; \
|
/linux/arch/nios2/include/asm/ |
H A D | uaccess.h | 119 long __gu_err = -EFAULT; \ 121 __get_user_common(x, sizeof(*(ptr)), __gu_ptr, __gu_err); \ 122 __gu_err; \ 127 long __gu_err = -EFAULT; \ 131 __gu_ptr, __gu_err); \ 132 __gu_err; \
|
/linux/arch/openrisc/include/asm/ |
H A D | uaccess.h | 131 long __gu_err; \ 132 __get_user_size((x), (ptr), (size), __gu_err); \ 133 __gu_err; \ 138 long __gu_err = -EFAULT; \ 141 __get_user_size((x), __gu_addr, (size), __gu_err); \ 144 __gu_err; \
|
/linux/arch/mips/include/asm/ |
H A D | paccess.h | 36 long __gu_err; \ 41 __asm__("":"=r" (__gu_err)); \ 50 __gu_err; \ 68 :"=r" (__gu_err), "=r" (__gu_val) \
|
H A D | uaccess.h | 172 int __gu_err = 0; \ 192 __gu_err; \ 221 : "=r" (__gu_err), "=r" (__gu_tmp) \ 252 : "=r" (__gu_err), "=&r" (__gu_tmp.l) \ 260 int __gu_err; \ 283 if (unlikely(__gu_err)) \
|
/linux/arch/xtensa/include/asm/ |
H A D | uaccess.h | 151 long __gu_err; \ 152 __get_user_size((x), (ptr), (size), __gu_err); \ 153 __gu_err; \ 158 long __gu_err = -EFAULT; \ 161 __get_user_size((x), __gu_addr, (size), __gu_err); \ 164 __gu_err; \
|
/linux/include/asm-generic/ |
H A D | uaccess.h | 148 int __gu_err = -EFAULT; \ 153 __gu_err = __get_user_fn(sizeof (*(ptr)), \ 160 __gu_err = __get_user_fn(sizeof (*(ptr)), \ 167 __gu_err = __get_user_fn(sizeof (*(ptr)), \ 174 __gu_err = __get_user_fn(sizeof (*(ptr)), \ 183 __gu_err; \
|
/linux/arch/loongarch/include/asm/ |
H A D | uaccess.h | 102 int __gu_err = 0; \ 106 __gu_err; \ 164 : "+r" (__gu_err), "=r" (__gu_tmp) \ 195 int __gu_err = 0; \ 199 if (unlikely(__gu_err)) \
|
/linux/arch/parisc/include/asm/ |
H A D | uaccess.h | 32 ASM_EXCEPTIONTABLE_VAR(__gu_err); \ 42 __gu_err; \ 57 : "=r"(__gu_val), "+r"(__gu_err) \ 90 : "=&r"(__gu_tmp.l), "+r"(__gu_err) \
|
/linux/arch/m68k/include/asm/ |
H A D | uaccess.h | 160 int __gu_err = 0; \ 164 __get_user_asm(MOVES, __gu_err, x, ptr, u8, b, d, -EFAULT); \ 167 __get_user_asm(MOVES, __gu_err, x, ptr, u16, w, r, -EFAULT); \ 170 __get_user_asm(MOVES, __gu_err, x, ptr, u32, l, r, -EFAULT); \ 173 __get_user_asm8(MOVES, __gu_err, x, ptr); \ 178 __gu_err; \
|
/linux/arch/s390/include/asm/ |
H A D | uaccess.h | 272 int __gu_err = -EFAULT; \ 279 __gu_err = __get_user_fn(&__x, ptr, sizeof(*(ptr))); \ 286 __gu_err = __get_user_fn(&__x, ptr, sizeof(*(ptr))); \ 293 __gu_err = __get_user_fn(&__x, ptr, sizeof(*(ptr))); \ 300 __gu_err = __get_user_fn(&__x, ptr, sizeof(*(ptr))); \ 308 __builtin_expect(__gu_err, 0); \
|
/linux/Documentation/arch/x86/ |
H A D | exception-tables.rst | 73 long __gu_err = - 14 , __gu_val = 0; 79 __gu_err = 0; 92 ".text" : "=r"(__gu_err), "=q" (__gu_val): "m"((*(struct __large_struct *) 93 ( __gu_addr )) ), "i"(- 14 ), "0"( __gu_err )) ; 106 ".text" : "=r"(__gu_err), "=r" (__gu_val) : "m"((*(struct __large_struct *) 107 ( __gu_addr )) ), "i"(- 14 ), "0"( __gu_err )); 119 ".text" : "=r"(__gu_err), "=r" (__gu_val) : "m"((*(struct __large_struct *) 120 ( __gu_addr )) ), "i"(- 14 ), "0"(__gu_err)); 127 __gu_err;
|
/linux/arch/arm64/include/asm/ |
H A D | uaccess.h | 267 int __gu_err = 0; \ 268 __get_user_error((x), (ptr), __gu_err); \ 269 __gu_err; \
|
/linux/arch/powerpc/include/asm/ |
H A D | uaccess.h | 298 long __gu_err; \ 305 __get_user_size_allowed(__gu_val, __gu_addr, __gu_size, __gu_err); \ 309 __gu_err; \
|
/linux/arch/arm/include/asm/ |
H A D | uaccess.h | 281 long __gu_err = 0; \ 282 __get_user_err((x), (ptr), __gu_err, TUSER()); \ 283 __gu_err; \
|