Home
last modified time | relevance | path

Searched refs:__put_user_asm (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.10/arch/sparc/include/asm/
Duaccess_32.h112 __put_user_asm(x, b, addr, __pu_ret); \
115 __put_user_asm(x, h, addr, __pu_ret); \
118 __put_user_asm(x, , addr, __pu_ret); \
121 __put_user_asm(x, d, addr, __pu_ret); \
136 case 1: __put_user_asm(x, b, addr, __pu_ret); break; \
137 case 2: __put_user_asm(x, h, addr, __pu_ret); break; \
138 case 4: __put_user_asm(x, , addr, __pu_ret); break; \
139 case 8: __put_user_asm(x, d, addr, __pu_ret); break; \
145 #define __put_user_asm(x, size, addr, ret) \ macro
Duaccess_64.h107 case 1: __put_user_asm(data, b, addr, __pu_ret); break; \
108 case 2: __put_user_asm(data, h, addr, __pu_ret); break; \
109 case 4: __put_user_asm(data, w, addr, __pu_ret); break; \
110 case 8: __put_user_asm(data, x, addr, __pu_ret); break; \
116 #define __put_user_asm(x, size, addr, ret) \ macro
/Linux-v5.10/arch/sh/include/asm/
Duaccess_32.h127 __put_user_asm(x, ptr, retval, "b"); \
130 __put_user_asm(x, ptr, retval, "w"); \
133 __put_user_asm(x, ptr, retval, "l"); \
144 #define __put_user_asm(x, addr, err, insn) \ macro
168 #define __put_user_asm(x, addr, err, insn) \ macro
/Linux-v5.10/arch/microblaze/include/asm/
Duaccess.h195 #define __put_user_asm(insn, __gu_ptr, __gu_val, __gu_err) \ macro
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, \
292 __put_user_asm("sb", (ptr), __gu_val, __gu_err); \
295 __put_user_asm("sh", (ptr), __gu_val, __gu_err); \
298 __put_user_asm("sw", (ptr), __gu_val, __gu_err); \
/Linux-v5.10/arch/parisc/include/asm/
Duaccess.h40 #define STD_USER(x, ptr) __put_user_asm("std", x, ptr)
147 case 1: __put_user_asm("stb", __x, ptr); break; \
148 case 2: __put_user_asm("sth", __x, ptr); break; \
149 case 4: __put_user_asm("stw", __x, ptr); break; \
173 #define __put_user_asm(stx, x, ptr) \ macro
/Linux-v5.10/arch/m68k/include/asm/
Duaccess.h41 #define __put_user_asm(res, x, ptr, bwl, reg, err) \ macro
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); \
325 __put_user_asm(res, *(u8 *)from, (u8 __user *)to, b, d, 1); in __constant_copy_to_user()
328 __put_user_asm(res, *(u16 *)from, (u16 __user *)to, w, r, 2); in __constant_copy_to_user()
334 __put_user_asm(res, *(u32 *)from, (u32 __user *)to, l, r, 4); in __constant_copy_to_user()
/Linux-v5.10/arch/nios2/include/asm/
Duaccess.h151 #define __put_user_asm(val, insn, ptr, err) \ macro
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); \
/Linux-v5.10/arch/nds32/include/asm/
Duaccess.h200 __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)); \
217 #define __put_user_asm(inst, x, addr, err) \ macro
/Linux-v5.10/arch/riscv/include/asm/
Duaccess.h222 #define __put_user_asm(insn, x, ptr, err) \ macro
246 __put_user_asm("sd", x, ptr, err)
281 __put_user_asm("sb", (x), __gu_ptr, __pu_err); \
284 __put_user_asm("sh", (x), __gu_ptr, __pu_err); \
287 __put_user_asm("sw", (x), __gu_ptr, __pu_err); \
/Linux-v5.10/arch/openrisc/include/asm/
Duaccess.h114 case 1: __put_user_asm(x, ptr, retval, "l.sb"); break; \
115 case 2: __put_user_asm(x, ptr, retval, "l.sh"); break; \
116 case 4: __put_user_asm(x, ptr, retval, "l.sw"); break; \
132 #define __put_user_asm(x, addr, err, op) \ macro
/Linux-v5.10/arch/arm64/include/asm/
Duaccess.h321 #define __put_user_asm(instr, alt_instr, reg, x, addr, err, feature) \ macro
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/xtensa/include/asm/
Duaccess.h98 case 1: __put_user_asm(x, ptr, retval, 1, "s8i", __cb); break; \
99 case 2: __put_user_asm(x, ptr, retval, 2, "s16i", __cb); break; \
100 case 4: __put_user_asm(x, ptr, retval, 4, "s32i", __cb); break; \
154 #define __put_user_asm(x_, addr_, err_, align, insn, cb)\ macro
/Linux-v5.10/arch/arm/include/asm/
Duaccess.h436 #define __put_user_asm(x, __pu_addr, err, instr) \ macro
454 __put_user_asm(x, __pu_addr, err, strb)
459 __put_user_asm(x, __pu_addr, err, strh)
482 __put_user_asm(x, __pu_addr, err, str)