Home
last modified time | relevance | path

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

/linux-6.12.1/arch/alpha/include/asm/
Duaccess.h67 const __typeof__(*(ptr)) __user *__gu_addr = (ptr); \
68 if (__access_ok(__gu_addr, size)) { \
71 case 1: __get_user_8(__gu_addr); break; \
72 case 2: __get_user_16(__gu_addr); break; \
73 case 4: __get_user_32(__gu_addr); break; \
74 case 8: __get_user_64(__gu_addr); break; \
/linux-6.12.1/arch/sh/include/asm/
Duaccess.h38 const __typeof__(*(ptr)) __user *__gu_addr = (ptr); \
40 __get_user_size(__gu_val, __gu_addr, (size), __gu_err); \
49 const __typeof__(*(ptr)) __user *__gu_addr = (ptr); \
50 if (likely(access_ok(__gu_addr, (size)))) \
51 __get_user_size(__gu_val, __gu_addr, (size), __gu_err); \
/linux-6.12.1/arch/arm/include/asm/
Duaccess.h288 unsigned long __gu_addr = (unsigned long)(ptr); \
295 case 1: __get_user_asm_byte(__gu_val, __gu_addr, err, __t); break; \
296 case 2: __get_user_asm_half(__gu_val, __gu_addr, err, __t); break; \
297 case 4: __get_user_asm_word(__gu_val, __gu_addr, err, __t); break; \
334 #define __get_user_asm_half(x, __gu_addr, err, __t) \ argument
337 __get_user_asm_byte(__b1, __gu_addr, err, __t); \
338 __get_user_asm_byte(__b2, __gu_addr + 1, err, __t); \
342 #define __get_user_asm_half(x, __gu_addr, err, __t) \ argument
345 __get_user_asm_byte(__b1, __gu_addr, err, __t); \
346 __get_user_asm_byte(__b2, __gu_addr + 1, err, __t); \
/linux-6.12.1/arch/mips/include/asm/
Dpaccess.h38 unsigned long __gu_addr; \
40 __gu_addr = (unsigned long) (ptr); \
69 :"o" (__mp(__gu_addr)), "i" (-EFAULT)); \
/linux-6.12.1/arch/openrisc/include/asm/
Duaccess.h139 const __typeof__(*(ptr)) __user *__gu_addr = (ptr); \
140 if (access_ok(__gu_addr, size)) \
141 __get_user_size((x), __gu_addr, (size), __gu_err); \
/linux-6.12.1/arch/powerpc/include/asm/
Duaccess.h300 __typeof__(*(ptr)) __user *__gu_addr = (ptr); \
304 allow_read_from_user(__gu_addr, __gu_size); \
305 __get_user_size_allowed(__gu_val, __gu_addr, __gu_size, __gu_err); \
306 prevent_read_from_user(__gu_addr, __gu_size); \
456 __typeof__(*(p)) __user *__gu_addr = (p); \
458 __get_user_size_goto(__gu_val, __gu_addr, sizeof(*(p)), e); \
/linux-6.12.1/arch/xtensa/include/asm/
Duaccess.h159 const __typeof__(*(ptr)) __user *__gu_addr = (ptr); \
160 if (access_ok(__gu_addr, size)) \
161 __get_user_size((x), __gu_addr, (size), __gu_err); \
/linux-6.12.1/arch/sparc/include/asm/
Duaccess_32.h33 const void __user *__gu_addr = (ptr); \
35 __get_user_check((x), __gu_addr, sizeof(*(ptr)), __typeof__(*(ptr))); \
Duaccess_64.h66 unsigned long __gu_addr = (unsigned long)(ptr); \
68 __get_user_nocheck((x), __gu_addr, sizeof(*(ptr)), __typeof__(*(ptr)));\
/linux-6.12.1/Documentation/arch/x86/
Dexception-tables.rst74 const __typeof__(*( ( buf ) )) *__gu_addr = ((buf));
77 ((unsigned long)(__gu_addr ) <= 0xC0000000UL - (sizeof(*(buf)))))))
93 ( __gu_addr )) ), "i"(- 14 ), "0"( __gu_err )) ;
107 ( __gu_addr )) ), "i"(- 14 ), "0"( __gu_err ));
120 ( __gu_addr )) ), "i"(- 14 ), "0"(__gu_err));