Home
last modified time | relevance | path

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

/openbmc/linux/arch/alpha/include/asm/
H A Duaccess.h147 long __pu_err = 0; \
156 __pu_err; \
161 long __pu_err = -EFAULT; \
164 __pu_err = 0; \
173 __pu_err; \
185 : "=r"(__pu_err) \
192 : "=r"(__pu_err) \
202 : "=r"(__pu_err) \
209 : "=r"(__pu_err) \
234 : "=r"(__pu_err), "=&r"(__pu_tmp1), \
[all …]
/openbmc/linux/arch/microblaze/include/asm/
H A 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; \
/openbmc/linux/arch/nios2/include/asm/
H A 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; \
/openbmc/linux/arch/riscv/include/asm/
H A 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; \
/openbmc/linux/arch/sh/include/asm/
H A 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; \
/openbmc/linux/arch/mips/include/asm/
H A Dpaccess.h76 long __pu_err; \
81 __asm__("":"=r" (__pu_err)); \
89 __pu_err; \
106 : "=r" (__pu_err) \
H A 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)) \
/openbmc/linux/arch/openrisc/include/asm/
H A 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; \
/openbmc/linux/arch/xtensa/include/asm/
H A 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; \
/openbmc/linux/arch/loongarch/include/asm/
H A 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)) \
/openbmc/linux/arch/ia64/include/asm/
H A Duaccess.h168 long __pu_err = -EFAULT; \
172 case 1: __put_user_size(__pu_x, __pu_ptr, 1, __pu_err); break; \
173 case 2: __put_user_size(__pu_x, __pu_ptr, 2, __pu_err); break; \
174 case 4: __put_user_size(__pu_x, __pu_ptr, 4, __pu_err); break; \
175 case 8: __put_user_size(__pu_x, __pu_ptr, 8, __pu_err); break; \
178 __pu_err; \
/openbmc/linux/arch/parisc/include/asm/
H A Duaccess.h101 ASM_EXCEPTIONTABLE_VAR(__pu_err); \
111 __pu_err; \
148 : "+r"(__pu_err) \
161 : "+r"(__pu_err) \
/openbmc/linux/arch/m68k/include/asm/
H A 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; \
/openbmc/linux/arch/arm/include/asm/
H A Duaccess.h341 int __pu_err = 0; \
342 __put_user_switch((x), (ptr), __pu_err, __put_user_check); \
343 __pu_err; \
356 long __pu_err = 0; \
357 __put_user_switch((x), (ptr), __pu_err, __put_user_nocheck); \
358 __pu_err; \
/openbmc/linux/include/asm-generic/
H A Duaccess.h107 int __pu_err = -EFAULT; \
114 __pu_err = __put_user_fn(sizeof (*(ptr)), \
121 __pu_err; \
/openbmc/linux/arch/arm64/include/asm/
H A Duaccess.h335 int __pu_err = 0; \
336 __put_user_error((x), (ptr), __pu_err); \
337 __pu_err; \
/openbmc/linux/arch/powerpc/include/asm/
H A Duaccess.h39 long __pu_err; \
51 __pu_err = 0; \
56 __pu_err = -EFAULT; \
59 __pu_err; \
/openbmc/linux/arch/s390/include/asm/
H A Duaccess.h200 int __pu_err = -EFAULT; \
208 __pu_err = __put_user_fn(&__x, ptr, sizeof(*(ptr))); \
214 __builtin_expect(__pu_err, 0); \