Searched refs:__gu_addr (Results 1 – 10 of 10) sorted by relevance
/linux-6.12.1/arch/alpha/include/asm/ |
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; \
|
/linux-6.12.1/arch/sh/include/asm/ |
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); \
|
/linux-6.12.1/arch/arm/include/asm/ |
D | uaccess.h | 288 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/ |
D | paccess.h | 38 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/ |
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); \
|
/linux-6.12.1/arch/powerpc/include/asm/ |
D | uaccess.h | 300 __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/ |
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); \
|
/linux-6.12.1/arch/sparc/include/asm/ |
D | uaccess_32.h | 33 const void __user *__gu_addr = (ptr); \ 35 __get_user_check((x), __gu_addr, sizeof(*(ptr)), __typeof__(*(ptr))); \
|
D | uaccess_64.h | 66 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/ |
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));
|