Home
last modified time | relevance | path

Searched refs:__pu_val (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.10/arch/nios2/include/asm/
Duaccess.h169 __typeof__(*(ptr)) __pu_val = (__typeof(*ptr))(x); \
173 __put_user_asm(__pu_val, "stb", __pu_ptr, __pu_err); \
176 __put_user_asm(__pu_val, "sth", __pu_ptr, __pu_err); \
179 __put_user_asm(__pu_val, "stw", __pu_ptr, __pu_err); \
184 if (copy_to_user(__pu_ptr, &(__pu_val), \
/Linux-v5.10/arch/nds32/include/asm/
Duaccess.h196 __typeof__(*(ptr)) __pu_val = (x); \
200 __put_user_asm("sbi", __pu_val, (ptr), (err)); \
203 __put_user_asm("shi", __pu_val, (ptr), (err)); \
206 __put_user_asm("swi", __pu_val, (ptr), (err)); \
209 __put_user_asm_dword(__pu_val, (ptr), (err)); \
/Linux-v5.10/arch/microblaze/include/asm/
Duaccess.h255 typeof(*(ptr)) volatile __pu_val = x; \
262 __put_user_asm("sb", __pu_addr, __pu_val, \
266 __put_user_asm("sh", __pu_addr, __pu_val, \
270 __put_user_asm("sw", __pu_addr, __pu_val, \
274 __put_user_asm_8(__pu_addr, __pu_val, __pu_err);\
/Linux-v5.10/arch/mips/include/asm/
Dpaccess.h77 __typeof__(*(ptr)) __pu_val; \
79 __pu_val = (x); \
107 : "r" (__pu_val), "o" (__mp(__pu_addr)), "i" (-EFAULT)); \
Duaccess.h425 __typeof__(*(ptr)) __pu_val; \
428 __pu_val = (x); \
441 __typeof__(*(ptr)) __pu_val = (x); \
469 : "0" (0), "Jr" (__pu_val), "o" (__m(ptr)), \
489 : "0" (0), "r" (__pu_val), "r" (ptr), \
/Linux-v5.10/arch/sh/include/asm/
Duaccess.h82 __typeof__(*(ptr)) __pu_val = x; \
84 __put_user_size(__pu_val, __pu_addr, (size), __pu_err); \
92 __typeof__(*(ptr)) __pu_val = x; \
94 __put_user_size(__pu_val, __pu_addr, (size), \
/Linux-v5.10/arch/arm/include/asm/
Duaccess.h246 #define __put_user_check(__pu_val, __ptr, __err, __s) \ argument
249 register typeof(__pu_val) __r2 asm("r2") = __pu_val; \
389 __typeof__(*(ptr)) __pu_val = (x); \
394 case 1: __fn(__pu_val, __pu_ptr, __err, 1); break; \
395 case 2: __fn(__pu_val, __pu_ptr, __err, 2); break; \
396 case 4: __fn(__pu_val, __pu_ptr, __err, 4); break; \
397 case 8: __fn(__pu_val, __pu_ptr, __err, 8); break; \
/Linux-v5.10/arch/csky/include/asm/
Duaccess.h73 typeof(*(ptr)) __pu_val = (typeof(*(ptr)))(x); \
75 __put_user_size(__pu_val, (__pu_addr), (size), \
84 typeof(*(ptr)) __pu_val = (typeof(*(ptr)))(x); \
86 __put_user_size(__pu_val, __pu_addr, (size), __pu_err); \
/Linux-v5.10/arch/m68k/include/asm/
Duaccess.h66 typeof(*(ptr)) __pu_val = (x); \
71 __put_user_asm(__pu_err, __pu_val, ptr, b, d, -EFAULT); \
74 __put_user_asm(__pu_err, __pu_val, ptr, w, r, -EFAULT); \
77 __put_user_asm(__pu_err, __pu_val, ptr, l, r, -EFAULT); \
99 : "r" (__pu_val), "i" (-EFAULT) \
/Linux-v5.10/arch/arm64/include/asm/
Duaccess.h337 __typeof__(*(ptr)) __pu_val = (x); \
342 __put_user_asm("strb", "sttrb", "%w", __pu_val, (ptr), \
346 __put_user_asm("strh", "sttrh", "%w", __pu_val, (ptr), \
350 __put_user_asm("str", "sttr", "%w", __pu_val, (ptr), \
354 __put_user_asm("str", "sttr", "%x", __pu_val, (ptr), \
/Linux-v5.10/arch/powerpc/include/asm/
Duaccess.h136 __typeof__(*(ptr)) __pu_val = (x); \
142 __put_user_size(__pu_val, __pu_addr, __pu_size, __pu_err); \
151 __typeof__(*(ptr)) __pu_val = (x); \
156 __put_user_size(__pu_val, __pu_addr, __pu_size, __pu_err); \
165 __typeof__(*(ptr)) __pu_val = (x); \
169 __put_user_size(__pu_val, __pu_addr, __pu_size, __pu_err); \