Searched refs:__gu_addr (Results 1 – 9 of 9) sorted by relevance
/arch/sh/include/asm/ |
D | uaccess.h | 60 const __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ 62 __get_user_size(__gu_val, __gu_addr, (size), __gu_err); \ 71 const __typeof__(*(ptr)) *__gu_addr = (ptr); \ 72 if (likely(access_ok(__gu_addr, (size)))) \ 73 __get_user_size(__gu_val, __gu_addr, (size), __gu_err); \
|
/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)); \
|
/arch/arm/include/asm/ |
D | uaccess.h | 319 unsigned long __gu_addr = (unsigned long)(ptr); \ 326 case 1: __get_user_asm_byte(__gu_val, __gu_addr, err); break; \ 327 case 2: __get_user_asm_half(__gu_val, __gu_addr, err); break; \ 328 case 4: __get_user_asm_word(__gu_val, __gu_addr, err); break; \ 364 #define __get_user_asm_half(x, __gu_addr, err) \ argument 367 __get_user_asm_byte(__b1, __gu_addr, err); \ 368 __get_user_asm_byte(__b2, __gu_addr + 1, err); \ 372 #define __get_user_asm_half(x, __gu_addr, err) \ argument 375 __get_user_asm_byte(__b1, __gu_addr, err); \ 376 __get_user_asm_byte(__b2, __gu_addr + 1, err); \
|
/arch/alpha/include/asm/ |
D | uaccess.h | 107 const __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ 108 if (__access_ok((unsigned long)__gu_addr, size)) { \ 111 case 1: __get_user_8(__gu_addr); break; \ 112 case 2: __get_user_16(__gu_addr); break; \ 113 case 4: __get_user_32(__gu_addr); break; \ 114 case 8: __get_user_64(__gu_addr); break; \
|
/arch/powerpc/include/asm/ |
D | uaccess.h | 313 __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ 316 __chk_user_ptr(__gu_addr); \ 317 if (do_allow && !is_kernel_addr((unsigned long)__gu_addr)) \ 321 __get_user_size(__gu_val, __gu_addr, __gu_size, __gu_err); \ 323 __get_user_size_allowed(__gu_val, __gu_addr, __gu_size, __gu_err); \ 333 __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ 337 if (access_ok(__gu_addr, __gu_size)) { \ 339 __get_user_size(__gu_val, __gu_addr, __gu_size, __gu_err); \ 350 __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ 353 __chk_user_ptr(__gu_addr); \ [all …]
|
/arch/openrisc/include/asm/ |
D | uaccess.h | 176 const __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ 177 if (access_ok(__gu_addr, size)) \ 178 __get_user_size((x), __gu_addr, (size), __gu_err); \
|
/arch/xtensa/include/asm/ |
D | uaccess.h | 183 const __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ 184 if (access_ok(__gu_addr, size)) \ 185 __get_user_size((x), __gu_addr, (size), __gu_err); \
|
/arch/sparc/include/asm/ |
D | uaccess_64.h | 93 unsigned long __gu_addr = (unsigned long)(ptr); \ 95 __get_user_nocheck((x), __gu_addr, sizeof(*(ptr)), __typeof__(*(ptr)));\
|
D | uaccess_32.h | 89 unsigned long __gu_addr = (unsigned long)(ptr); \ 91 __get_user_check((x), __gu_addr, sizeof(*(ptr)), __typeof__(*(ptr))); \
|