Home
last modified time | relevance | path

Searched refs:__gu_addr (Results 1 – 11 of 11) sorted by relevance

/Linux-v4.19/arch/arm/include/asm/
Duaccess.h281 unsigned long __gu_addr = (unsigned long)(ptr); \
288 case 1: __get_user_asm_byte(__gu_val, __gu_addr, err); break; \
289 case 2: __get_user_asm_half(__gu_val, __gu_addr, err); break; \
290 case 4: __get_user_asm_word(__gu_val, __gu_addr, err); break; \
319 #define __get_user_asm_half(x, __gu_addr, err) \ argument
322 __get_user_asm_byte(__b1, __gu_addr, err); \
323 __get_user_asm_byte(__b2, __gu_addr + 1, err); \
327 #define __get_user_asm_half(x, __gu_addr, err) \ argument
330 __get_user_asm_byte(__b1, __gu_addr, err); \
331 __get_user_asm_byte(__b2, __gu_addr + 1, err); \
/Linux-v4.19/arch/sh/include/asm/
Duaccess.h57 const __typeof__(*(ptr)) __user *__gu_addr = (ptr); \
59 __get_user_size(__gu_val, __gu_addr, (size), __gu_err); \
68 const __typeof__(*(ptr)) *__gu_addr = (ptr); \
69 if (likely(access_ok(VERIFY_READ, __gu_addr, (size)))) \
70 __get_user_size(__gu_val, __gu_addr, (size), __gu_err); \
/Linux-v4.19/arch/powerpc/include/asm/
Duaccess.h263 const __typeof__(*(ptr)) __user *__gu_addr = (ptr); \
265 if (!is_kernel_addr((unsigned long)__gu_addr)) \
268 __get_user_size(__gu_val, __gu_addr, (size), __gu_err); \
277 const __typeof__(*(ptr)) __user *__gu_addr = (ptr); \
279 if (access_ok(VERIFY_READ, __gu_addr, (size))) { \
281 __get_user_size(__gu_val, __gu_addr, (size), __gu_err); \
291 const __typeof__(*(ptr)) __user *__gu_addr = (ptr); \
294 __get_user_size(__gu_val, __gu_addr, (size), __gu_err); \
/Linux-v4.19/arch/alpha/include/asm/
Duaccess.h106 const __typeof__(*(ptr)) __user *__gu_addr = (ptr); \
107 if (__access_ok((unsigned long)__gu_addr, size)) { \
110 case 1: __get_user_8(__gu_addr); break; \
111 case 2: __get_user_16(__gu_addr); break; \
112 case 4: __get_user_32(__gu_addr); break; \
113 case 8: __get_user_64(__gu_addr); break; \
/Linux-v4.19/arch/mips/include/asm/
Dpaccess.h38 unsigned long __gu_addr; \
40 __gu_addr = (unsigned long) (ptr); \
69 :"o" (__mp(__gu_addr)), "i" (-EFAULT)); \
/Linux-v4.19/arch/microblaze/include/asm/
Duaccess.h174 const typeof(*(ptr)) __user *__gu_addr = (ptr); \
177 if (access_ok(VERIFY_READ, __gu_addr, size)) { \
180 __get_user_asm("lbu", __gu_addr, __gu_val, \
184 __get_user_asm("lhu", __gu_addr, __gu_val, \
188 __get_user_asm("lw", __gu_addr, __gu_val, \
/Linux-v4.19/arch/openrisc/include/asm/
Duaccess.h177 const __typeof__(*(ptr)) * __gu_addr = (ptr); \
178 if (access_ok(VERIFY_READ, __gu_addr, size)) \
179 __get_user_size(__gu_val, __gu_addr, (size), __gu_err); \
/Linux-v4.19/arch/xtensa/include/asm/
Duaccess.h186 const __typeof__(*(ptr)) *__gu_addr = (ptr); \
187 if (access_ok(VERIFY_READ, __gu_addr, size)) \
188 __get_user_size(__gu_val, __gu_addr, (size), __gu_err); \
/Linux-v4.19/arch/sparc/include/asm/
Duaccess_64.h94 unsigned long __gu_addr = (unsigned long)(ptr); \
96 __get_user_nocheck((x), __gu_addr, sizeof(*(ptr)), __typeof__(*(ptr)));\
Duaccess_32.h91 unsigned long __gu_addr = (unsigned long)(ptr); \
93 __get_user_check((x), __gu_addr, sizeof(*(ptr)), __typeof__(*(ptr))); \
/Linux-v4.19/Documentation/x86/
Dexception-tables.txt68 const __typeof__(*( ( buf ) )) *__gu_addr = ((buf));
71 ((unsigned long)(__gu_addr ) <= 0xC0000000UL - (sizeof(*(buf)))))))
87 ( __gu_addr )) ), "i"(- 14 ), "0"( __gu_err )) ;
101 ( __gu_addr )) ), "i"(- 14 ), "0"( __gu_err ));
114 ( __gu_addr )) ), "i"(- 14 ), "0"(__gu_err));