Home
last modified time | relevance | path

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

/linux-6.12.1/arch/arm/include/asm/
Duaccess.h397 unsigned long __pu_addr = (unsigned long)__pu_ptr; \
398 __put_user_nocheck_##__size(x, __pu_addr, __err, TUSER());\
408 #define __put_user_asm(x, __pu_addr, err, instr) \ argument
422 : "r" (x), "r" (__pu_addr), "i" (-EFAULT) \
425 #define __put_user_asm_byte(x, __pu_addr, err, __t) \ argument
426 __put_user_asm(x, __pu_addr, err, "strb" __t)
430 #define __put_user_asm_half(x, __pu_addr, err, __t) \ argument
431 __put_user_asm(x, __pu_addr, err, "strh" __t)
436 #define __put_user_asm_half(x, __pu_addr, err, __t) \ argument
439 __put_user_asm_byte(__temp, __pu_addr, err, __t); \
[all …]
/linux-6.12.1/arch/microblaze/include/asm/
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.12.1/arch/alpha/include/asm/
Duaccess.h132 __typeof__(*(ptr)) __user *__pu_addr = (ptr); \
133 if (__access_ok(__pu_addr, size)) { \
136 case 1: __put_user_8(x, __pu_addr); break; \
137 case 2: __put_user_16(x, __pu_addr); break; \
138 case 4: __put_user_32(x, __pu_addr); break; \
139 case 8: __put_user_64(x, __pu_addr); break; \
/linux-6.12.1/arch/sh/include/asm/
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.12.1/arch/mips/include/asm/
Dpaccess.h78 long __pu_addr; \
80 __pu_addr = (long) (ptr); \
107 : "r" (__pu_val), "o" (__mp(__pu_addr)), "i" (-EFAULT)); \
/linux-6.12.1/arch/openrisc/include/asm/
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.12.1/arch/xtensa/include/asm/
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.12.1/arch/powerpc/include/asm/
Duaccess.h40 __typeof__(*(ptr)) __user *__pu_addr = (ptr); \
48 allow_write_to_user(__pu_addr, __pu_size); \
49 __put_user_size_goto(__pu_val, __pu_addr, __pu_size, __pu_failed); \
50 prevent_write_to_user(__pu_addr, __pu_size); \
55 prevent_write_to_user(__pu_addr, __pu_size); \
/linux-6.12.1/arch/sparc/include/asm/
Duaccess_32.h27 void __user *__pu_addr = (ptr); \
29 __put_user_check((__typeof__(*(ptr)))(x), __pu_addr, sizeof(*(ptr))); \
Duaccess_64.h60 unsigned long __pu_addr = (unsigned long)(ptr); \
62 __put_user_nocheck((__typeof__(*(ptr)))(x), __pu_addr, sizeof(*(ptr)));\