/linux-6.12.1/arch/microblaze/include/asm/ |
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-6.12.1/arch/alpha/include/asm/ |
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-6.12.1/arch/riscv/include/asm/ |
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-6.12.1/arch/nios2/include/asm/ |
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-6.12.1/arch/sh/include/asm/ |
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-6.12.1/arch/openrisc/include/asm/ |
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-6.12.1/arch/mips/include/asm/ |
D | paccess.h | 36 long __gu_err; \ 41 __asm__("":"=r" (__gu_err)); \ 50 __gu_err; \ 68 :"=r" (__gu_err), "=r" (__gu_val) \
|
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-6.12.1/arch/xtensa/include/asm/ |
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-6.12.1/include/asm-generic/ |
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-6.12.1/arch/loongarch/include/asm/ |
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-6.12.1/arch/parisc/include/asm/ |
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-6.12.1/arch/m68k/include/asm/ |
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-6.12.1/arch/s390/include/asm/ |
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-6.12.1/Documentation/arch/x86/ |
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-6.12.1/arch/arm64/include/asm/ |
D | uaccess.h | 267 int __gu_err = 0; \ 268 __get_user_error((x), (ptr), __gu_err); \ 269 __gu_err; \
|
/linux-6.12.1/arch/powerpc/include/asm/ |
D | uaccess.h | 298 long __gu_err; \ 305 __get_user_size_allowed(__gu_val, __gu_addr, __gu_size, __gu_err); \ 309 __gu_err; \
|
/linux-6.12.1/arch/arm/include/asm/ |
D | uaccess.h | 281 long __gu_err = 0; \ 282 __get_user_err((x), (ptr), __gu_err, TUSER()); \ 283 __gu_err; \
|
/linux-6.12.1/arch/x86/include/asm/ |
D | uaccess.h | 545 int __gu_err; \ 547 __get_user_size(__gu_val, (ptr), sizeof(*(ptr)), __gu_err); \ 549 if (unlikely(__gu_err)) goto err_label; \
|