Home
last modified time | relevance | path

Searched refs:__get_user_asm (Results 1 – 24 of 24) sorted by relevance

/arch/x86/include/asm/
Duaccess_64.h62 __get_user_asm(*(u8 *)dst, (u8 __user *)src, in __copy_from_user_nocheck()
68 __get_user_asm(*(u16 *)dst, (u16 __user *)src, in __copy_from_user_nocheck()
74 __get_user_asm(*(u32 *)dst, (u32 __user *)src, in __copy_from_user_nocheck()
80 __get_user_asm(*(u64 *)dst, (u64 __user *)src, in __copy_from_user_nocheck()
86 __get_user_asm(*(u64 *)dst, (u64 __user *)src, in __copy_from_user_nocheck()
89 __get_user_asm(*(u16 *)(8 + (char *)dst), in __copy_from_user_nocheck()
96 __get_user_asm(*(u64 *)dst, (u64 __user *)src, in __copy_from_user_nocheck()
99 __get_user_asm(*(u64 *)(8 + (char *)dst), in __copy_from_user_nocheck()
196 __get_user_asm(tmp, (u8 __user *)src, in __copy_in_user()
207 __get_user_asm(tmp, (u16 __user *)src, in __copy_in_user()
[all …]
Duaccess.h337 __get_user_asm(x, ptr, retval, "q", "", "=r", errret)
348 __get_user_asm(x, ptr, retval, "b", "b", "=q", errret); \
351 __get_user_asm(x, ptr, retval, "w", "w", "=r", errret); \
354 __get_user_asm(x, ptr, retval, "l", "k", "=r", errret); \
364 #define __get_user_asm(x, addr, err, itype, rtype, ltype, errret) \ macro
/arch/sh/include/asm/
Duaccess_32.h20 __get_user_asm(x, ptr, retval, "b"); \
23 __get_user_asm(x, ptr, retval, "w"); \
26 __get_user_asm(x, ptr, retval, "l"); \
35 #define __get_user_asm(x, addr, err, insn) \ macro
56 #define __get_user_asm(x, addr, err, insn) \ macro
/arch/sparc/include/asm/
Duaccess_32.h162 case 1: __get_user_asm(__gu_val,ub,addr,__gu_ret); break; \
163 case 2: __get_user_asm(__gu_val,uh,addr,__gu_ret); break; \
164 case 4: __get_user_asm(__gu_val,,addr,__gu_ret); break; \
165 case 8: __get_user_asm(__gu_val,d,addr,__gu_ret); break; \
184 case 1: __get_user_asm(__gu_val,ub,addr,__gu_ret); break; \
185 case 2: __get_user_asm(__gu_val,uh,addr,__gu_ret); break; \
186 case 4: __get_user_asm(__gu_val,,addr,__gu_ret); break; \
187 case 8: __get_user_asm(__gu_val,d,addr,__gu_ret); break; \
201 #define __get_user_asm(x,size,addr,ret) \ macro
Duaccess_64.h143 case 1: __get_user_asm(__gu_val,ub,addr,__gu_ret); break; \
144 case 2: __get_user_asm(__gu_val,uh,addr,__gu_ret); break; \
145 case 4: __get_user_asm(__gu_val,uw,addr,__gu_ret); break; \
146 case 8: __get_user_asm(__gu_val,x,addr,__gu_ret); break; \
160 #define __get_user_asm(x,size,addr,ret) \ macro
/arch/avr32/include/asm/
Duaccess.h197 case 1: __get_user_asm("ub", __gu_val, ptr, __gu_err); break; \
198 case 2: __get_user_asm("uh", __gu_val, ptr, __gu_err); break; \
199 case 4: __get_user_asm("w", __gu_val, ptr, __gu_err); break; \
216 __get_user_asm("ub", __gu_val, __gu_addr, \
220 __get_user_asm("uh", __gu_val, __gu_addr, \
224 __get_user_asm("w", __gu_val, __gu_addr, \
238 #define __get_user_asm(suffix, __gu_val, ptr, __gu_err) \ macro
/arch/microblaze/include/asm/
Duaccess.h158 #define __get_user_asm(insn, __gu_ptr, __gu_val, __gu_err) \ macro
205 __get_user_asm("lbu", __gu_addr, __gu_val, \
209 __get_user_asm("lhu", __gu_addr, __gu_val, \
213 __get_user_asm("lw", __gu_addr, __gu_val, \
234 __get_user_asm("lbu", (ptr), __gu_val, __gu_err); \
237 __get_user_asm("lhu", (ptr), __gu_val, __gu_err); \
240 __get_user_asm("lw", (ptr), __gu_val, __gu_err); \
/arch/frv/include/asm/
Duaccess.h183 __get_user_asm(__gu_err, __gu_val, ptr, "ub", "=r"); \
189 __get_user_asm(__gu_err, __gu_val, ptr, "uh", "=r"); \
195 __get_user_asm(__gu_err, __gu_val, ptr, "", "=r"); \
201 __get_user_asm(__gu_err, __gu_val, ptr, "d", "=e"); \
229 #define __get_user_asm(err,x,ptr,dtype,constraint) \ macro
249 #define __get_user_asm(err,x,ptr,bwl,con) \ macro
/arch/m68k/include/asm/
Duaccess_no.h102 __get_user_asm(__gu_err, __gu_val, ptr, b, "=d"); \
105 __get_user_asm(__gu_err, __gu_val, ptr, w, "=r"); \
108 __get_user_asm(__gu_err, __gu_val, ptr, l, "=r"); \
125 #define __get_user_asm(err,x,ptr,bwl,reg) \ macro
Duaccess_mm.h131 #define __get_user_asm(res, x, ptr, type, bwl, reg, err) ({ \ macro
158 __get_user_asm(__gu_err, x, ptr, u8, b, d, -EFAULT); \
161 __get_user_asm(__gu_err, x, ptr, u16, w, r, -EFAULT); \
164 __get_user_asm(__gu_err, x, ptr, u32, l, r, -EFAULT); \
245 __get_user_asm(res, *(u8 *)to, (u8 __user *)from, u8, b, d, 1); in __constant_copy_from_user()
248 __get_user_asm(res, *(u16 *)to, (u16 __user *)from, u16, w, r, 2); in __constant_copy_from_user()
254 __get_user_asm(res, *(u32 *)to, (u32 __user *)from, u32, l, r, 4); in __constant_copy_from_user()
/arch/parisc/include/asm/
Duaccess.h51 #define LDD_USER(ptr) __get_user_asm("ldd",ptr)
101 case 1: __get_user_asm("ldb",ptr); break; \
102 case 2: __get_user_asm("ldh",ptr); break; \
103 case 4: __get_user_asm("ldw",ptr); break; \
120 #define __get_user_asm(ldx,ptr) \ macro
/arch/tile/include/asm/
Duaccess.h143 #define __get_user_asm(OP, x, ptr, ret) \ macro
157 #define __get_user_1(x, ptr, ret) __get_user_asm(ld1u, x, ptr, ret)
158 #define __get_user_2(x, ptr, ret) __get_user_asm(ld2u, x, ptr, ret)
159 #define __get_user_4(x, ptr, ret) __get_user_asm(ld4s, x, ptr, ret)
160 #define __get_user_8(x, ptr, ret) __get_user_asm(ld, x, ptr, ret)
162 #define __get_user_1(x, ptr, ret) __get_user_asm(lb_u, x, ptr, ret)
163 #define __get_user_2(x, ptr, ret) __get_user_asm(lh_u, x, ptr, ret)
164 #define __get_user_4(x, ptr, ret) __get_user_asm(lw, x, ptr, ret)
/arch/frv/kernel/
Duaccess.c46 __get_user_asm(err, ch, src, "ub", "=r"); in strncpy_from_user()
89 __get_user_asm(err, ch, p, "ub", "=r"); in strnlen_user()
/arch/blackfin/include/asm/
Duaccess.h139 __get_user_asm(_val, _p, B,(Z)); \
142 __get_user_asm(_val, _p, W,(Z)); \
145 __get_user_asm(_val, _p, , ); \
158 #define __get_user_asm(x, ptr, bhw, option) \ macro
/arch/openrisc/include/asm/
Duaccess.h215 case 1: __get_user_asm(x, ptr, retval, "l.lbz"); break; \
216 case 2: __get_user_asm(x, ptr, retval, "l.lhz"); break; \
217 case 4: __get_user_asm(x, ptr, retval, "l.lwz"); break; \
223 #define __get_user_asm(x, addr, err, op) \ macro
/arch/score/include/asm/
Duaccess.h152 __get_user_asm(val, "lb", ptr); \
155 __get_user_asm(val, "lh", ptr); \
158 __get_user_asm(val, "lw", ptr); \
192 #define __get_user_asm(val, insn, addr) \ macro
/arch/m32r/include/asm/
Duaccess.h244 case 1: __get_user_asm(x,ptr,retval,"ub"); break; \
245 case 2: __get_user_asm(x,ptr,retval,"uh"); break; \
246 case 4: __get_user_asm(x,ptr,retval,""); break; \
251 #define __get_user_asm(x, addr, err, itype) \ macro
/arch/arm64/include/asm/
Duaccess.h249 #define __get_user_asm(instr, alt_instr, reg, x, addr, err, feature) \ macro
274 __get_user_asm("ldrb", "ldtrb", "%w", __gu_val, (ptr), \
278 __get_user_asm("ldrh", "ldtrh", "%w", __gu_val, (ptr), \
282 __get_user_asm("ldr", "ldtr", "%w", __gu_val, (ptr), \
286 __get_user_asm("ldr", "ldtr", "%", __gu_val, (ptr), \
/arch/powerpc/include/asm/
Duaccess.h209 #define __get_user_asm(x, addr, err, op) \ macro
227 __get_user_asm(x, addr, err, "ld")
256 case 1: __get_user_asm(x, ptr, retval, "lbz"); break; \
257 case 2: __get_user_asm(x, ptr, retval, "lhz"); break; \
258 case 4: __get_user_asm(x, ptr, retval, "lwz"); break; \
/arch/mn10300/include/asm/
Duaccess.h139 __get_user_asm("bu"); \
145 __get_user_asm("hu"); \
151 __get_user_asm(""); \
175 #define __get_user_asm(INSN) \ macro
/arch/xtensa/include/asm/
Duaccess.h344 case 1: __get_user_asm(x,ptr,retval,1,"l8ui",__cb); break; \
345 case 2: __get_user_asm(x,ptr,retval,2,"l16ui",__cb); break; \
346 case 4: __get_user_asm(x,ptr,retval,4,"l32i",__cb); break; \
357 #define __get_user_asm(x, addr, err, align, insn, cb) \ macro
/arch/cris/include/asm/
Duaccess.h123 case 1: __get_user_asm(x,ptr,retval,"move.b"); break; \
124 case 2: __get_user_asm(x,ptr,retval,"move.w"); break; \
125 case 4: __get_user_asm(x,ptr,retval,"move.d"); break; \
/arch/cris/include/arch-v10/arch/
Duaccess.h49 #define __get_user_asm(x, addr, err, op) \ macro
/arch/cris/include/arch-v32/arch/
Duaccess.h52 #define __get_user_asm(x, addr, err, op) \ macro