Home
last modified time | relevance | path

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

/linux-5.19.10/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.h114 case 1: __put_user_asm(data, b, addr, __pu_ret); break; \
115 case 2: __put_user_asm(data, h, addr, __pu_ret); break; \
116 case 4: __put_user_asm(data, w, addr, __pu_ret); break; \
117 case 8: __put_user_asm(data, x, addr, __pu_ret); break; \
123 #define __put_user_asm(x, size, addr, ret) \ macro
/linux-5.19.10/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-5.19.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-5.19.10/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-5.19.10/arch/parisc/include/asm/
Duaccess.h26 #define STD_USER(sr, x, ptr) __put_user_asm(sr, "std", x, ptr)
133 case 1: __put_user_asm(sr, "stb", x, ptr); break; \
134 case 2: __put_user_asm(sr, "sth", x, ptr); break; \
135 case 4: __put_user_asm(sr, "stw", x, ptr); break; \
172 #define __put_user_asm(sr, stx, x, ptr) \ macro
/linux-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/arch/s390/include/asm/
Duaccess.h82 #define __put_user_asm(to, from, size) \ macro
110 rc = __put_user_asm((unsigned char __user *)ptr, in __put_user_fn()
115 rc = __put_user_asm((unsigned short __user *)ptr, in __put_user_fn()
120 rc = __put_user_asm((unsigned int __user *)ptr, in __put_user_fn()
125 rc = __put_user_asm((unsigned long __user *)ptr, in __put_user_fn()
/linux-5.19.10/arch/arm/include/asm/
Duaccess.h384 #define __put_user_asm(x, __pu_addr, err, instr) \ macro
402 __put_user_asm(x, __pu_addr, err, "strb" __t)
407 __put_user_asm(x, __pu_addr, err, "strh" __t)
430 __put_user_asm(x, __pu_addr, err, "str" __t)