Home
last modified time | relevance | path

Searched refs:__pu_addr (Results 1 – 11 of 11) sorted by relevance

/Linux-v4.19/arch/arm/include/asm/
Duaccess.h380 unsigned long __pu_addr = (unsigned long)__pu_ptr; \
381 __put_user_nocheck_##__size(x, __pu_addr, __err); \
389 #define __put_user_asm(x, __pu_addr, err, instr) \ argument
403 : "r" (x), "r" (__pu_addr), "i" (-EFAULT) \
406 #define __put_user_asm_byte(x, __pu_addr, err) \ argument
407 __put_user_asm(x, __pu_addr, err, strb)
410 #define __put_user_asm_half(x, __pu_addr, err) \ argument
413 __put_user_asm_byte(__temp, __pu_addr, err); \
414 __put_user_asm_byte(__temp >> 8, __pu_addr + 1, err); \
417 #define __put_user_asm_half(x, __pu_addr, err) \ argument
[all …]
/Linux-v4.19/arch/sh/include/asm/
Duaccess.h78 __typeof__(*(ptr)) __user *__pu_addr = (ptr); \
81 __put_user_size(__pu_val, __pu_addr, (size), __pu_err); \
88 __typeof__(*(ptr)) __user *__pu_addr = (ptr); \
90 if (likely(access_ok(VERIFY_WRITE, __pu_addr, size))) \
91 __put_user_size(__pu_val, __pu_addr, (size), \
/Linux-v4.19/arch/microblaze/include/asm/
Duaccess.h286 typeof(*(ptr)) __user *__pu_addr = (ptr); \
289 if (access_ok(VERIFY_WRITE, __pu_addr, size)) { \
292 __put_user_asm("sb", __pu_addr, __pu_val, \
296 __put_user_asm("sh", __pu_addr, __pu_val, \
300 __put_user_asm("sw", __pu_addr, __pu_val, \
304 __put_user_asm_8(__pu_addr, __pu_val, __pu_err);\
/Linux-v4.19/arch/powerpc/include/asm/
Duaccess.h156 __typeof__(*(ptr)) __user *__pu_addr = (ptr); \
157 if (!is_kernel_addr((unsigned long)__pu_addr)) \
160 __put_user_size((x), __pu_addr, (size), __pu_err); \
167 __typeof__(*(ptr)) __user *__pu_addr = (ptr); \
169 if (access_ok(VERIFY_WRITE, __pu_addr, size)) \
170 __put_user_size((x), __pu_addr, (size), __pu_err); \
177 __typeof__(*(ptr)) __user *__pu_addr = (ptr); \
179 __put_user_size((x), __pu_addr, (size), __pu_err); \
/Linux-v4.19/arch/alpha/include/asm/
Duaccess.h201 __typeof__(*(ptr)) __user *__pu_addr = (ptr); \
202 if (__access_ok((unsigned long)__pu_addr, size)) { \
205 case 1: __put_user_8(x, __pu_addr); break; \
206 case 2: __put_user_16(x, __pu_addr); break; \
207 case 4: __put_user_32(x, __pu_addr); break; \
208 case 8: __put_user_64(x, __pu_addr); break; \
/Linux-v4.19/arch/mips/include/asm/
Dpaccess.h78 long __pu_addr; \
80 __pu_addr = (long) (ptr); \
107 : "r" (__pu_val), "o" (__mp(__pu_addr)), "i" (-EFAULT)); \
Duaccess.h444 __typeof__(*(ptr)) __user *__pu_addr = (ptr); \
449 if (likely(access_ok(VERIFY_WRITE, __pu_addr, size))) { \
451 __put_kernel_common(__pu_addr, size); \
453 __put_user_common(__pu_addr, size); \
/Linux-v4.19/arch/openrisc/include/asm/
Duaccess.h104 __typeof__(*(ptr)) *__pu_addr = (ptr); \
105 if (access_ok(VERIFY_WRITE, __pu_addr, size)) \
106 __put_user_size((x), __pu_addr, (size), __pu_err); \
/Linux-v4.19/arch/xtensa/include/asm/
Duaccess.h88 __typeof__(*(ptr)) *__pu_addr = (ptr); \
89 if (access_ok(VERIFY_WRITE, __pu_addr, size)) \
90 __put_user_size((x), __pu_addr, (size), __pu_err); \
/Linux-v4.19/arch/sparc/include/asm/
Duaccess_64.h88 unsigned long __pu_addr = (unsigned long)(ptr); \
90 __put_user_nocheck((__typeof__(*(ptr)))(x), __pu_addr, sizeof(*(ptr)));\
Duaccess_32.h85 unsigned long __pu_addr = (unsigned long)(ptr); \
87 __put_user_check((__typeof__(*(ptr)))(x), __pu_addr, sizeof(*(ptr))); \