Home
last modified time | relevance | path

Searched refs:__pu_ptr (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/arch/nios2/include/asm/
Duaccess.h149 #define __put_user_common(__pu_val, __pu_ptr) \ argument
152 switch (sizeof(*__pu_ptr)) { \
154 __put_user_asm(__pu_val, "stb", __pu_ptr, __pu_err); \
157 __put_user_asm(__pu_val, "sth", __pu_ptr, __pu_err); \
160 __put_user_asm(__pu_val, "stw", __pu_ptr, __pu_err); \
165 if (__copy_to_user(__pu_ptr, &(__pu_val), \
166 sizeof(*__pu_ptr))) \
175 __auto_type __pu_ptr = (ptr); \
176 typeof(*__pu_ptr) __pu_val = (typeof(*__pu_ptr))(x); \
177 __put_user_common(__pu_val, __pu_ptr); \
[all …]
/linux-6.12.1/tools/virtio/linux/
Duaccess.h11 typeof(ptr) __pu_ptr = (ptr); \
12 __chk_user_ptr(__pu_ptr); \
13 WRITE_ONCE(*(__pu_ptr), x); \
19 typeof(ptr) __pu_ptr = (ptr); \
20 __chk_user_ptr(__pu_ptr); \
21 x = READ_ONCE(*(__pu_ptr)); \
/linux-6.12.1/arch/mips/include/asm/
Duaccess.h123 __typeof__(*(ptr)) __user *__pu_ptr = (ptr); \
127 __chk_user_ptr(__pu_ptr); \
128 switch (sizeof(*__pu_ptr)) { \
130 __put_data_asm(user_sb, __pu_ptr); \
133 __put_data_asm(user_sh, __pu_ptr); \
136 __put_data_asm(user_sw, __pu_ptr); \
139 __PUT_DW(user_sd, __pu_ptr); \
/linux-6.12.1/arch/arm/include/asm/
Duaccess.h358 const __typeof__(*(ptr)) __user *__pu_ptr = (ptr); \
364 case 1: __fn(__pu_val, __pu_ptr, __err, 1); break; \
365 case 2: __fn(__pu_val, __pu_ptr, __err, 2); break; \
366 case 4: __fn(__pu_val, __pu_ptr, __err, 4); break; \
367 case 8: __fn(__pu_val, __pu_ptr, __err, 8); break; \
395 #define __put_user_nocheck(x, __pu_ptr, __err, __size) \ argument
397 unsigned long __pu_addr = (unsigned long)__pu_ptr; \
/linux-6.12.1/arch/m68k/include/asm/
Duaccess.h51 const void *__pu_ptr = (const void __force *)(ptr); \
69 : "+d" (res), "+a" (__pu_ptr) \