Home
last modified time | relevance | path

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

/linux/arch/arm/include/asm/
A Duaccess.h390 unsigned long __pu_addr = (unsigned long)__pu_ptr; \
401 #define __put_user_asm(x, __pu_addr, err, instr) \ argument
415 : "r" (x), "r" (__pu_addr), "i" (-EFAULT) \
418 #define __put_user_asm_byte(x, __pu_addr, err, __t) \ argument
419 __put_user_asm(x, __pu_addr, err, "strb" __t)
423 #define __put_user_asm_half(x, __pu_addr, err, __t) \ argument
424 __put_user_asm(x, __pu_addr, err, "strh" __t)
429 #define __put_user_asm_half(x, __pu_addr, err, __t) \ argument
432 __put_user_asm_byte(__temp, __pu_addr, err, __t); \
447 __put_user_asm(x, __pu_addr, err, "str" __t)
[all …]
/linux/arch/microblaze/include/asm/
A Duaccess.h230 typeof(*(ptr)) __user *__pu_addr = (ptr); \
233 if (access_ok(__pu_addr, size)) { \
236 __put_user_asm("sb", __pu_addr, __pu_val, \
240 __put_user_asm("sh", __pu_addr, __pu_val, \
244 __put_user_asm("sw", __pu_addr, __pu_val, \
248 __put_user_asm_8(__pu_addr, __pu_val, __pu_err);\
/linux/arch/sh/include/asm/
A Duaccess.h81 __typeof__(*(ptr)) __user *__pu_addr = (ptr); \
84 __put_user_size(__pu_val, __pu_addr, (size), __pu_err); \
91 __typeof__(*(ptr)) __user *__pu_addr = (ptr); \
93 if (likely(access_ok(__pu_addr, size))) \
94 __put_user_size(__pu_val, __pu_addr, (size), \
/linux/arch/alpha/include/asm/
A Duaccess.h202 __typeof__(*(ptr)) __user *__pu_addr = (ptr); \
203 if (__access_ok((unsigned long)__pu_addr, size)) { \
206 case 1: __put_user_8(x, __pu_addr); break; \
207 case 2: __put_user_16(x, __pu_addr); break; \
208 case 4: __put_user_32(x, __pu_addr); break; \
209 case 8: __put_user_64(x, __pu_addr); break; \
/linux/arch/mips/include/asm/
A Dpaccess.h78 long __pu_addr; \
80 __pu_addr = (long) (ptr); \
107 : "r" (__pu_val), "o" (__mp(__pu_addr)), "i" (-EFAULT)); \
/linux/arch/openrisc/include/asm/
A Duaccess.h104 __typeof__(*(ptr)) __user *__pu_addr = (ptr); \
105 if (access_ok(__pu_addr, size)) \
106 __put_user_size((x), __pu_addr, (size), __pu_err); \
/linux/arch/xtensa/include/asm/
A Duaccess.h87 __typeof__(*(ptr)) __user *__pu_addr = (ptr); \
88 if (access_ok(__pu_addr, size)) \
89 __put_user_size((x), __pu_addr, (size), __pu_err); \
/linux/arch/powerpc/include/asm/
A Duaccess.h49 __typeof__(*(ptr)) __user *__pu_addr = (ptr); \
57 allow_write_to_user(__pu_addr, __pu_size); \
58 __put_user_size_goto(__pu_val, __pu_addr, __pu_size, __pu_failed); \
59 prevent_write_to_user(__pu_addr, __pu_size); \
64 prevent_write_to_user(__pu_addr, __pu_size); \
/linux/arch/sparc/include/asm/
A Duaccess_64.h86 unsigned long __pu_addr = (unsigned long)(ptr); \
88 __put_user_nocheck((__typeof__(*(ptr)))(x), __pu_addr, sizeof(*(ptr)));\
A Duaccess_32.h50 unsigned long __pu_addr = (unsigned long)(ptr); \
52 __put_user_check((__typeof__(*(ptr)))(x), __pu_addr, sizeof(*(ptr))); \

Completed in 12 milliseconds