Searched refs:__gu_ptr (Results 1 – 7 of 7) sorted by relevance
/linux/arch/riscv/include/asm/ |
A D | uaccess.h | 144 switch (sizeof(*__gu_ptr)) { \ 146 __get_user_asm("lb", (x), __gu_ptr, __gu_err); \ 149 __get_user_asm("lh", (x), __gu_ptr, __gu_err); \ 155 __get_user_8((x), __gu_ptr, __gu_err); \ 187 __chk_user_ptr(__gu_ptr); \ 190 __get_user_nocheck(x, __gu_ptr, __gu_err); \ 279 switch (sizeof(*__gu_ptr)) { \ 290 __put_user_8((x), __gu_ptr, __pu_err); \ 320 __typeof__(*(ptr)) __user *__gu_ptr = (ptr); \ 321 __typeof__(*__gu_ptr) __val = (x); \ [all …]
|
/linux/arch/microblaze/include/asm/ |
A D | uaccess.h | 100 #define __get_user_asm(insn, __gu_ptr, __gu_val, __gu_err) \ argument 114 : "r"(__gu_ptr), "i"(-EFAULT) \ 137 const typeof(*(ptr)) __user *__gu_ptr = (ptr); \ 138 access_ok(__gu_ptr, sizeof(*__gu_ptr)) ? \ 139 __get_user(x, __gu_ptr) : -EFAULT; \ 169 #define __put_user_asm(insn, __gu_ptr, __gu_val, __gu_err) \ argument 183 : "r"(__gu_val), "r"(__gu_ptr), "i"(-EFAULT) \ 187 #define __put_user_asm_8(__gu_ptr, __gu_val, __gu_err) \ argument 203 : "r"(&__gu_val), "r"(__gu_ptr), "i"(-EFAULT) \
|
/linux/arch/nios2/include/asm/ |
A D | uaccess.h | 131 const __typeof__(*(ptr)) __user *__gu_ptr = (ptr); \ 133 __get_user_common(__gu_val, sizeof(*(ptr)), __gu_ptr, __gu_err);\ 141 const __typeof__(*(ptr)) __user *__gu_ptr = (ptr); \ 143 if (access_ok( __gu_ptr, sizeof(*__gu_ptr))) \ 144 __get_user_common(__gu_val, sizeof(*__gu_ptr), \ 145 __gu_ptr, __gu_err); \
|
/linux/arch/ia64/include/asm/ |
A D | uaccess.h | 148 const __typeof__(*(ptr)) __user *__gu_ptr = (ptr); \ 152 if (!check || __access_ok(__gu_ptr, size)) \ 154 case 1: __get_user_size(__gu_val, __gu_ptr, 1, __gu_err); break; \ 155 case 2: __get_user_size(__gu_val, __gu_ptr, 2, __gu_err); break; \ 156 case 4: __get_user_size(__gu_val, __gu_ptr, 4, __gu_err); break; \ 157 case 8: __get_user_size(__gu_val, __gu_ptr, 8, __gu_err); break; \ 160 (x) = (__force __typeof__(*(__gu_ptr))) __gu_val; \
|
/linux/arch/mips/include/asm/ |
A D | uaccess.h | 212 const __typeof__(*(ptr)) __user *__gu_ptr = (ptr); \ 215 __chk_user_ptr(__gu_ptr); \ 216 switch (sizeof(*__gu_ptr)) { \ 218 __get_data_asm((x), user_lb, __gu_ptr); \ 221 __get_data_asm((x), user_lh, __gu_ptr); \ 224 __get_data_asm((x), user_lw, __gu_ptr); \ 227 __GET_DW((x), user_ld, __gu_ptr); \
|
/linux/arch/x86/include/asm/ |
A D | uaccess.h | 302 const unsigned int __user *__gu_ptr; \ 303 __gu_ptr = (const void __user *)(ptr); \ 304 __get_user_asm(__gu_low, __gu_ptr, "l", "=r", label); \ 305 __get_user_asm(__gu_high, __gu_ptr+1, "l", "=r", label); \
|
/linux/arch/m68k/include/asm/ |
A D | uaccess.h | 138 const void *__gu_ptr = (const void __force *)(ptr); \ 162 "+a" (__gu_ptr) \
|
Completed in 30 milliseconds