Home
last modified time | relevance | path

Searched refs:__pu_err (Results 1 – 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/arch/alpha/include/asm/
Duaccess.h187 long __pu_err = 0; \
196 __pu_err; \
201 long __pu_err = -EFAULT; \
204 __pu_err = 0; \
213 __pu_err; \
225 : "=r"(__pu_err) \
226 : "m" (__m(addr)), "rJ" (x), "0"(__pu_err))
232 : "=r"(__pu_err) \
233 : "m"(__m(addr)), "rJ"(x), "0"(__pu_err))
242 : "=r"(__pu_err) \
[all …]
/kernel/linux/linux-5.10/arch/nios2/include/asm/
Duaccess.h167 long __pu_err = -EFAULT; \
173 __put_user_asm(__pu_val, "stb", __pu_ptr, __pu_err); \
176 __put_user_asm(__pu_val, "sth", __pu_ptr, __pu_err); \
179 __put_user_asm(__pu_val, "stw", __pu_ptr, __pu_err); \
183 __pu_err = 0; \
186 __pu_err = -EFAULT; \
190 __pu_err; \
/kernel/linux/linux-5.10/arch/microblaze/include/asm/
Duaccess.h257 int __pu_err = 0; \
263 __pu_err); \
267 __pu_err); \
271 __pu_err); \
274 __put_user_asm_8(__pu_addr, __pu_val, __pu_err);\
277 __pu_err = __user_bad(); \
281 __pu_err = -EFAULT; \
283 __pu_err; \
/kernel/linux/linux-5.10/arch/parisc/include/asm/
Duaccess.h143 register long __pu_err __asm__ ("r8") = 0; \
154 __pu_err; \
178 : "=r"(__pu_err) \
179 : "r"(ptr), "r"(x), "0"(__pu_err))
191 : "=r"(__pu_err) \
192 : "r"(ptr), "r"(__val), "0"(__pu_err)); \
/kernel/linux/linux-5.10/arch/sh/include/asm/
Duaccess.h80 long __pu_err; \
84 __put_user_size(__pu_val, __pu_addr, (size), __pu_err); \
85 __pu_err; \
90 long __pu_err = -EFAULT; \
95 __pu_err); \
96 __pu_err; \
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dpaccess.h76 long __pu_err; \
81 __asm__("":"=r" (__pu_err)); \
89 __pu_err; \
106 : "=r" (__pu_err) \
Duaccess.h426 int __pu_err = 0; \
435 __pu_err; \
442 int __pu_err = -EFAULT; \
452 __pu_err; \
468 : "=r" (__pu_err) \
488 : "=r" (__pu_err) \
/kernel/linux/linux-5.10/arch/riscv/include/asm/
Duaccess.h277 #define __put_user_nocheck(x, __gu_ptr, __pu_err) \ argument
281 __put_user_asm("sb", (x), __gu_ptr, __pu_err); \
284 __put_user_asm("sh", (x), __gu_ptr, __pu_err); \
287 __put_user_asm("sw", (x), __gu_ptr, __pu_err); \
290 __put_user_8((x), __gu_ptr, __pu_err); \
322 long __pu_err = 0; \
327 __put_user_nocheck(__val, __gu_ptr, __pu_err); \
330 __pu_err; \
/kernel/linux/linux-5.10/arch/csky/include/asm/
Duaccess.h71 long __pu_err = 0; \
76 __pu_err); \
77 __pu_err; \
82 long __pu_err = -EFAULT; \
86 __put_user_size(__pu_val, __pu_addr, (size), __pu_err); \
87 __pu_err; \
/kernel/linux/linux-5.10/arch/openrisc/include/asm/
Duaccess.h96 long __pu_err; \
97 __put_user_size((x), (ptr), (size), __pu_err); \
98 __pu_err; \
103 long __pu_err = -EFAULT; \
106 __put_user_size((x), __pu_addr, (size), __pu_err); \
107 __pu_err; \
/kernel/linux/linux-5.10/arch/xtensa/include/asm/
Duaccess.h79 long __pu_err; \
80 __put_user_size((x), (ptr), (size), __pu_err); \
81 __pu_err; \
86 long __pu_err = -EFAULT; \
89 __put_user_size((x), __pu_addr, (size), __pu_err); \
90 __pu_err; \
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Duaccess.h67 int __pu_err = 0; \
71 __put_user_asm(__pu_err, __pu_val, ptr, b, d, -EFAULT); \
74 __put_user_asm(__pu_err, __pu_val, ptr, w, r, -EFAULT); \
77 __put_user_asm(__pu_err, __pu_val, ptr, l, r, -EFAULT); \
98 : "+d" (__pu_err), "+a" (__pu_ptr) \
104 __pu_err = __put_user_bad(); \
107 __pu_err; \
/kernel/linux/linux-5.10/arch/ia64/include/asm/
Duaccess.h178 long __pu_err = -EFAULT; \
182 case 1: __put_user_size(__pu_x, __pu_ptr, 1, __pu_err); break; \
183 case 2: __put_user_size(__pu_x, __pu_ptr, 2, __pu_err); break; \
184 case 4: __put_user_size(__pu_x, __pu_ptr, 4, __pu_err); break; \
185 case 8: __put_user_size(__pu_x, __pu_ptr, 8, __pu_err); break; \
188 __pu_err; \
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Duaccess.h134 long __pu_err; \
142 __put_user_size(__pu_val, __pu_addr, __pu_size, __pu_err); \
144 __pu_err; \
149 long __pu_err = -EFAULT; \
156 __put_user_size(__pu_val, __pu_addr, __pu_size, __pu_err); \
158 __pu_err; \
163 long __pu_err; \
169 __put_user_size(__pu_val, __pu_addr, __pu_size, __pu_err); \
171 __pu_err; \
/kernel/linux/linux-5.10/arch/arm/include/asm/
Duaccess.h404 int __pu_err = 0; \
405 __put_user_switch((x), (ptr), __pu_err, __put_user_check); \
406 __pu_err; \
419 long __pu_err = 0; \
420 __put_user_switch((x), (ptr), __pu_err, __put_user_nocheck); \
421 __pu_err; \
/kernel/linux/linux-5.10/arch/nds32/include/asm/
Duaccess.h172 long __pu_err = 0; \
173 __put_user_err((x), (ptr), __pu_err); \
174 __pu_err; \
/kernel/linux/linux-5.10/include/asm-generic/
Duaccess.h146 int __pu_err = -EFAULT; \
153 __pu_err = __put_user_fn(sizeof (*(ptr)), \
160 __pu_err; \
/kernel/linux/linux-5.10/arch/s390/include/asm/
Duaccess.h178 int __pu_err = -EFAULT; \
185 __pu_err = __put_user_fn(&__x, ptr, \
192 __builtin_expect(__pu_err, 0); \
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Duaccess.h377 int __pu_err = 0; \
378 __put_user_error((x), (ptr), __pu_err); \
379 __pu_err; \