/kernel/linux/linux-5.10/arch/microblaze/include/asm/ |
D | uaccess.h | 126 #define __get_user_asm(insn, __gu_ptr, __gu_val, __gu_err) \ argument 139 : "=&r"(__gu_err), "=r"(__gu_val) \ 171 long __gu_err; \ 174 __get_user_asm("lbu", (ptr), __gu_val, __gu_err); \ 177 __get_user_asm("lhu", (ptr), __gu_val, __gu_err); \ 180 __get_user_asm("lw", (ptr), __gu_val, __gu_err); \ 183 __gu_err = __copy_from_user(&__gu_val, ptr, 8); \ 184 if (__gu_err) \ 185 __gu_err = -EFAULT; \ 188 /* __gu_val = 0; __gu_err = -EINVAL;*/ __gu_err = __user_bad();\ [all …]
|
/kernel/linux/linux-5.10/arch/alpha/include/asm/ |
D | uaccess.h | 89 long __gu_err = 0; \ 100 __gu_err; \ 105 long __gu_err = -EFAULT; \ 109 __gu_err = 0; \ 119 __gu_err; \ 129 : "=r"(__gu_val), "=r"(__gu_err) \ 130 : "m"(__m(addr)), "1"(__gu_err)) 136 : "=r"(__gu_val), "=r"(__gu_err) \ 137 : "m"(__m(addr)), "1"(__gu_err)) 146 : "=r"(__gu_val), "=r"(__gu_err) \ [all …]
|
/kernel/linux/linux-5.10/arch/nios2/include/asm/ |
D | uaccess.h | 131 long __gu_err = -EFAULT; \ 134 __get_user_common(__gu_val, sizeof(*(ptr)), __gu_ptr, __gu_err);\ 136 __gu_err; \ 141 long __gu_err = -EFAULT; \ 146 __gu_ptr, __gu_err); \ 148 __gu_err; \
|
/kernel/linux/linux-5.10/arch/parisc/include/asm/ |
D | uaccess.h | 85 register long __gu_err __asm__ ("r8") = 0; \ 95 __gu_err; \ 111 : "=r"(__gu_val), "=r"(__gu_err) \ 112 : "r"(ptr), "1"(__gu_err)); \ 132 : "=&r"(__gu_tmp.l), "=r"(__gu_err) \ 133 : "r"(ptr), "1"(__gu_err)); \
|
/kernel/linux/linux-5.10/arch/sh/include/asm/ |
D | uaccess.h | 58 long __gu_err; \ 62 __get_user_size(__gu_val, __gu_addr, (size), __gu_err); \ 64 __gu_err; \ 69 long __gu_err = -EFAULT; \ 73 __get_user_size(__gu_val, __gu_addr, (size), __gu_err); \ 75 __gu_err; \
|
/kernel/linux/linux-5.10/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 | 286 int __gu_err; \ 294 __gu_err; \ 299 int __gu_err = -EFAULT; \ 311 __gu_err; \ 330 : "=r" (__gu_err), "=r" (__gu_tmp) \ 361 : "=r" (__gu_err), "=&r" (__gu_tmp.l) \
|
/kernel/linux/linux-5.10/arch/riscv/include/asm/ |
D | uaccess.h | 142 #define __get_user_nocheck(x, __gu_ptr, __gu_err) \ argument 146 __get_user_asm("lb", (x), __gu_ptr, __gu_err); \ 149 __get_user_asm("lh", (x), __gu_ptr, __gu_err); \ 152 __get_user_asm("lw", (x), __gu_ptr, __gu_err); \ 155 __get_user_8((x), __gu_ptr, __gu_err); \ 185 long __gu_err = 0; \ 190 __get_user_nocheck(x, __gu_ptr, __gu_err); \ 193 __gu_err; \
|
/kernel/linux/linux-5.10/arch/openrisc/include/asm/ |
D | uaccess.h | 168 long __gu_err; \ 169 __get_user_size((x), (ptr), (size), __gu_err); \ 170 __gu_err; \ 175 long __gu_err = -EFAULT; \ 178 __get_user_size((x), __gu_addr, (size), __gu_err); \ 181 __gu_err; \
|
/kernel/linux/linux-5.10/arch/csky/include/asm/ |
D | uaccess.h | 202 long __gu_err; \ 203 __get_user_size(x, (ptr), (size), __gu_err); \ 204 __gu_err; \ 209 int __gu_err = -EFAULT; \ 212 __get_user_size(x, __gu_ptr, size, __gu_err); \ 213 __gu_err; \
|
/kernel/linux/linux-5.10/arch/xtensa/include/asm/ |
D | uaccess.h | 175 long __gu_err; \ 176 __get_user_size((x), (ptr), (size), __gu_err); \ 177 __gu_err; \ 182 long __gu_err = -EFAULT; \ 185 __get_user_size((x), __gu_addr, (size), __gu_err); \ 188 __gu_err; \
|
/kernel/linux/linux-5.10/arch/m68k/include/asm/ |
D | uaccess.h | 135 int __gu_err = 0; \ 139 __get_user_asm(__gu_err, x, ptr, u8, b, d, -EFAULT); \ 142 __get_user_asm(__gu_err, x, ptr, u16, w, r, -EFAULT); \ 145 __get_user_asm(__gu_err, x, ptr, u32, l, r, -EFAULT); \ 170 : "+d" (__gu_err), "=&r" (__gu_val.l), \ 178 __gu_err = __get_user_bad(); \ 181 __gu_err; \
|
/kernel/linux/linux-5.10/include/asm-generic/ |
D | uaccess.h | 187 int __gu_err = -EFAULT; \ 192 __gu_err = __get_user_fn(sizeof (*(ptr)), \ 199 __gu_err = __get_user_fn(sizeof (*(ptr)), \ 206 __gu_err = __get_user_fn(sizeof (*(ptr)), \ 213 __gu_err = __get_user_fn(sizeof (*(ptr)), \ 222 __gu_err; \
|
/kernel/linux/linux-5.10/arch/ia64/include/asm/ |
D | uaccess.h | 150 long __gu_err = -EFAULT; \ 154 case 1: __get_user_size(__gu_val, __gu_ptr, 1, __gu_err); break; \ 155 case 2: __get_user_size(__gu_val, __gu_ptr, 2, __gu_err); break; \ 156 case 4: __get_user_size(__gu_val, __gu_ptr, 4, __gu_err); break; \ 157 case 8: __get_user_size(__gu_val, __gu_ptr, 8, __gu_err); break; \ 161 __gu_err; \
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
D | uaccess.h | 204 int __gu_err = -EFAULT; \ 209 __gu_err = __get_user_fn(&__x, ptr, \ 216 __gu_err = __get_user_fn(&__x, ptr, \ 223 __gu_err = __get_user_fn(&__x, ptr, \ 230 __gu_err = __get_user_fn(&__x, ptr, \ 239 __builtin_expect(__gu_err, 0); \
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | uaccess.h | 308 long __gu_err; \ 318 __get_user_size(__gu_val, __gu_addr, __gu_size, __gu_err); \ 320 __get_user_size_allowed(__gu_val, __gu_addr, __gu_size, __gu_err); \ 323 __gu_err; \ 328 long __gu_err = -EFAULT; \ 336 __get_user_size(__gu_val, __gu_addr, __gu_size, __gu_err); \ 340 __gu_err; \ 345 long __gu_err; \ 352 __get_user_size(__gu_val, __gu_addr, __gu_size, __gu_err); \ 355 __gu_err; \
|
/kernel/linux/linux-5.10/arch/nds32/include/asm/ |
D | uaccess.h | 77 long __gu_err = 0; \ 78 __get_user_check((x), (ptr), __gu_err); \ 79 __gu_err; \
|
/kernel/linux/linux-5.10/Documentation/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;
|
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
D | uaccess.h | 314 int __gu_err = 0; \ 315 __get_user_error((x), (ptr), __gu_err); \ 316 __gu_err; \
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | uaccess.h | 501 int __gu_err; \ 503 __get_user_size(__gu_val, (ptr), sizeof(*(ptr)), __gu_err); \ 505 if (unlikely(__gu_err)) goto err_label; \
|
/kernel/linux/linux-5.10/arch/arm/include/asm/ |
D | uaccess.h | 312 long __gu_err = 0; \ 313 __get_user_err((x), (ptr), __gu_err); \ 314 __gu_err; \
|