Home
last modified time | relevance | path

Searched refs:__gu_err (Results 1 – 20 of 20) sorted by relevance

/linux/arch/microblaze/include/asm/
A Duaccess.h113 : "=&r"(__gu_err), "=r"(__gu_val) \
145 long __gu_err; \
154 __get_user_asm("lw", (ptr), __gu_val, __gu_err); \
158 if (__gu_err) \
159 __gu_err = -EFAULT; \
165 __gu_err; \
182 : "=&r"(__gu_err) \
202 : "=&r"(__gu_err) \
263 long __gu_err = 0; \
275 __put_user_asm_8((ptr), __gu_val, __gu_err); \
[all …]
/linux/arch/alpha/include/asm/
A Duaccess.h89 long __gu_err = 0; \
100 __gu_err; \
105 long __gu_err = -EFAULT; \
109 __gu_err = 0; \
119 __gu_err; \
130 : "m"(__m(addr)), "1"(__gu_err))
137 : "m"(__m(addr)), "1"(__gu_err))
147 : "m"(__m(addr)), "1"(__gu_err))
154 : "m"(__m(addr)), "1"(__gu_err))
171 : "r"(addr), "2"(__gu_err)); \
[all …]
/linux/arch/nios2/include/asm/
A Duaccess.h130 long __gu_err = -EFAULT; \
133 __get_user_common(__gu_val, sizeof(*(ptr)), __gu_ptr, __gu_err);\
135 __gu_err; \
140 long __gu_err = -EFAULT; \
145 __gu_ptr, __gu_err); \
147 __gu_err; \
/linux/arch/sh/include/asm/
A Duaccess.h58 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; \
/linux/arch/riscv/include/asm/
A Duaccess.h142 #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; \
/linux/arch/parisc/include/asm/
A Duaccess.h64 register long __gu_err __asm__ ("r8") = 0; \
74 __gu_err; \
89 : "=r"(__gu_val), "=r"(__gu_err) \
90 : "r"(ptr), "1"(__gu_err)); \
123 : "=&r"(__gu_tmp.l), "=r"(__gu_err) \
124 : "r"(ptr), "1"(__gu_err)); \
/linux/arch/mips/include/asm/
A Dpaccess.h36 long __gu_err; \
41 __asm__("":"=r" (__gu_err)); \
50 __gu_err; \
68 :"=r" (__gu_err), "=r" (__gu_val) \
A Duaccess.h213 int __gu_err = 0; \
233 __gu_err; \
262 : "=r" (__gu_err), "=r" (__gu_tmp) \
293 : "=r" (__gu_err), "=&r" (__gu_tmp.l) \
303 int __gu_err; \
326 if (unlikely(__gu_err)) \
/linux/arch/openrisc/include/asm/
A Duaccess.h168 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; \
/linux/arch/xtensa/include/asm/
A Duaccess.h175 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; \
/linux/include/asm-generic/
A Duaccess.h192 int __gu_err = -EFAULT; \
197 __gu_err = __get_user_fn(sizeof (*(ptr)), \
204 __gu_err = __get_user_fn(sizeof (*(ptr)), \
211 __gu_err = __get_user_fn(sizeof (*(ptr)), \
218 __gu_err = __get_user_fn(sizeof (*(ptr)), \
227 __gu_err; \
/linux/arch/ia64/include/asm/
A Duaccess.h150 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; \
/linux/arch/s390/include/asm/
A Duaccess.h186 int __gu_err = -EFAULT; \
191 __gu_err = __get_user_fn(&__x, ptr, \
198 __gu_err = __get_user_fn(&__x, ptr, \
205 __gu_err = __get_user_fn(&__x, ptr, \
212 __gu_err = __get_user_fn(&__x, ptr, \
221 __builtin_expect(__gu_err, 0); \
/linux/arch/m68k/include/asm/
A Duaccess.h170 int __gu_err = 0; \
174 __get_user_asm(MOVES, __gu_err, x, ptr, u8, b, d, -EFAULT); \
177 __get_user_asm(MOVES, __gu_err, x, ptr, u16, w, r, -EFAULT); \
180 __get_user_asm(MOVES, __gu_err, x, ptr, u32, l, r, -EFAULT); \
183 __get_user_asm8(MOVES, __gu_err, x, ptr); \
188 __gu_err; \
/linux/arch/nds32/include/asm/
A Duaccess.h77 long __gu_err = 0; \
78 __get_user_check((x), (ptr), __gu_err); \
79 __gu_err; \
/linux/Documentation/x86/
A Dexception-tables.rst73 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/arch/arm64/include/asm/
A Duaccess.h316 int __gu_err = 0; \
317 __get_user_error((x), (ptr), __gu_err); \
318 __gu_err; \
/linux/arch/x86/include/asm/
A Duaccess.h500 int __gu_err; \
502 __get_user_size(__gu_val, (ptr), sizeof(*(ptr)), __gu_err); \
504 if (unlikely(__gu_err)) goto err_label; \
/linux/arch/arm/include/asm/
A Duaccess.h274 long __gu_err = 0; \
275 __get_user_err((x), (ptr), __gu_err, TUSER()); \
276 __gu_err; \
/linux/arch/powerpc/include/asm/
A Duaccess.h259 long __gu_err; \
266 __get_user_size_allowed(__gu_val, __gu_addr, __gu_size, __gu_err); \
270 __gu_err; \

Completed in 23 milliseconds