Home
last modified time | relevance | path

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

/Linux-v4.19/arch/m68k/include/asm/
Duaccess_no.h34 typeof(*(ptr)) __pu_val = (x); \
37 __put_user_asm(__pu_err, __pu_val, ptr, b); \
40 __put_user_asm(__pu_err, __pu_val, ptr, w); \
43 __put_user_asm(__pu_err, __pu_val, ptr, l); \
46 memcpy(ptr, &__pu_val, sizeof (*(ptr))); \
Duaccess_mm.h63 typeof(*(ptr)) __pu_val = (x); \
68 __put_user_asm(__pu_err, __pu_val, ptr, b, d, -EFAULT); \
71 __put_user_asm(__pu_err, __pu_val, ptr, w, r, -EFAULT); \
74 __put_user_asm(__pu_err, __pu_val, ptr, l, r, -EFAULT); \
96 : "r" (__pu_val), "i" (-EFAULT) \
/Linux-v4.19/arch/nios2/include/asm/
Duaccess.h170 __typeof__(*(ptr)) __pu_val = (__typeof(*ptr))(x); \
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), \
/Linux-v4.19/arch/nds32/include/asm/
Duaccess.h201 __typeof__(*(ptr)) __pu_val = (x); \
205 __put_user_asm("sbi", __pu_val, (ptr), (err)); \
208 __put_user_asm("shi", __pu_val, (ptr), (err)); \
211 __put_user_asm("swi", __pu_val, (ptr), (err)); \
214 __put_user_asm_dword(__pu_val, (ptr), (err)); \
/Linux-v4.19/arch/x86/include/asm/
Duaccess.h257 __typeof__(*(ptr)) __pu_val; \
260 __pu_val = x; \
263 __put_user_x(1, __pu_val, ptr, __ret_pu); \
266 __put_user_x(2, __pu_val, ptr, __ret_pu); \
269 __put_user_x(4, __pu_val, ptr, __ret_pu); \
272 __put_user_x8(__pu_val, ptr, __ret_pu); \
275 __put_user_x(X, __pu_val, ptr, __ret_pu); \
717 __typeof__(*(ptr)) __pu_val = (x); \
718 __put_user_size(__pu_val, (ptr), sizeof(*(ptr)), __pu_err, -EFAULT); \
/Linux-v4.19/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.h429 __typeof__(*(ptr)) __pu_val; \
432 __pu_val = (x); \
445 __typeof__(*(ptr)) __pu_val = (x); \
473 : "0" (0), "Jr" (__pu_val), "o" (__m(ptr)), \
493 : "0" (0), "r" (__pu_val), "r" (ptr), \
/Linux-v4.19/arch/arm/include/asm/
Duaccess.h210 #define __put_user_check(__pu_val, __ptr, __err, __s) \ argument
213 register typeof(__pu_val) __r2 asm("r2") = __pu_val; \
344 __typeof__(*(ptr)) __pu_val = (x); \
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; \
/Linux-v4.19/arch/microblaze/include/asm/
Duaccess.h285 typeof(*(ptr)) volatile __pu_val = x; \
292 __put_user_asm("sb", __pu_addr, __pu_val, \
296 __put_user_asm("sh", __pu_addr, __pu_val, \
300 __put_user_asm("sw", __pu_addr, __pu_val, \
304 __put_user_asm_8(__pu_addr, __pu_val, __pu_err);\
/Linux-v4.19/arch/sh/include/asm/
Duaccess.h79 __typeof__(*(ptr)) __pu_val = x; \
81 __put_user_size(__pu_val, __pu_addr, (size), __pu_err); \
89 __typeof__(*(ptr)) __pu_val = x; \
91 __put_user_size(__pu_val, __pu_addr, (size), \
/Linux-v4.19/arch/arm64/include/asm/
Duaccess.h352 __typeof__(*(ptr)) __pu_val = (x); \
357 __put_user_asm("strb", "sttrb", "%w", __pu_val, (ptr), \
361 __put_user_asm("strh", "sttrh", "%w", __pu_val, (ptr), \
365 __put_user_asm("str", "sttr", "%w", __pu_val, (ptr), \
369 __put_user_asm("str", "sttr", "%x", __pu_val, (ptr), \