Searched refs:__gu_ptr (Results 1 – 5 of 5) sorted by relevance
| /linux/arch/riscv/include/asm/ |
| H A D | uaccess.h | 188 #define __get_user_nocheck(x, __gu_ptr, label) \ argument 191 !IS_ALIGNED((uintptr_t)__gu_ptr, sizeof(*__gu_ptr))) { \ 192 if (__asm_copy_from_user_sum_enabled(&(x), __gu_ptr, sizeof(*__gu_ptr))) \ 196 switch (sizeof(*__gu_ptr)) { \ 198 __get_user_asm("lb", (x), __gu_ptr, label); \ 201 __get_user_asm("lh", (x), __gu_ptr, label); \ 204 __get_user_asm("lw", (x), __gu_ptr, label); \ 207 __get_user_8((x), __gu_ptr, label); \ 248 const __typeof__(*(ptr)) __user *__gu_ptr = untagged_addr(ptr); \ 252 __chk_user_ptr(__gu_ptr); \ [all …]
|
| /linux/arch/microblaze/include/asm/ |
| H A 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/arch/nios2/include/asm/ |
| H A 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/arch/mips/include/asm/ |
| H A 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/arch/m68k/include/asm/ |
| H A D | uaccess.h | 128 const void *__gu_ptr = (const void __force *)(ptr); \ 152 "+a" (__gu_ptr) \
|