Home
last modified time | relevance | path

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

/linux-2.4.37.9/include/asm-mips64/
Duaccess.h227 #define __GET_USER_DW(__gu_err) __get_user_asm("ld", __gu_err) argument
229 #define __GET_USER_DW(__gu_err) __get_user_asm_ll32(__gu_err) argument
234 long __gu_err = 0; \
239 case 1: __get_user_asm("lb", __gu_err); break; \
240 case 2: __get_user_asm("lh", __gu_err); break; \
241 case 4: __get_user_asm("lw", __gu_err); break; \
242 case 8: __GET_USER_DW(__gu_err); break; \
246 __gu_err; \
253 long __gu_err; \
255 __gu_err = verify_area(VERIFY_READ, (void *) __gu_addr, size); \
[all …]
Dpaccess.h25 long __gu_err; \
30 __asm__("":"=r" (__gu_err)); \
37 } x = (__typeof__(*(ptr))) __gu_val; __gu_err; })
53 :"=r" (__gu_err), "=r" (__gu_val) \
/linux-2.4.37.9/include/asm-mips/
Duaccess.h227 #define __GET_USER_DW(__gu_err) __get_user_asm("ld", __gu_err) argument
229 #define __GET_USER_DW(__gu_err) __get_user_asm_ll32(__gu_err) argument
234 long __gu_err = 0; \
239 case 1: __get_user_asm("lb", __gu_err); break; \
240 case 2: __get_user_asm("lh", __gu_err); break; \
241 case 4: __get_user_asm("lw", __gu_err); break; \
242 case 8: __GET_USER_DW(__gu_err); break; \
246 __gu_err; \
253 long __gu_err; \
255 __gu_err = verify_area(VERIFY_READ, (void *) __gu_addr, size); \
[all …]
Dpaccess.h25 int __gu_err; \
30 __asm__("":"=r" (__gu_err)); \
37 } x = (__typeof__(*(ptr))) __gu_val; __gu_err; })
56 :"=r" (__gu_err), "=r" (__gu_val) \
/linux-2.4.37.9/include/asm-alpha/
Duaccess.h92 long __gu_err = 0, __gu_val; \
101 __gu_err; \
106 long __gu_err = -EFAULT, __gu_val = 0; \
109 __gu_err = 0; \
119 __gu_err; \
132 : "=r"(__gu_val), "=r"(__gu_err) \
133 : "m"(__m(addr)), "1"(__gu_err))
142 : "=r"(__gu_val), "=r"(__gu_err) \
143 : "m"(__m(addr)), "1"(__gu_err))
155 : "=r"(__gu_val), "=r"(__gu_err) \
[all …]
/linux-2.4.37.9/include/asm-sh64/
Duaccess.h112 long __gu_err; \
116 __asm__("":"=r" (__gu_err)); \
119 case 1: __gu_err = __get_user_asm_b((void *) &__gu_val, __gu_addr); break; \
120 case 2: __gu_err = __get_user_asm_w((void *) &__gu_val, __gu_addr); break; \
121 case 4: __gu_err = __get_user_asm_l((void *) &__gu_val, __gu_addr); break; \
122 case 8: __gu_err = __get_user_asm_q((void *) &__gu_val, __gu_addr); break; \
124 } x = (__typeof__(*(ptr))) __gu_val; __gu_err; })
127 long __gu_err; \
131 __asm__("":"=r" (__gu_err)); \
135 case 1: __gu_err = __get_user_asm_b((void *) &__gu_val, __gu_addr); break; \
[all …]
/linux-2.4.37.9/include/asm-parisc/
Duaccess.h69 register long __gu_err __asm__ ("r8") = 0; \
92 __gu_err; \
103 : "=r"(__gu_val), "=r"(__gu_err) \
104 : "r"(ptr), "1"(__gu_err));
113 : "=r"(__gu_val), "=r"(__gu_err) \
114 : "r"(ptr), "1"(__gu_err));
123 : "=r"(__gu_val), "=r"(__gu_err) \
124 : "r"(ptr), "1"(__gu_err));
133 : "=r"(__gu_val), "=r"(__gu_err) \
134 : "r"(ptr), "1"(__gu_err));
/linux-2.4.37.9/include/asm-ia64/
Duaccess.h96 register long __gu_err asm ("r8") = 0; \
106 __gu_err; \
111 register long __gu_err asm ("r8") = -EFAULT; \
115 __gu_err = 0; \
125 __gu_err; \
148 : "=r"(__gu_val), "=r"(__gu_err) : "m"(__m(addr)), "1"(__gu_err));
154 : "=r"(__gu_val), "=r"(__gu_err) : "m"(__m(addr)), "1"(__gu_err));
160 : "=r"(__gu_val), "=r"(__gu_err) : "m"(__m(addr)), "1"(__gu_err));
166 : "=r"(__gu_val), "=r"(__gu_err) : "m"(__m(addr)), "1"(__gu_err));
/linux-2.4.37.9/include/asm-ppc/
Duaccess.h175 long __gu_err, __gu_val; \
176 __get_user_size(__gu_val,(ptr),(size),__gu_err); \
178 __gu_err; \
183 long __gu_err; \
185 __get_user_size64(__gu_val,(ptr),(size),__gu_err); \
187 __gu_err; \
192 long __gu_err = -EFAULT, __gu_val = 0; \
195 __get_user_size(__gu_val,__gu_addr,(size),__gu_err); \
197 __gu_err; \
202 long __gu_err = -EFAULT; \
[all …]
/linux-2.4.37.9/include/asm-s390/
Duaccess.h337 int __gu_err; \
340 __get_user_asm_1(__x, __gu_addr, __gu_err); \
343 __get_user_asm_2(__x, __gu_addr, __gu_err); \
346 __get_user_asm_4(__x, __gu_addr, __gu_err); \
349 __get_user_asm_8(__x, __gu_addr, __gu_err); \
353 __gu_err = __get_user_bad(); \
357 __gu_err; \
/linux-2.4.37.9/include/asm-s390x/
Duaccess.h293 int __gu_err; \
296 __get_user_asm_1(__x,__gu_addr,__gu_err); \
299 __get_user_asm_2(__x,__gu_addr,__gu_err); \
302 __get_user_asm_4(__x,__gu_addr,__gu_err); \
305 __get_user_asm_8(__x,__gu_addr,__gu_err); \
309 __gu_err = __get_user_bad(); \
313 __gu_err; \
/linux-2.4.37.9/include/asm-arm/
Duaccess.h218 long __gu_err = -EFAULT, __gu_val = 0; \
221 __gu_err = 0; \
222 __get_user_size(__gu_val,__gu_addr,(size),__gu_err); \
225 __gu_err; \
231 long __gu_err = 0, __gu_val; \
232 __get_user_size(__gu_val,(ptr),(size),__gu_err); \
234 __gu_err; \
/linux-2.4.37.9/include/asm-m68k/
Duaccess.h99 int __gu_err; \
103 __get_user_asm(__gu_err, __gu_val, ptr, b, "=d"); \
106 __get_user_asm(__gu_err, __gu_val, ptr, w, "=r"); \
109 __get_user_asm(__gu_err, __gu_val, ptr, l, "=r"); \
112 __gu_err = __constant_copy_from_user(&__gu_val, ptr, 8); \
116 __gu_err = __get_user_bad(); \
120 __gu_err; \
/linux-2.4.37.9/include/asm-ppc64/
Duaccess.h151 long __gu_err, __gu_val; \
152 __get_user_size(__gu_val,(ptr),(size),__gu_err); \
154 __gu_err; \
159 long __gu_err = -EFAULT, __gu_val = 0; \
162 __get_user_size(__gu_val,__gu_addr,(size),__gu_err); \
164 __gu_err; \
/linux-2.4.37.9/include/asm-sh/
Duaccess.h91 long __gu_err; \
96 __asm__("":"=r" (__gu_err)); \
102 } x = (__typeof__(*(ptr))) __gu_val; __gu_err; })
105 long __gu_err = -EFAULT; \
116 } } x = (__typeof__(*(ptr))) __gu_val; __gu_err; })
136 :"=&r" (__gu_err), "=&r" (__gu_val) \
/linux-2.4.37.9/Documentation/
Dexception.txt67 long __gu_err = - 14 , __gu_val = 0;
73 __gu_err = 0;
86 ".text" : "=r"(__gu_err), "=q" (__gu_val): "m"((*(struct __large_struct *)
87 ( __gu_addr )) ), "i"(- 14 ), "0"( __gu_err )) ;
100 ".text" : "=r"(__gu_err), "=r" (__gu_val) : "m"((*(struct __large_struct *)
101 ( __gu_addr )) ), "i"(- 14 ), "0"( __gu_err ));
113 ".text" : "=r"(__gu_err), "=r" (__gu_val) : "m"((*(struct __large_struct *)
114 ( __gu_addr )) ), "i"(- 14 ), "0"(__gu_err));
121 __gu_err;
/linux-2.4.37.9/include/asm-x86_64/
Duaccess.h193 int __gu_err; \
195 __get_user_size(__gu_val,(ptr),(size),__gu_err); \
197 __gu_err; \
/linux-2.4.37.9/include/asm-i386/
Duaccess.h333 long __gu_err, __gu_val; \
334 __get_user_size(__gu_val,(ptr),(size),__gu_err); \
336 __gu_err; \
/linux-2.4.37.9/include/asm-cris/
Duaccess.h236 long __gu_err, __gu_val; \
237 __get_user_size(__gu_val,(ptr),(size),__gu_err); \
239 __gu_err; \
244 long __gu_err = -EFAULT, __gu_val = 0; \
247 __get_user_size(__gu_val,__gu_addr,(size),__gu_err); \
249 __gu_err; \