Home
last modified time | relevance | path

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

/linux-6.12.1/arch/alpha/include/asm/
Duaccess.h117 long __pu_err = 0; \
126 __pu_err; \
131 long __pu_err = -EFAULT; \
134 __pu_err = 0; \
143 __pu_err; \
155 : "=r"(__pu_err) \
156 : "m" (__m(addr)), "rJ" (x), "0"(__pu_err))
162 : "=r"(__pu_err) \
163 : "m"(__m(addr)), "rJ"(x), "0"(__pu_err))
169 : "=r"(__pu_err) \
[all …]
/linux-6.12.1/arch/microblaze/include/asm/
Duaccess.h190 int __pu_err = 0; \
196 __pu_err); \
200 __pu_err); \
204 __pu_err); \
207 __put_user_asm_8(__pu_addr, __pu_val, __pu_err);\
210 __pu_err = __user_bad(); \
214 __pu_err = -EFAULT; \
216 __pu_err; \
/linux-6.12.1/arch/nios2/include/asm/
Duaccess.h151 long __pu_err = -EFAULT; \
154 __put_user_asm(__pu_val, "stb", __pu_ptr, __pu_err); \
157 __put_user_asm(__pu_val, "sth", __pu_ptr, __pu_err); \
160 __put_user_asm(__pu_val, "stw", __pu_ptr, __pu_err); \
164 __pu_err = 0; \
167 __pu_err = -EFAULT; \
170 __pu_err; \
/linux-6.12.1/arch/riscv/include/asm/
Duaccess.h206 #define __put_user_nocheck(x, __gu_ptr, __pu_err) \ argument
210 __put_user_asm("sb", (x), __gu_ptr, __pu_err); \
213 __put_user_asm("sh", (x), __gu_ptr, __pu_err); \
216 __put_user_asm("sw", (x), __gu_ptr, __pu_err); \
219 __put_user_8((x), __gu_ptr, __pu_err); \
251 long __pu_err = 0; \
256 __put_user_nocheck(__val, __gu_ptr, __pu_err); \
259 __pu_err; \
/linux-6.12.1/arch/sh/include/asm/
Duaccess.h58 long __pu_err; \
62 __put_user_size(__pu_val, __pu_addr, (size), __pu_err); \
63 __pu_err; \
68 long __pu_err = -EFAULT; \
73 __pu_err); \
74 __pu_err; \
/linux-6.12.1/arch/openrisc/include/asm/
Duaccess.h59 long __pu_err; \
60 __put_user_size((x), (ptr), (size), __pu_err); \
61 __pu_err; \
66 long __pu_err = -EFAULT; \
69 __put_user_size((x), __pu_addr, (size), __pu_err); \
70 __pu_err; \
/linux-6.12.1/arch/mips/include/asm/
Dpaccess.h76 long __pu_err; \
81 __asm__("":"=r" (__pu_err)); \
89 __pu_err; \
106 : "=r" (__pu_err) \
Duaccess.h125 int __pu_err = 0; \
145 __pu_err; \
311 : "=r" (__pu_err) \
331 : "=r" (__pu_err) \
339 int __pu_err = 0; \
359 if (unlikely(__pu_err)) \
/linux-6.12.1/arch/xtensa/include/asm/
Duaccess.h55 long __pu_err; \
56 __put_user_size((x), (ptr), (size), __pu_err); \
57 __pu_err; \
62 long __pu_err = -EFAULT; \
65 __put_user_size((x), __pu_addr, (size), __pu_err); \
66 __pu_err; \
/linux-6.12.1/arch/loongarch/include/asm/
Duaccess.h131 int __pu_err = 0; \
137 __pu_err; \
189 : "+r" (__pu_err), "=m" (__m(ptr)) \
206 int __pu_err = 0; \
210 if (unlikely(__pu_err)) \
/linux-6.12.1/arch/parisc/include/asm/
Duaccess.h101 ASM_EXCEPTIONTABLE_VAR(__pu_err); \
111 __pu_err; \
148 : "+r"(__pu_err) \
161 : "+r"(__pu_err) \
/linux-6.12.1/arch/m68k/include/asm/
Duaccess.h82 int __pu_err = 0; \
86 __put_user_asm(MOVES, __pu_err, __pu_val, ptr, b, d, -EFAULT); \
89 __put_user_asm(MOVES, __pu_err, __pu_val, ptr, w, r, -EFAULT); \
92 __put_user_asm(MOVES, __pu_err, __pu_val, ptr, l, r, -EFAULT); \
95 __put_user_asm8(MOVES, __pu_err, __pu_val, ptr); \
100 __pu_err; \
/linux-6.12.1/arch/arm/include/asm/
Duaccess.h375 int __pu_err = 0; \
376 __put_user_switch((x), (ptr), __pu_err, __put_user_check); \
377 __pu_err; \
390 long __pu_err = 0; \
391 __put_user_switch((x), (ptr), __pu_err, __put_user_nocheck); \
392 __pu_err; \
/linux-6.12.1/include/asm-generic/
Duaccess.h107 int __pu_err = -EFAULT; \
114 __pu_err = __put_user_fn(sizeof (*(ptr)), \
121 __pu_err; \
/linux-6.12.1/arch/powerpc/include/asm/
Duaccess.h39 long __pu_err; \
51 __pu_err = 0; \
56 __pu_err = -EFAULT; \
59 __pu_err; \
/linux-6.12.1/arch/arm64/include/asm/
Duaccess.h364 int __pu_err = 0; \
365 __put_user_error((x), (ptr), __pu_err); \
366 __pu_err; \
/linux-6.12.1/arch/s390/include/asm/
Duaccess.h247 int __pu_err = -EFAULT; \
255 __pu_err = __put_user_fn(&__x, ptr, sizeof(*(ptr))); \
261 __builtin_expect(__pu_err, 0); \