Searched refs:__gu_addr (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/arch/sh/include/asm/ |
H A D | uaccess.h | 38 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); \
|
/openbmc/linux/arch/alpha/include/asm/ |
H A D | uaccess.h | 67 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; \
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | uaccess.h | 254 unsigned long __gu_addr = (unsigned long)(ptr); \ 261 case 1: __get_user_asm_byte(__gu_val, __gu_addr, err, __t); break; \ 262 case 2: __get_user_asm_half(__gu_val, __gu_addr, err, __t); break; \ 263 case 4: __get_user_asm_word(__gu_val, __gu_addr, err, __t); break; \ 300 #define __get_user_asm_half(x, __gu_addr, err, __t) \ argument 303 __get_user_asm_byte(__b1, __gu_addr, err, __t); \ 304 __get_user_asm_byte(__b2, __gu_addr + 1, err, __t); \ 308 #define __get_user_asm_half(x, __gu_addr, err, __t) \ argument 311 __get_user_asm_byte(__b1, __gu_addr, err, __t); \ 312 __get_user_asm_byte(__b2, __gu_addr + 1, err, __t); \
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | paccess.h | 38 unsigned long __gu_addr; \ 40 __gu_addr = (unsigned long) (ptr); \ 69 :"o" (__mp(__gu_addr)), "i" (-EFAULT)); \
|
/openbmc/linux/arch/openrisc/include/asm/ |
H A D | uaccess.h | 139 const __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ 140 if (access_ok(__gu_addr, size)) \ 141 __get_user_size((x), __gu_addr, (size), __gu_err); \
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | uaccess.h | 289 __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ 293 allow_read_from_user(__gu_addr, __gu_size); \ 294 __get_user_size_allowed(__gu_val, __gu_addr, __gu_size, __gu_err); \ 295 prevent_read_from_user(__gu_addr, __gu_size); \ 445 __typeof__(*(p)) __user *__gu_addr = (p); \ 447 __get_user_size_goto(__gu_val, __gu_addr, sizeof(*(p)), e); \
|
/openbmc/linux/arch/xtensa/include/asm/ |
H A D | uaccess.h | 159 const __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ 160 if (access_ok(__gu_addr, size)) \ 161 __get_user_size((x), __gu_addr, (size), __gu_err); \
|
/openbmc/linux/arch/sparc/include/asm/ |
H A D | uaccess_32.h | 33 const void __user *__gu_addr = (ptr); \ 35 __get_user_check((x), __gu_addr, sizeof(*(ptr)), __typeof__(*(ptr))); \
|
H A D | uaccess_64.h | 66 unsigned long __gu_addr = (unsigned long)(ptr); \ 68 __get_user_nocheck((x), __gu_addr, sizeof(*(ptr)), __typeof__(*(ptr)));\
|
/openbmc/linux/Documentation/arch/x86/ |
H A D | exception-tables.rst | 74 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));
|