Searched refs:__gu_ptr (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/arch/riscv/include/asm/ |
D | uaccess.h | 91 #define __get_user_nocheck(x, __gu_ptr, __gu_err) \ argument 93 switch (sizeof(*__gu_ptr)) { \ 95 __get_user_asm("lb", (x), __gu_ptr, __gu_err); \ 98 __get_user_asm("lh", (x), __gu_ptr, __gu_err); \ 101 __get_user_asm("lw", (x), __gu_ptr, __gu_err); \ 104 __get_user_8((x), __gu_ptr, __gu_err); \ 133 const __typeof__(*(ptr)) __user *__gu_ptr = (ptr); \ 136 __chk_user_ptr(__gu_ptr); \ 139 __get_user_nocheck(x, __gu_ptr, __gu_err); \ 206 #define __put_user_nocheck(x, __gu_ptr, __pu_err) \ argument [all …]
|
/linux-6.6.21/arch/microblaze/include/asm/ |
D | uaccess.h | 59 #define __get_user_asm(insn, __gu_ptr, __gu_val, __gu_err) \ argument 73 : "r"(__gu_ptr), "i"(-EFAULT) \ 96 const typeof(*(ptr)) __user *__gu_ptr = (ptr); \ 97 access_ok(__gu_ptr, sizeof(*__gu_ptr)) ? \ 98 __get_user(x, __gu_ptr) : -EFAULT; \ 128 #define __put_user_asm(insn, __gu_ptr, __gu_val, __gu_err) \ argument 142 : "r"(__gu_val), "r"(__gu_ptr), "i"(-EFAULT) \ 146 #define __put_user_asm_8(__gu_ptr, __gu_val, __gu_err) \ argument 162 : "r"(&__gu_val), "r"(__gu_ptr), "i"(-EFAULT) \
|
/linux-6.6.21/arch/nios2/include/asm/ |
D | uaccess.h | 120 const __typeof__(*(ptr)) __user *__gu_ptr = (ptr); \ 121 __get_user_common(x, sizeof(*(ptr)), __gu_ptr, __gu_err); \ 128 const __typeof__(*(ptr)) __user *__gu_ptr = (ptr); \ 129 if (access_ok( __gu_ptr, sizeof(*__gu_ptr))) \ 130 __get_user_common(x, sizeof(*__gu_ptr), \ 131 __gu_ptr, __gu_err); \
|
/linux-6.6.21/arch/ia64/include/asm/ |
D | uaccess.h | 138 const __typeof__(*(ptr)) __user *__gu_ptr = (ptr); \ 142 if (!check || __access_ok(__gu_ptr, size)) \ 144 case 1: __get_user_size(__gu_val, __gu_ptr, 1, __gu_err); break; \ 145 case 2: __get_user_size(__gu_val, __gu_ptr, 2, __gu_err); break; \ 146 case 4: __get_user_size(__gu_val, __gu_ptr, 4, __gu_err); break; \ 147 case 8: __get_user_size(__gu_val, __gu_ptr, 8, __gu_err); break; \ 150 (x) = (__force __typeof__(*(__gu_ptr))) __gu_val; \
|
/linux-6.6.21/arch/mips/include/asm/ |
D | uaccess.h | 171 const __typeof__(*(ptr)) __user *__gu_ptr = (ptr); \ 174 __chk_user_ptr(__gu_ptr); \ 175 switch (sizeof(*__gu_ptr)) { \ 177 __get_data_asm((x), user_lb, __gu_ptr); \ 180 __get_data_asm((x), user_lh, __gu_ptr); \ 183 __get_data_asm((x), user_lw, __gu_ptr); \ 186 __GET_DW((x), user_ld, __gu_ptr); \
|
/linux-6.6.21/arch/x86/include/asm/ |
D | uaccess.h | 261 const unsigned int __user *__gu_ptr; \ 262 __gu_ptr = (const void __user *)(ptr); \ 263 __get_user_asm(__gu_low, __gu_ptr, "l", "=r", label); \ 264 __get_user_asm(__gu_high, __gu_ptr+1, "l", "=r", label); \
|
/linux-6.6.21/arch/m68k/include/asm/ |
D | uaccess.h | 128 const void *__gu_ptr = (const void __force *)(ptr); \ 152 "+a" (__gu_ptr) \
|