Home
last modified time | relevance | path

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

/arch/x86/include/asm/
Duaccess_64.h123 case 1:__put_user_asm(*(u8 *)src, (u8 __user *)dst, in __copy_to_user()
126 case 2:__put_user_asm(*(u16 *)src, (u16 __user *)dst, in __copy_to_user()
129 case 4:__put_user_asm(*(u32 *)src, (u32 __user *)dst, in __copy_to_user()
132 case 8:__put_user_asm(*(u64 *)src, (u64 __user *)dst, in __copy_to_user()
136 __put_user_asm(*(u64 *)src, (u64 __user *)dst, in __copy_to_user()
141 __put_user_asm(4[(u16 *)src], 4 + (u16 __user *)dst, in __copy_to_user()
145 __put_user_asm(*(u64 *)src, (u64 __user *)dst, in __copy_to_user()
150 __put_user_asm(1[(u64 *)src], 1 + (u64 __user *)dst, in __copy_to_user()
173 __put_user_asm(tmp, (u8 __user *)dst, in __copy_in_user()
182 __put_user_asm(tmp, (u16 __user *)dst, in __copy_in_user()
[all …]
Duaccess.h214 __put_user_asm(x, ptr, retval, "q", "", "er", errret)
282 __put_user_asm(x, ptr, retval, "b", "b", "iq", errret); \
285 __put_user_asm(x, ptr, retval, "w", "w", "ir", errret); \
288 __put_user_asm(x, ptr, retval, "l", "k", "ir", errret); \
439 #define __put_user_asm(x, addr, err, itype, rtype, ltype, errret) \ macro
/arch/avr32/include/asm/
Duaccess.h250 case 1: __put_user_asm("b", ptr, __pu_val, __pu_err); break; \
251 case 2: __put_user_asm("h", ptr, __pu_val, __pu_err); break; \
252 case 4: __put_user_asm("w", ptr, __pu_val, __pu_err); break; \
253 case 8: __put_user_asm("d", ptr, __pu_val, __pu_err); break; \
269 __put_user_asm("b", __pu_addr, __pu_val, \
273 __put_user_asm("h", __pu_addr, __pu_val, \
277 __put_user_asm("w", __pu_addr, __pu_val, \
281 __put_user_asm("d", __pu_addr, __pu_val, \
294 #define __put_user_asm(suffix, ptr, __pu_val, __gu_err) \ macro
/arch/sh/include/asm/
Duaccess_32.h73 __put_user_asm(x, ptr, retval, "b"); \
76 __put_user_asm(x, ptr, retval, "w"); \
79 __put_user_asm(x, ptr, retval, "l"); \
90 #define __put_user_asm(x, addr, err, insn) \ macro
114 #define __put_user_asm(x, addr, err, insn) \ macro
/arch/sparc/include/asm/
Duaccess_32.h118 case 1: __put_user_asm(x,b,addr,__pu_ret); break; \
119 case 2: __put_user_asm(x,h,addr,__pu_ret); break; \
120 case 4: __put_user_asm(x,,addr,__pu_ret); break; \
121 case 8: __put_user_asm(x,d,addr,__pu_ret); break; \
128 case 1: __put_user_asm(x,b,addr,__pu_ret); break; \
129 case 2: __put_user_asm(x,h,addr,__pu_ret); break; \
130 case 4: __put_user_asm(x,,addr,__pu_ret); break; \
131 case 8: __put_user_asm(x,d,addr,__pu_ret); break; \
135 #define __put_user_asm(x,size,addr,ret) \ macro
Duaccess_64.h108 case 1: __put_user_asm(data,b,addr,__pu_ret); break; \
109 case 2: __put_user_asm(data,h,addr,__pu_ret); break; \
110 case 4: __put_user_asm(data,w,addr,__pu_ret); break; \
111 case 8: __put_user_asm(data,x,addr,__pu_ret); break; \
115 #define __put_user_asm(x,size,addr,ret) \ macro
/arch/microblaze/include/asm/
Duaccess.h242 #define __put_user_asm(insn, __gu_ptr, __gu_val, __gu_err) \ macro
309 __put_user_asm("sb", __pu_addr, __pu_val, \
313 __put_user_asm("sh", __pu_addr, __pu_val, \
317 __put_user_asm("sw", __pu_addr, __pu_val, \
339 __put_user_asm("sb", (ptr), __gu_val, __gu_err); \
342 __put_user_asm("sh", (ptr), __gu_val, __gu_err); \
345 __put_user_asm("sw", (ptr), __gu_val, __gu_err); \
/arch/score/include/asm/
Duaccess.h222 __put_user_asm("sb", ptr); \
225 __put_user_asm("sh", ptr); \
228 __put_user_asm("sw", ptr); \
253 __put_user_asm("sb", __pu_addr); \
256 __put_user_asm("sh", __pu_addr); \
259 __put_user_asm("sw", __pu_addr); \
275 #define __put_user_asm(insn, ptr) \ macro
/arch/blackfin/include/asm/
Duaccess.h99 __put_user_asm(_x, _p, B); \
102 __put_user_asm(_x, _p, W); \
105 __put_user_asm(_x, _p, ); \
111 __put_user_asm(_xl, ((long *)_p)+0, ); \
112 __put_user_asm(_xh, ((long *)_p)+1, ); \
141 #define __put_user_asm(x,p,bhw) \ macro
/arch/frv/include/asm/
Duaccess.h102 __put_user_asm(__pu_err, __pu_val, ptr, "b", "r"); \
105 __put_user_asm(__pu_err, __pu_val, ptr, "h", "r"); \
108 __put_user_asm(__pu_err, __pu_val, ptr, "", "r"); \
111 __put_user_asm(__pu_err, __pu_val, ptr, "d", "e"); \
141 #define __put_user_asm(err,x,ptr,dsize,constraint) \ macro
160 #define __put_user_asm(err,x,ptr,bwl,con) \ macro
/arch/m68k/include/asm/
Duaccess_no.h62 __put_user_asm(__pu_err, __pu_val, ptr, b); \
65 __put_user_asm(__pu_err, __pu_val, ptr, w); \
68 __put_user_asm(__pu_err, __pu_val, ptr, l); \
91 #define __put_user_asm(err,x,ptr,bwl) \ macro
Duaccess_mm.h60 #define __put_user_asm(res, x, ptr, bwl, reg, err) \ macro
90 __put_user_asm(__pu_err, __pu_val, ptr, b, d, -EFAULT); \
93 __put_user_asm(__pu_err, __pu_val, ptr, w, d, -EFAULT); \
96 __put_user_asm(__pu_err, __pu_val, ptr, l, r, -EFAULT); \
326 __put_user_asm(res, *(u8 *)from, (u8 __user *)to, b, d, 1); in __constant_copy_to_user()
329 __put_user_asm(res, *(u16 *)from, (u16 __user *)to, w, d, 2); in __constant_copy_to_user()
335 __put_user_asm(res, *(u32 *)from, (u32 __user *)to, l, r, 4); in __constant_copy_to_user()
/arch/mn10300/include/asm/
Duaccess.h208 case 1: __put_user_asm("bu"); break; \
209 case 2: __put_user_asm("hu"); break; \
210 case 4: __put_user_asm("" ); break; \
229 case 1: __put_user_asm("bu"); break; \
230 case 2: __put_user_asm("hu"); break; \
231 case 4: __put_user_asm("" ); break; \
242 #define __put_user_asm(INSN) \ macro
/arch/parisc/include/asm/
Duaccess.h55 #define STD_USER(x, ptr) __put_user_asm("std",x,ptr)
143 case 1: __put_user_asm("stb",__x,ptr); break; \
144 case 2: __put_user_asm("sth",__x,ptr); break; \
145 case 4: __put_user_asm("stw",__x,ptr); break; \
172 #define __put_user_asm(stx,x,ptr) \ macro
/arch/mips/include/asm/
Duaccess.h314 #define __PUT_USER_DW(ptr) __put_user_asm("sd", ptr)
325 case 1: __put_user_asm("sb", ptr); break; \
326 case 2: __put_user_asm("sh", ptr); break; \
327 case 4: __put_user_asm("sw", ptr); break; \
343 case 1: __put_user_asm("sb", __pu_addr); break; \
344 case 2: __put_user_asm("sh", __pu_addr); break; \
345 case 4: __put_user_asm("sw", __pu_addr); break; \
353 #define __put_user_asm(insn, ptr) \ macro
587 case 1: __put_user_asm("sb", ptr); break; \
604 case 1: __put_user_asm("sb", __pu_addr); break; \
/arch/openrisc/include/asm/
Duaccess.h139 case 1: __put_user_asm(x, ptr, retval, "l.sb"); break; \
140 case 2: __put_user_asm(x, ptr, retval, "l.sh"); break; \
141 case 4: __put_user_asm(x, ptr, retval, "l.sw"); break; \
157 #define __put_user_asm(x, addr, err, op) \ macro
/arch/m32r/include/asm/
Duaccess.h374 case 1: __put_user_asm(x,ptr,retval,"b"); break; \
375 case 2: __put_user_asm(x,ptr,retval,"h"); break; \
376 case 4: __put_user_asm(x,ptr,retval,""); break; \
390 #define __put_user_asm(x, addr, err, itype) \ macro
/arch/xtensa/include/asm/
Duaccess.h237 case 1: __put_user_asm(x,ptr,retval,1,"s8i",__cb); break; \
238 case 2: __put_user_asm(x,ptr,retval,2,"s16i",__cb); break; \
239 case 4: __put_user_asm(x,ptr,retval,4,"s32i",__cb); break; \
293 #define __put_user_asm(x, addr, err, align, insn, cb) \ macro
/arch/powerpc/include/asm/
Duaccess.h136 #define __put_user_asm(x, addr, err, op) \ macro
153 __put_user_asm(x, ptr, retval, "std")
177 case 1: __put_user_asm(x, ptr, retval, "stb"); break; \
178 case 2: __put_user_asm(x, ptr, retval, "sth"); break; \
179 case 4: __put_user_asm(x, ptr, retval, "stw"); break; \
/arch/cris/include/asm/
Duaccess.h111 case 1: __put_user_asm(x,ptr,retval,"move.b"); break; \
112 case 2: __put_user_asm(x,ptr,retval,"move.w"); break; \
113 case 4: __put_user_asm(x,ptr,retval,"move.d"); break; \
/arch/cris/include/arch-v32/arch/
Duaccess.h16 #define __put_user_asm(x, addr, err, op) \ macro
/arch/cris/include/arch-v10/arch/
Duaccess.h17 #define __put_user_asm(x, addr, err, op) \ macro