Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/arm/include/asm/
A Duaccess.h373 unsigned long __pu_addr = (unsigned long)__pu_ptr; \
384 #define __put_user_asm(x, __pu_addr, err, instr) \ argument
398 : "r" (x), "r" (__pu_addr), "i" (-EFAULT) \
401 #define __put_user_asm_byte(x, __pu_addr, err, __t) \ argument
402 __put_user_asm(x, __pu_addr, err, "strb" __t)
406 #define __put_user_asm_half(x, __pu_addr, err, __t) \ argument
407 __put_user_asm(x, __pu_addr, err, "strh" __t)
412 #define __put_user_asm_half(x, __pu_addr, err, __t) \ argument
415 __put_user_asm_byte(__temp, __pu_addr, err, __t); \
430 __put_user_asm(x, __pu_addr, err, "str" __t)
[all …]
/linux-6.3-rc2/arch/microblaze/include/asm/
A Duaccess.h189 typeof(*(ptr)) __user *__pu_addr = (ptr); \
192 if (access_ok(__pu_addr, size)) { \
195 __put_user_asm("sb", __pu_addr, __pu_val, \
199 __put_user_asm("sh", __pu_addr, __pu_val, \
203 __put_user_asm("sw", __pu_addr, __pu_val, \
207 __put_user_asm_8(__pu_addr, __pu_val, __pu_err);\
/linux-6.3-rc2/arch/sh/include/asm/
A Duaccess.h59 __typeof__(*(ptr)) __user *__pu_addr = (ptr); \
62 __put_user_size(__pu_val, __pu_addr, (size), __pu_err); \
69 __typeof__(*(ptr)) __user *__pu_addr = (ptr); \
71 if (likely(access_ok(__pu_addr, size))) \
72 __put_user_size(__pu_val, __pu_addr, (size), \
/linux-6.3-rc2/arch/alpha/include/asm/
A Duaccess.h162 __typeof__(*(ptr)) __user *__pu_addr = (ptr); \
163 if (__access_ok(__pu_addr, size)) { \
166 case 1: __put_user_8(x, __pu_addr); break; \
167 case 2: __put_user_16(x, __pu_addr); break; \
168 case 4: __put_user_32(x, __pu_addr); break; \
169 case 8: __put_user_64(x, __pu_addr); break; \
/linux-6.3-rc2/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-6.3-rc2/arch/openrisc/include/asm/
A Duaccess.h67 __typeof__(*(ptr)) __user *__pu_addr = (ptr); \
68 if (access_ok(__pu_addr, size)) \
69 __put_user_size((x), __pu_addr, (size), __pu_err); \
/linux-6.3-rc2/arch/xtensa/include/asm/
A Duaccess.h63 __typeof__(*(ptr)) __user *__pu_addr = (ptr); \
64 if (access_ok(__pu_addr, size)) \
65 __put_user_size((x), __pu_addr, (size), __pu_err); \
/linux-6.3-rc2/arch/powerpc/include/asm/
A Duaccess.h39 __typeof__(*(ptr)) __user *__pu_addr = (ptr); \
47 allow_write_to_user(__pu_addr, __pu_size); \
48 __put_user_size_goto(__pu_val, __pu_addr, __pu_size, __pu_failed); \
49 prevent_write_to_user(__pu_addr, __pu_size); \
54 prevent_write_to_user(__pu_addr, __pu_size); \
/linux-6.3-rc2/arch/sparc/include/asm/
A Duaccess_32.h27 void __user *__pu_addr = (ptr); \
29 __put_user_check((__typeof__(*(ptr)))(x), __pu_addr, sizeof(*(ptr))); \
A Duaccess_64.h58 unsigned long __pu_addr = (unsigned long)(ptr); \
60 __put_user_nocheck((__typeof__(*(ptr)))(x), __pu_addr, sizeof(*(ptr)));\

Completed in 16 milliseconds