Home
last modified time | relevance | path

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

/linux-6.12.1/arch/sparc/include/asm/
Duaccess_32.h56 __put_user_asm(x, b, addr, __pu_ret); \
59 __put_user_asm(x, h, addr, __pu_ret); \
62 __put_user_asm(x, , addr, __pu_ret); \
65 __put_user_asm(x, d, addr, __pu_ret); \
80 case 1: __put_user_asm(x, b, addr, __pu_ret); break; \
81 case 2: __put_user_asm(x, h, addr, __pu_ret); break; \
82 case 4: __put_user_asm(x, , addr, __pu_ret); break; \
83 case 8: __put_user_asm(x, d, addr, __pu_ret); break; \
89 #define __put_user_asm(x, size, addr, ret) \ macro
Duaccess_64.h116 case 1: __put_user_asm(data, b, addr, __pu_ret); break; \
117 case 2: __put_user_asm(data, h, addr, __pu_ret); break; \
118 case 4: __put_user_asm(data, w, addr, __pu_ret); break; \
119 case 8: __put_user_asm(data, x, addr, __pu_ret); break; \
125 #define __put_user_asm(x, size, addr, ret) \ macro
/linux-6.12.1/arch/microblaze/include/asm/
Duaccess.h128 #define __put_user_asm(insn, __gu_ptr, __gu_val, __gu_err) \ macro
195 __put_user_asm("sb", __pu_addr, __pu_val, \
199 __put_user_asm("sh", __pu_addr, __pu_val, \
203 __put_user_asm("sw", __pu_addr, __pu_val, \
225 __put_user_asm("sb", (ptr), __gu_val, __gu_err); \
228 __put_user_asm("sh", (ptr), __gu_val, __gu_err); \
231 __put_user_asm("sw", (ptr), __gu_val, __gu_err); \
/linux-6.12.1/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-6.12.1/arch/m68k/include/asm/
Duaccess.h31 #define __put_user_asm(inst, res, x, ptr, bwl, reg, err) \ macro
86 __put_user_asm(MOVES, __pu_err, __pu_val, ptr, b, d, -EFAULT); \
89 __put_user_asm(MOVES, __pu_err, __pu_val, ptr, w, r, -EFAULT); \
92 __put_user_asm(MOVES, __pu_err, __pu_val, ptr, l, r, -EFAULT); \
322 __put_user_asm(MOVES, res, *(u8 *)from, (u8 __user *)to, in __constant_copy_to_user()
326 __put_user_asm(MOVES, res, *(u16 *)from, (u16 __user *)to, in __constant_copy_to_user()
333 __put_user_asm(MOVES, res, *(u32 *)from, (u32 __user *)to, in __constant_copy_to_user()
420 __put_user_asm("move", __pk_err, __pk_src, __pk_dst, \
424 __put_user_asm("move", __pk_err, __pk_src, __pk_dst, \
428 __put_user_asm("move", __pk_err, __pk_src, __pk_dst, \
/linux-6.12.1/arch/parisc/include/asm/
Duaccess.h27 #define STD_USER(sr, x, ptr) __put_user_asm(sr, "std", x, ptr)
104 case 1: __put_user_asm(sr, "stb", x, ptr); break; \
105 case 2: __put_user_asm(sr, "sth", x, ptr); break; \
106 case 4: __put_user_asm(sr, "stw", x, ptr); break; \
143 #define __put_user_asm(sr, stx, x, ptr) \ macro
/linux-6.12.1/arch/nios2/include/asm/
Duaccess.h135 #define __put_user_asm(val, insn, ptr, err) \ macro
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); \
/linux-6.12.1/arch/riscv/include/asm/
Duaccess.h171 #define __put_user_asm(insn, x, ptr, err) \ macro
185 __put_user_asm("sd", x, ptr, err)
210 __put_user_asm("sb", (x), __gu_ptr, __pu_err); \
213 __put_user_asm("sh", (x), __gu_ptr, __pu_err); \
216 __put_user_asm("sw", (x), __gu_ptr, __pu_err); \
/linux-6.12.1/arch/openrisc/include/asm/
Duaccess.h77 case 1: __put_user_asm(x, ptr, retval, "l.sb"); break; \
78 case 2: __put_user_asm(x, ptr, retval, "l.sh"); break; \
79 case 4: __put_user_asm(x, ptr, retval, "l.sw"); break; \
95 #define __put_user_asm(x, addr, err, op) \ macro
/linux-6.12.1/arch/xtensa/include/asm/
Duaccess.h74 case 1: __put_user_asm(x, ptr, retval, 1, "s8i", __cb); break; \
75 case 2: __put_user_asm(x, ptr, retval, 2, "s16i", __cb); break; \
76 case 4: __put_user_asm(x, ptr, retval, 4, "s32i", __cb); break; \
130 #define __put_user_asm(x_, addr_, err_, align, insn, cb)\ macro
/linux-6.12.1/arch/arm/include/asm/
Duaccess.h408 #define __put_user_asm(x, __pu_addr, err, instr) \ macro
426 __put_user_asm(x, __pu_addr, err, "strb" __t)
431 __put_user_asm(x, __pu_addr, err, "strh" __t)
454 __put_user_asm(x, __pu_addr, err, "str" __t)