Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/tools/virtio/linux/
Duaccess.h16 typeof(ptr) __pu_ptr = (ptr); \
17 __chk_user_ptr(__pu_ptr, sizeof(*__pu_ptr)); \
18 WRITE_ONCE(*(__pu_ptr), x); \
24 typeof(ptr) __pu_ptr = (ptr); \
25 __chk_user_ptr(__pu_ptr, sizeof(*__pu_ptr)); \
26 x = READ_ONCE(*(__pu_ptr)); \
/linux-5.19.10/arch/ia64/include/asm/
Duaccess.h166 __typeof__ (*(ptr)) __user *__pu_ptr = (ptr); \
170 if (!check || __access_ok(__pu_ptr, __pu_size)) \
172 case 1: __put_user_size(__pu_x, __pu_ptr, 1, __pu_err); break; \
173 case 2: __put_user_size(__pu_x, __pu_ptr, 2, __pu_err); break; \
174 case 4: __put_user_size(__pu_x, __pu_ptr, 4, __pu_err); break; \
175 case 8: __put_user_size(__pu_x, __pu_ptr, 8, __pu_err); break; \
/linux-5.19.10/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-5.19.10/arch/arm/include/asm/
Duaccess.h334 const __typeof__(*(ptr)) __user *__pu_ptr = (ptr); \
340 case 1: __fn(__pu_val, __pu_ptr, __err, 1); break; \
341 case 2: __fn(__pu_val, __pu_ptr, __err, 2); break; \
342 case 4: __fn(__pu_val, __pu_ptr, __err, 4); break; \
343 case 8: __fn(__pu_val, __pu_ptr, __err, 8); break; \
371 #define __put_user_nocheck(x, __pu_ptr, __err, __size) \ argument
373 unsigned long __pu_addr = (unsigned long)__pu_ptr; \
/linux-5.19.10/arch/m68k/include/asm/
Duaccess.h51 const void *__pu_ptr = (const void __force *)(ptr); \
69 : "+d" (res), "+a" (__pu_ptr) \