Searched refs:__pu_ptr (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/tools/virtio/linux/ |
D | uaccess.h | 16 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-v4.19/arch/nios2/include/asm/ |
D | uaccess.h | 169 __typeof__(*(ptr)) __user *__pu_ptr = (ptr); \ 171 if (access_ok(VERIFY_WRITE, __pu_ptr, sizeof(*__pu_ptr))) { \ 172 switch (sizeof(*__pu_ptr)) { \ 174 __put_user_asm(__pu_val, "stb", __pu_ptr, __pu_err); \ 177 __put_user_asm(__pu_val, "sth", __pu_ptr, __pu_err); \ 180 __put_user_asm(__pu_val, "stw", __pu_ptr, __pu_err); \ 185 if (copy_to_user(__pu_ptr, &(__pu_val), \ 186 sizeof(*__pu_ptr))) \
|
/Linux-v4.19/arch/ia64/include/asm/ |
D | uaccess.h | 178 __typeof__ (*(ptr)) __user *__pu_ptr = (ptr); \ 182 if (!check || __access_ok(__pu_ptr, __pu_size)) \ 184 case 1: __put_user_size(__pu_x, __pu_ptr, 1, __pu_err); break; \ 185 case 2: __put_user_size(__pu_x, __pu_ptr, 2, __pu_err); break; \ 186 case 4: __put_user_size(__pu_x, __pu_ptr, 4, __pu_err); break; \ 187 case 8: __put_user_size(__pu_x, __pu_ptr, 8, __pu_err); break; \
|
/Linux-v4.19/arch/arm/include/asm/ |
D | uaccess.h | 343 const __typeof__(*(ptr)) __user *__pu_ptr = (ptr); \ 349 case 1: __fn(__pu_val, __pu_ptr, __err, 1); break; \ 350 case 2: __fn(__pu_val, __pu_ptr, __err, 2); break; \ 351 case 4: __fn(__pu_val, __pu_ptr, __err, 4); break; \ 352 case 8: __fn(__pu_val, __pu_ptr, __err, 8); break; \ 378 #define __put_user_nocheck(x, __pu_ptr, __err, __size) \ argument 380 unsigned long __pu_addr = (unsigned long)__pu_ptr; \
|
/Linux-v4.19/arch/m68k/include/asm/ |
D | uaccess_mm.h | 78 const void __user *__pu_ptr = (ptr); \ 95 : "+d" (__pu_err), "+a" (__pu_ptr) \
|