/arch/x86/include/asm/ |
D | uaccess_64.h | 79 case 1:__get_user_asm(*(u8 *)dst, (u8 __user *)src, in __copy_from_user() 82 case 2:__get_user_asm(*(u16 *)dst, (u16 __user *)src, in __copy_from_user() 85 case 4:__get_user_asm(*(u32 *)dst, (u32 __user *)src, in __copy_from_user() 88 case 8:__get_user_asm(*(u64 *)dst, (u64 __user *)src, in __copy_from_user() 92 __get_user_asm(*(u64 *)dst, (u64 __user *)src, in __copy_from_user() 96 __get_user_asm(*(u16 *)(8 + (char *)dst), in __copy_from_user() 101 __get_user_asm(*(u64 *)dst, (u64 __user *)src, in __copy_from_user() 105 __get_user_asm(*(u64 *)(8 + (char *)dst), in __copy_from_user() 170 __get_user_asm(tmp, (u8 __user *)src, in __copy_in_user() 179 __get_user_asm(tmp, (u16 __user *)src, in __copy_in_user() [all …]
|
D | uaccess.h | 348 __get_user_asm(x, ptr, retval, "q", "", "=r", errret) 359 __get_user_asm(x, ptr, retval, "b", "b", "=q", errret); \ 362 __get_user_asm(x, ptr, retval, "w", "w", "=r", errret); \ 365 __get_user_asm(x, ptr, retval, "l", "k", "=r", errret); \ 375 #define __get_user_asm(x, addr, err, itype, rtype, ltype, errret) \ macro
|
/arch/sh/include/asm/ |
D | uaccess_32.h | 20 __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/avr32/include/asm/ |
D | uaccess.h | 188 case 1: __get_user_asm("ub", __gu_val, ptr, __gu_err); break; \ 189 case 2: __get_user_asm("uh", __gu_val, ptr, __gu_err); break; \ 190 case 4: __get_user_asm("w", __gu_val, ptr, __gu_err); break; \ 207 __get_user_asm("ub", __gu_val, __gu_addr, \ 211 __get_user_asm("uh", __gu_val, __gu_addr, \ 215 __get_user_asm("w", __gu_val, __gu_addr, \ 229 #define __get_user_asm(suffix, __gu_val, ptr, __gu_err) \ macro
|
/arch/sparc/include/asm/ |
D | uaccess_32.h | 161 case 1: __get_user_asm(__gu_val,ub,addr,__gu_ret); break; \ 162 case 2: __get_user_asm(__gu_val,uh,addr,__gu_ret); break; \ 163 case 4: __get_user_asm(__gu_val,,addr,__gu_ret); break; \ 164 case 8: __get_user_asm(__gu_val,d,addr,__gu_ret); break; \ 183 case 1: __get_user_asm(__gu_val,ub,addr,__gu_ret); break; \ 184 case 2: __get_user_asm(__gu_val,uh,addr,__gu_ret); break; \ 185 case 4: __get_user_asm(__gu_val,,addr,__gu_ret); break; \ 186 case 8: __get_user_asm(__gu_val,d,addr,__gu_ret); break; \ 200 #define __get_user_asm(x,size,addr,ret) \ macro
|
D | uaccess_64.h | 141 case 1: __get_user_asm(__gu_val,ub,addr,__gu_ret); break; \ 142 case 2: __get_user_asm(__gu_val,uh,addr,__gu_ret); break; \ 143 case 4: __get_user_asm(__gu_val,uw,addr,__gu_ret); break; \ 144 case 8: __get_user_asm(__gu_val,x,addr,__gu_ret); break; \ 158 #define __get_user_asm(x,size,addr,ret) \ macro
|
/arch/microblaze/include/asm/ |
D | uaccess.h | 150 #define __get_user_asm(insn, __gu_ptr, __gu_val, __gu_err) \ macro 197 __get_user_asm("lbu", __gu_addr, __gu_val, \ 201 __get_user_asm("lhu", __gu_addr, __gu_val, \ 205 __get_user_asm("lw", __gu_addr, __gu_val, \ 226 __get_user_asm("lbu", (ptr), __gu_val, __gu_err); \ 229 __get_user_asm("lhu", (ptr), __gu_val, __gu_err); \ 232 __get_user_asm("lw", (ptr), __gu_val, __gu_err); \
|
/arch/frv/include/asm/ |
D | uaccess.h | 183 __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/ |
D | uaccess_no.h | 102 __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
|
D | uaccess_mm.h | 131 #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, d, -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, d, 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/ |
D | uaccess.h | 53 #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/frv/kernel/ |
D | uaccess.c | 46 __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/ |
D | uaccess.h | 156 __get_user_asm(_val, _p, B,(Z)); \ 159 __get_user_asm(_val, _p, W,(Z)); \ 162 __get_user_asm(_val, _p, , ); \ 175 #define __get_user_asm(x, ptr, bhw, option) \ macro
|
/arch/openrisc/include/asm/ |
D | uaccess.h | 215 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/ |
D | uaccess.h | 152 __get_user_asm(val, "lb", ptr); \ 155 __get_user_asm(val, "lh", ptr); \ 158 __get_user_asm(val, "lw", ptr); \ 190 #define __get_user_asm(val, insn, addr) \ macro
|
/arch/m32r/include/asm/ |
D | uaccess.h | 244 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/mn10300/include/asm/ |
D | uaccess.h | 139 __get_user_asm("bu"); \ 145 __get_user_asm("hu"); \ 151 __get_user_asm(""); \ 175 #define __get_user_asm(INSN) \ macro
|
/arch/xtensa/include/asm/ |
D | uaccess.h | 338 case 1: __get_user_asm(x,ptr,retval,1,"l8ui",__cb); break; \ 339 case 2: __get_user_asm(x,ptr,retval,2,"l16ui",__cb); break; \ 340 case 4: __get_user_asm(x,ptr,retval,4,"l32i",__cb); break; \ 351 #define __get_user_asm(x, addr, err, align, insn, cb) \ macro
|
/arch/powerpc/include/asm/ |
D | uaccess.h | 218 #define __get_user_asm(x, addr, err, op) \ macro 236 __get_user_asm(x, addr, err, "ld") 265 case 1: __get_user_asm(x, ptr, retval, "lbz"); break; \ 266 case 2: __get_user_asm(x, ptr, retval, "lhz"); break; \ 267 case 4: __get_user_asm(x, ptr, retval, "lwz"); break; \
|
/arch/mips/include/asm/ |
D | uaccess.h | 220 #define __GET_USER_DW(val, ptr) __get_user_asm(val, "ld", ptr) 228 case 1: __get_user_asm(val, "lb", ptr); break; \ 229 case 2: __get_user_asm(val, "lh", ptr); break; \ 230 case 4: __get_user_asm(val, "lw", ptr); break; \ 257 #define __get_user_asm(val, insn, addr) \ macro 493 case 1: __get_user_asm(val, "lb", ptr); break; \
|
/arch/cris/include/asm/ |
D | uaccess.h | 123 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-v32/arch/ |
D | uaccess.h | 52 #define __get_user_asm(x, addr, err, op) \ macro
|
/arch/cris/include/arch-v10/arch/ |
D | uaccess.h | 49 #define __get_user_asm(x, addr, err, op) \ macro
|