/linux-4.1.27/arch/x86/um/os-Linux/ |
H A D | mcontext.c | 10 #define COPY(X) regs->gp[X] = mc->gregs[REG_##X] get_regs_from_mc() macro 14 COPY(EDI); COPY(ESI); COPY(EBP); get_regs_from_mc() 16 COPY(EBX); COPY(EDX); COPY(ECX); COPY(EAX); get_regs_from_mc() 17 COPY(EIP); COPY_SEG_CPL3(CS); COPY(EFL); COPY_SEG_CPL3(SS); get_regs_from_mc() 20 #define COPY(X) regs->gp[X/sizeof(unsigned long)] = mc->gregs[REG_##X] get_regs_from_mc() 21 COPY(R8); COPY(R9); COPY(R10); COPY(R11); get_regs_from_mc() 22 COPY(R12); COPY(R13); COPY(R14); COPY(R15); get_regs_from_mc() 23 COPY(RDI); COPY(RSI); COPY(RBP); COPY(RBX); get_regs_from_mc() 24 COPY(RDX); COPY(RAX); COPY(RCX); COPY(RSP); get_regs_from_mc() 25 COPY(RIP); get_regs_from_mc()
|
/linux-4.1.27/arch/c6x/kernel/ |
H A D | signal.c | 43 #define COPY(x) (err |= __get_user(regs->x, &sc->sc_##x)) restore_sigcontext() macro 45 COPY(sp); COPY(a4); COPY(b4); COPY(a6); COPY(b6); COPY(a8); COPY(b8); restore_sigcontext() 46 COPY(a0); COPY(a1); COPY(a2); COPY(a3); COPY(a5); COPY(a7); COPY(a9); restore_sigcontext() 47 COPY(b0); COPY(b1); COPY(b2); COPY(b3); COPY(b5); COPY(b7); COPY(b9); restore_sigcontext() 49 COPY(a16); COPY(a17); COPY(a18); COPY(a19); restore_sigcontext() 50 COPY(a20); COPY(a21); COPY(a22); COPY(a23); restore_sigcontext() 51 COPY(a24); COPY(a25); COPY(a26); COPY(a27); restore_sigcontext() 52 COPY(a28); COPY(a29); COPY(a30); COPY(a31); restore_sigcontext() 53 COPY(b16); COPY(b17); COPY(b18); COPY(b19); restore_sigcontext() 54 COPY(b20); COPY(b21); COPY(b22); COPY(b23); restore_sigcontext() 55 COPY(b24); COPY(b25); COPY(b26); COPY(b27); restore_sigcontext() 56 COPY(b28); COPY(b29); COPY(b30); COPY(b31); restore_sigcontext() 58 COPY(csr); COPY(pc); restore_sigcontext() 60 #undef COPY restore_sigcontext() macro 108 #define COPY(x) (err |= __put_user(regs->x, &sc->sc_##x)) setup_sigcontext() macro 110 COPY(sp); COPY(a4); COPY(b4); COPY(a6); COPY(b6); COPY(a8); COPY(b8); setup_sigcontext() 111 COPY(a0); COPY(a1); COPY(a2); COPY(a3); COPY(a5); COPY(a7); COPY(a9); setup_sigcontext() 112 COPY(b0); COPY(b1); COPY(b2); COPY(b3); COPY(b5); COPY(b7); COPY(b9); setup_sigcontext() 114 COPY(a16); COPY(a17); COPY(a18); COPY(a19); setup_sigcontext() 115 COPY(a20); COPY(a21); COPY(a22); COPY(a23); setup_sigcontext() 116 COPY(a24); COPY(a25); COPY(a26); COPY(a27); setup_sigcontext() 117 COPY(a28); COPY(a29); COPY(a30); COPY(a31); setup_sigcontext() 118 COPY(b16); COPY(b17); COPY(b18); COPY(b19); setup_sigcontext() 119 COPY(b20); COPY(b21); COPY(b22); COPY(b23); setup_sigcontext() 120 COPY(b24); COPY(b25); COPY(b26); COPY(b27); setup_sigcontext() 121 COPY(b28); COPY(b29); COPY(b30); COPY(b31); setup_sigcontext() 123 COPY(csr); COPY(pc); setup_sigcontext() 125 #undef COPY setup_sigcontext() macro 169 #define COPY(x) (err |= __put_user(x, retcode++)) setup_rt_frame() macro 171 COPY(0x0000002AUL | (__NR_rt_sigreturn << 7)); setup_rt_frame() 173 COPY(0x10000000UL); /* SWE */ setup_rt_frame() 174 COPY(0x00006000UL); /* NOP 4 */ setup_rt_frame() 175 COPY(0x00006000UL); /* NOP 4 */ setup_rt_frame() 176 COPY(0x00006000UL); /* NOP 4 */ setup_rt_frame() 177 COPY(0x00006000UL); /* NOP 4 */ setup_rt_frame() 178 COPY(0x00006000UL); /* NOP 4 */ setup_rt_frame() 179 COPY(0x00006000UL); /* NOP 4 */ setup_rt_frame() 180 COPY(0x00006000UL); /* NOP 4 */ setup_rt_frame() 182 #undef COPY setup_rt_frame() macro
|
/linux-4.1.27/arch/sh/kernel/ |
H A D | signal_64.c | 211 #define COPY(x) err |= __get_user(regs->x, &sc->sc_##x) restore_sigcontext() macro 213 COPY(regs[0]); COPY(regs[1]); COPY(regs[2]); COPY(regs[3]); restore_sigcontext() 214 COPY(regs[4]); COPY(regs[5]); COPY(regs[6]); COPY(regs[7]); restore_sigcontext() 215 COPY(regs[8]); COPY(regs[9]); COPY(regs[10]); COPY(regs[11]); restore_sigcontext() 216 COPY(regs[12]); COPY(regs[13]); COPY(regs[14]); COPY(regs[15]); restore_sigcontext() 217 COPY(regs[16]); COPY(regs[17]); COPY(regs[18]); COPY(regs[19]); restore_sigcontext() 218 COPY(regs[20]); COPY(regs[21]); COPY(regs[22]); COPY(regs[23]); restore_sigcontext() 219 COPY(regs[24]); COPY(regs[25]); COPY(regs[26]); COPY(regs[27]); restore_sigcontext() 220 COPY(regs[28]); COPY(regs[29]); COPY(regs[30]); COPY(regs[31]); restore_sigcontext() 221 COPY(regs[32]); COPY(regs[33]); COPY(regs[34]); COPY(regs[35]); restore_sigcontext() 222 COPY(regs[36]); COPY(regs[37]); COPY(regs[38]); COPY(regs[39]); restore_sigcontext() 223 COPY(regs[40]); COPY(regs[41]); COPY(regs[42]); COPY(regs[43]); restore_sigcontext() 224 COPY(regs[44]); COPY(regs[45]); COPY(regs[46]); COPY(regs[47]); restore_sigcontext() 225 COPY(regs[48]); COPY(regs[49]); COPY(regs[50]); COPY(regs[51]); restore_sigcontext() 226 COPY(regs[52]); COPY(regs[53]); COPY(regs[54]); COPY(regs[55]); restore_sigcontext() 227 COPY(regs[56]); COPY(regs[57]); COPY(regs[58]); COPY(regs[59]); restore_sigcontext() 228 COPY(regs[60]); COPY(regs[61]); COPY(regs[62]); restore_sigcontext() 229 COPY(tregs[0]); COPY(tregs[1]); COPY(tregs[2]); COPY(tregs[3]); restore_sigcontext() 230 COPY(tregs[4]); COPY(tregs[5]); COPY(tregs[6]); COPY(tregs[7]); restore_sigcontext() 240 COPY(pc); restore_sigcontext() 242 #undef COPY restore_sigcontext() macro 333 #define COPY(x) err |= __put_user(regs->x, &sc->sc_##x) setup_sigcontext() macro 335 COPY(regs[0]); COPY(regs[1]); COPY(regs[2]); COPY(regs[3]); setup_sigcontext() 336 COPY(regs[4]); COPY(regs[5]); COPY(regs[6]); COPY(regs[7]); setup_sigcontext() 337 COPY(regs[8]); COPY(regs[9]); COPY(regs[10]); COPY(regs[11]); setup_sigcontext() 338 COPY(regs[12]); COPY(regs[13]); COPY(regs[14]); COPY(regs[15]); setup_sigcontext() 339 COPY(regs[16]); COPY(regs[17]); COPY(regs[18]); COPY(regs[19]); setup_sigcontext() 340 COPY(regs[20]); COPY(regs[21]); COPY(regs[22]); COPY(regs[23]); setup_sigcontext() 341 COPY(regs[24]); COPY(regs[25]); COPY(regs[26]); COPY(regs[27]); setup_sigcontext() 342 COPY(regs[28]); COPY(regs[29]); COPY(regs[30]); COPY(regs[31]); setup_sigcontext() 343 COPY(regs[32]); COPY(regs[33]); COPY(regs[34]); COPY(regs[35]); setup_sigcontext() 344 COPY(regs[36]); COPY(regs[37]); COPY(regs[38]); COPY(regs[39]); setup_sigcontext() 345 COPY(regs[40]); COPY(regs[41]); COPY(regs[42]); COPY(regs[43]); setup_sigcontext() 346 COPY(regs[44]); COPY(regs[45]); COPY(regs[46]); COPY(regs[47]); setup_sigcontext() 347 COPY(regs[48]); COPY(regs[49]); COPY(regs[50]); COPY(regs[51]); setup_sigcontext() 348 COPY(regs[52]); COPY(regs[53]); COPY(regs[54]); COPY(regs[55]); setup_sigcontext() 349 COPY(regs[56]); COPY(regs[57]); COPY(regs[58]); COPY(regs[59]); setup_sigcontext() 350 COPY(regs[60]); COPY(regs[61]); COPY(regs[62]); setup_sigcontext() 351 COPY(tregs[0]); COPY(tregs[1]); COPY(tregs[2]); COPY(tregs[3]); setup_sigcontext() 352 COPY(tregs[4]); COPY(tregs[5]); COPY(tregs[6]); COPY(tregs[7]); setup_sigcontext() 353 COPY(sr); COPY(pc); setup_sigcontext() 355 #undef COPY setup_sigcontext() macro
|
H A D | signal_32.c | 118 #define COPY(x) err |= __get_user(regs->x, &sc->sc_##x) restore_sigcontext() macro 119 COPY(regs[1]); restore_sigcontext() 120 COPY(regs[2]); COPY(regs[3]); restore_sigcontext() 121 COPY(regs[4]); COPY(regs[5]); restore_sigcontext() 122 COPY(regs[6]); COPY(regs[7]); restore_sigcontext() 123 COPY(regs[8]); COPY(regs[9]); restore_sigcontext() 124 COPY(regs[10]); COPY(regs[11]); restore_sigcontext() 125 COPY(regs[12]); COPY(regs[13]); restore_sigcontext() 126 COPY(regs[14]); COPY(regs[15]); restore_sigcontext() 127 COPY(gbr); COPY(mach); restore_sigcontext() 128 COPY(macl); COPY(pr); restore_sigcontext() 129 COPY(sr); COPY(pc); restore_sigcontext() 130 #undef COPY restore_sigcontext() macro 222 #define COPY(x) err |= __put_user(regs->x, &sc->sc_##x) setup_sigcontext() macro 223 COPY(regs[0]); COPY(regs[1]); setup_sigcontext() 224 COPY(regs[2]); COPY(regs[3]); setup_sigcontext() 225 COPY(regs[4]); COPY(regs[5]); setup_sigcontext() 226 COPY(regs[6]); COPY(regs[7]); setup_sigcontext() 227 COPY(regs[8]); COPY(regs[9]); setup_sigcontext() 228 COPY(regs[10]); COPY(regs[11]); setup_sigcontext() 229 COPY(regs[12]); COPY(regs[13]); setup_sigcontext() 230 COPY(regs[14]); COPY(regs[15]); setup_sigcontext() 231 COPY(gbr); COPY(mach); setup_sigcontext() 232 COPY(macl); COPY(pr); setup_sigcontext() 233 COPY(sr); COPY(pc); setup_sigcontext() 234 #undef COPY setup_sigcontext() macro
|
/linux-4.1.27/arch/microblaze/kernel/ |
H A D | signal.c | 64 #define COPY(x) {err |= __get_user(regs->x, &sc->regs.x); } restore_sigcontext() macro 65 COPY(r0); restore_sigcontext() 66 COPY(r1); restore_sigcontext() 67 COPY(r2); COPY(r3); COPY(r4); COPY(r5); restore_sigcontext() 68 COPY(r6); COPY(r7); COPY(r8); COPY(r9); restore_sigcontext() 69 COPY(r10); COPY(r11); COPY(r12); COPY(r13); restore_sigcontext() 70 COPY(r14); COPY(r15); COPY(r16); COPY(r17); restore_sigcontext() 71 COPY(r18); COPY(r19); COPY(r20); COPY(r21); restore_sigcontext() 72 COPY(r22); COPY(r23); COPY(r24); COPY(r25); restore_sigcontext() 73 COPY(r26); COPY(r27); COPY(r28); COPY(r29); restore_sigcontext() 74 COPY(r30); COPY(r31); restore_sigcontext() 75 COPY(pc); COPY(ear); COPY(esr); COPY(fsr); restore_sigcontext() 76 #undef COPY restore_sigcontext() macro 125 #define COPY(x) {err |= __put_user(regs->x, &sc->regs.x); } setup_sigcontext() macro 126 COPY(r0); setup_sigcontext() 127 COPY(r1); setup_sigcontext() 128 COPY(r2); COPY(r3); COPY(r4); COPY(r5); setup_sigcontext() 129 COPY(r6); COPY(r7); COPY(r8); COPY(r9); setup_sigcontext() 130 COPY(r10); COPY(r11); COPY(r12); COPY(r13); setup_sigcontext() 131 COPY(r14); COPY(r15); COPY(r16); COPY(r17); setup_sigcontext() 132 COPY(r18); COPY(r19); COPY(r20); COPY(r21); setup_sigcontext() 133 COPY(r22); COPY(r23); COPY(r24); COPY(r25); setup_sigcontext() 134 COPY(r26); COPY(r27); COPY(r28); COPY(r29); setup_sigcontext() 135 COPY(r30); COPY(r31); setup_sigcontext() 136 COPY(pc); COPY(ear); COPY(esr); COPY(fsr); setup_sigcontext() 137 #undef COPY setup_sigcontext() macro
|
/linux-4.1.27/arch/m32r/kernel/ |
H A D | signal.c | 53 #define COPY(x) err |= __get_user(regs->x, &sc->sc_##x) restore_sigcontext() macro 54 COPY(r4); restore_sigcontext() 55 COPY(r5); restore_sigcontext() 56 COPY(r6); restore_sigcontext() 57 COPY(pt_regs); restore_sigcontext() 58 /* COPY(r0); Skip r0 */ restore_sigcontext() 59 COPY(r1); restore_sigcontext() 60 COPY(r2); restore_sigcontext() 61 COPY(r3); restore_sigcontext() 62 COPY(r7); restore_sigcontext() 63 COPY(r8); restore_sigcontext() 64 COPY(r9); restore_sigcontext() 65 COPY(r10); restore_sigcontext() 66 COPY(r11); restore_sigcontext() 67 COPY(r12); restore_sigcontext() 68 COPY(acc0h); restore_sigcontext() 69 COPY(acc0l); restore_sigcontext() 70 COPY(acc1h); /* ISA_DSP_LEVEL2 only */ restore_sigcontext() 71 COPY(acc1l); /* ISA_DSP_LEVEL2 only */ restore_sigcontext() 72 COPY(psw); restore_sigcontext() 73 COPY(bpc); restore_sigcontext() 74 COPY(bbpsw); restore_sigcontext() 75 COPY(bbpc); restore_sigcontext() 76 COPY(spu); restore_sigcontext() 77 COPY(fp); restore_sigcontext() 78 COPY(lr); restore_sigcontext() 79 COPY(spi); restore_sigcontext() 80 #undef COPY restore_sigcontext() macro 127 #define COPY(x) err |= __put_user(regs->x, &sc->sc_##x) setup_sigcontext() macro 128 COPY(r4); setup_sigcontext() 129 COPY(r5); setup_sigcontext() 130 COPY(r6); setup_sigcontext() 131 COPY(pt_regs); setup_sigcontext() 132 COPY(r0); setup_sigcontext() 133 COPY(r1); setup_sigcontext() 134 COPY(r2); setup_sigcontext() 135 COPY(r3); setup_sigcontext() 136 COPY(r7); setup_sigcontext() 137 COPY(r8); setup_sigcontext() 138 COPY(r9); setup_sigcontext() 139 COPY(r10); setup_sigcontext() 140 COPY(r11); setup_sigcontext() 141 COPY(r12); setup_sigcontext() 142 COPY(acc0h); setup_sigcontext() 143 COPY(acc0l); setup_sigcontext() 144 COPY(acc1h); /* ISA_DSP_LEVEL2 only */ setup_sigcontext() 145 COPY(acc1l); /* ISA_DSP_LEVEL2 only */ setup_sigcontext() 146 COPY(psw); setup_sigcontext() 147 COPY(bpc); setup_sigcontext() 148 COPY(bbpsw); setup_sigcontext() 149 COPY(bbpc); setup_sigcontext() 150 COPY(spu); setup_sigcontext() 151 COPY(fp); setup_sigcontext() 152 COPY(lr); setup_sigcontext() 153 COPY(spi); setup_sigcontext() 154 #undef COPY setup_sigcontext() macro
|
/linux-4.1.27/arch/mn10300/kernel/ |
H A D | signal.c | 48 #define COPY(x) err |= __get_user(regs->x, &sc->x) restore_sigcontext() macro 49 COPY(d1); COPY(d2); COPY(d3); restore_sigcontext() 50 COPY(a0); COPY(a1); COPY(a2); COPY(a3); restore_sigcontext() 51 COPY(e0); COPY(e1); COPY(e2); COPY(e3); restore_sigcontext() 52 COPY(e4); COPY(e5); COPY(e6); COPY(e7); restore_sigcontext() 53 COPY(lar); COPY(lir); restore_sigcontext() 54 COPY(mdr); COPY(mdrq); restore_sigcontext() 55 COPY(mcvf); COPY(mcrl); COPY(mcrh); restore_sigcontext() 56 COPY(sp); COPY(pc); restore_sigcontext() 57 #undef COPY restore_sigcontext() macro 163 #define COPY(x) err |= __put_user(regs->x, &sc->x) setup_sigcontext() macro 164 COPY(d0); COPY(d1); COPY(d2); COPY(d3); setup_sigcontext() 165 COPY(a0); COPY(a1); COPY(a2); COPY(a3); setup_sigcontext() 166 COPY(e0); COPY(e1); COPY(e2); COPY(e3); setup_sigcontext() 167 COPY(e4); COPY(e5); COPY(e6); COPY(e7); setup_sigcontext() 168 COPY(lar); COPY(lir); setup_sigcontext() 169 COPY(mdr); COPY(mdrq); setup_sigcontext() 170 COPY(mcvf); COPY(mcrl); COPY(mcrh); setup_sigcontext() 171 COPY(sp); COPY(epsw); COPY(pc); setup_sigcontext() 172 #undef COPY setup_sigcontext() macro
|
/linux-4.1.27/arch/avr32/kernel/ |
H A D | signal.c | 36 #define COPY(x) err |= __get_user(regs->x, &sc->x) restore_sigcontext() macro 37 COPY(sr); restore_sigcontext() 38 COPY(pc); restore_sigcontext() 39 COPY(lr); restore_sigcontext() 40 COPY(sp); restore_sigcontext() 41 COPY(r12); restore_sigcontext() 42 COPY(r11); restore_sigcontext() 43 COPY(r10); restore_sigcontext() 44 COPY(r9); restore_sigcontext() 45 COPY(r8); restore_sigcontext() 46 COPY(r7); restore_sigcontext() 47 COPY(r6); restore_sigcontext() 48 COPY(r5); restore_sigcontext() 49 COPY(r4); restore_sigcontext() 50 COPY(r3); restore_sigcontext() 51 COPY(r2); restore_sigcontext() 52 COPY(r1); restore_sigcontext() 53 COPY(r0); restore_sigcontext() 54 #undef COPY restore_sigcontext() macro 106 #define COPY(x) err |= __put_user(regs->x, &sc->x) setup_sigcontext() macro 107 COPY(sr); setup_sigcontext() 108 COPY(pc); setup_sigcontext() 109 COPY(lr); setup_sigcontext() 110 COPY(sp); setup_sigcontext() 111 COPY(r12); setup_sigcontext() 112 COPY(r11); setup_sigcontext() 113 COPY(r10); setup_sigcontext() 114 COPY(r9); setup_sigcontext() 115 COPY(r8); setup_sigcontext() 116 COPY(r7); setup_sigcontext() 117 COPY(r6); setup_sigcontext() 118 COPY(r5); setup_sigcontext() 119 COPY(r4); setup_sigcontext() 120 COPY(r3); setup_sigcontext() 121 COPY(r2); setup_sigcontext() 122 COPY(r1); setup_sigcontext() 123 COPY(r0); setup_sigcontext() 124 #undef COPY setup_sigcontext() macro
|
/linux-4.1.27/arch/m68k/atari/ |
H A D | time.c | 65 #define COPY(v) val->v=(mste_rtc.v & 0xf) mste_read() macro 67 COPY(sec_ones) ; COPY(sec_tens) ; COPY(min_ones) ; mste_read() 68 COPY(min_tens) ; COPY(hr_ones) ; COPY(hr_tens) ; mste_read() 69 COPY(weekday) ; COPY(day_ones) ; COPY(day_tens) ; mste_read() 70 COPY(mon_ones) ; COPY(mon_tens) ; COPY(year_ones) ; mste_read() 71 COPY(year_tens) ; mste_read() 74 #undef COPY mste_read() macro 79 #define COPY(v) mste_rtc.v=val->v mste_write() macro 81 COPY(sec_ones) ; COPY(sec_tens) ; COPY(min_ones) ; mste_write() 82 COPY(min_tens) ; COPY(hr_ones) ; COPY(hr_tens) ; mste_write() 83 COPY(weekday) ; COPY(day_ones) ; COPY(day_tens) ; mste_write() 84 COPY(mon_ones) ; COPY(mon_tens) ; COPY(year_ones) ; mste_write() 85 COPY(year_tens) ; mste_write() 88 #undef COPY mste_write() macro
|
/linux-4.1.27/arch/cris/include/arch-v10/arch/ |
H A D | uaccess.h | 156 #define __asm_copy_user_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 158 COPY \ 179 #define __asm_copy_from_user_2x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 182 "2: move.w $r9,[%0+]\n" COPY, \ 198 #define __asm_copy_from_user_4x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 201 "2: move.d $r9,[%0+]\n" COPY, \ 217 #define __asm_copy_from_user_6x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 220 "4: move.w $r9,[%0+]\n" COPY, \ 236 #define __asm_copy_from_user_8x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 239 "4: move.d $r9,[%0+]\n" COPY, \ 255 #define __asm_copy_from_user_10x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 258 "6: move.w $r9,[%0+]\n" COPY, \ 274 #define __asm_copy_from_user_12x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 277 "6: move.d $r9,[%0+]\n" COPY, \ 293 #define __asm_copy_from_user_14x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 296 "8: move.w $r9,[%0+]\n" COPY, \ 312 #define __asm_copy_from_user_16x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 315 "8: move.d $r9,[%0+]\n" COPY, \ 323 #define __asm_copy_from_user_20x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 326 "10: move.d $r9,[%0+]\n" COPY, \ 334 #define __asm_copy_from_user_24x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 337 "12: move.d $r9,[%0+]\n" COPY, \ 354 #define __asm_copy_to_user_2x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 357 " move.w $r9,[%0+]\n2:\n" COPY, \ 371 #define __asm_copy_to_user_4x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 374 " move.d $r9,[%0+]\n2:\n" COPY, \ 388 #define __asm_copy_to_user_6x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 391 " move.w $r9,[%0+]\n4:\n" COPY, \ 405 #define __asm_copy_to_user_8x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 408 " move.d $r9,[%0+]\n4:\n" COPY, \ 422 #define __asm_copy_to_user_10x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 425 " move.w $r9,[%0+]\n6:\n" COPY, \ 439 #define __asm_copy_to_user_12x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 442 " move.d $r9,[%0+]\n6:\n" COPY, \ 456 #define __asm_copy_to_user_14x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 459 " move.w $r9,[%0+]\n8:\n" COPY, \ 473 #define __asm_copy_to_user_16x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 476 " move.d $r9,[%0+]\n8:\n" COPY, \ 483 #define __asm_copy_to_user_20x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 486 " move.d $r9,[%0+]\n10:\n" COPY, \ 493 #define __asm_copy_to_user_24x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 496 " move.d $r9,[%0+]\n12:\n" COPY, \
|
/linux-4.1.27/arch/cris/include/arch-v32/arch/ |
H A D | uaccess.h | 162 #define __asm_copy_user_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 164 COPY \ 185 #define __asm_copy_from_user_2x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 187 COPY \ 208 #define __asm_copy_from_user_4x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 210 COPY \ 231 #define __asm_copy_from_user_6x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 233 COPY \ 253 #define __asm_copy_from_user_8x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 255 COPY \ 275 #define __asm_copy_from_user_10x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 277 COPY \ 297 #define __asm_copy_from_user_12x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 299 COPY \ 319 #define __asm_copy_from_user_14x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 321 COPY \ 341 #define __asm_copy_from_user_16x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 343 COPY \ 355 #define __asm_copy_from_user_20x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 357 COPY \ 369 #define __asm_copy_from_user_24x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 371 COPY \ 393 #define __asm_copy_to_user_2x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 395 COPY \ 414 #define __asm_copy_to_user_4x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 416 COPY \ 435 #define __asm_copy_to_user_6x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 437 COPY \ 455 #define __asm_copy_to_user_8x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 457 COPY \ 475 #define __asm_copy_to_user_10x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 477 COPY \ 495 #define __asm_copy_to_user_12x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 497 COPY \ 515 #define __asm_copy_to_user_14x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 517 COPY \ 535 #define __asm_copy_to_user_16x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 537 COPY \ 548 #define __asm_copy_to_user_20x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 550 COPY \ 561 #define __asm_copy_to_user_24x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 563 COPY \
|
/linux-4.1.27/arch/xtensa/boot/lib/ |
H A D | Makefile | 18 quiet_cmd_copy_zlib = COPY $@
|
/linux-4.1.27/arch/ia64/lib/ |
H A D | memcpy.S | 275 #define COPY(shift,index) \ define 292 COPY(0, 1) /* no point special casing this---it doesn't go any faster without shrp */ 293 COPY(8, 0) 294 COPY(16, 0) 295 COPY(24, 0) 296 COPY(32, 0) 297 COPY(40, 0) 298 COPY(48, 0) 299 COPY(56, 0)
|
/linux-4.1.27/arch/metag/lib/ |
H A D | usercopy.c | 27 #define __asm_copy_user_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 29 COPY \ 53 #define __asm_copy_to_user_2x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 57 "2: SETW [%0++],D1Ar1\n" COPY, \ 72 #define __asm_copy_to_user_4x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 76 "2: SETD [%0++],D1Ar1\n" COPY, \ 91 #define __asm_copy_to_user_6x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 95 "4: SETW [%0++],D1Ar1\n" COPY, \ 110 #define __asm_copy_to_user_8x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 114 "4: SETD [%0++],D1Ar1\n" COPY, \ 129 #define __asm_copy_to_user_10x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 133 "6: SETW [%0++],D1Ar1\n" COPY, \ 148 #define __asm_copy_to_user_12x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 152 "6: SETD [%0++],D1Ar1\n" COPY, \ 166 #define __asm_copy_to_user_14x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 170 "8: SETW [%0++],D1Ar1\n" COPY, \ 185 #define __asm_copy_to_user_16x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 189 "8: SETD [%0++],D1Ar1\n" COPY, \ 624 #define __asm_copy_from_user_2x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 627 "2: SETW [%0++],D1Ar1\n" COPY, \ 643 #define __asm_copy_from_user_4x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 646 "2: SETD [%0++],D1Ar1\n" COPY, \ 662 #define __asm_copy_from_user_6x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 665 "4: SETW [%0++],D1Ar1\n" COPY, \ 681 #define __asm_copy_from_user_8x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 684 "4: SETD [%0++],D1Ar1\n" COPY, \ 700 #define __asm_copy_from_user_10x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 703 "6: SETW [%0++],D1Ar1\n" COPY, \ 719 #define __asm_copy_from_user_12x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 722 "6: SETD [%0++],D1Ar1\n" COPY, \ 738 #define __asm_copy_from_user_14x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 741 "8: SETW [%0++],D1Ar1\n" COPY, \ 757 #define __asm_copy_from_user_16x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 760 "8: SETD [%0++],D1Ar1\n" COPY, \
|
/linux-4.1.27/arch/xtensa/kernel/ |
H A D | signal.c | 141 #define COPY(x) err |= __put_user(regs->x, &sc->sc_##x) setup_sigcontext() macro 142 COPY(pc); setup_sigcontext() 143 COPY(ps); setup_sigcontext() 144 COPY(lbeg); setup_sigcontext() 145 COPY(lend); setup_sigcontext() 146 COPY(lcount); setup_sigcontext() 147 COPY(sar); setup_sigcontext() 148 #undef COPY setup_sigcontext() macro 181 #define COPY(x) err |= __get_user(regs->x, &sc->sc_##x) restore_sigcontext() macro 182 COPY(pc); restore_sigcontext() 183 COPY(lbeg); restore_sigcontext() 184 COPY(lend); restore_sigcontext() 185 COPY(lcount); restore_sigcontext() 186 COPY(sar); restore_sigcontext() 187 #undef COPY restore_sigcontext() macro
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | signal.c | 46 #define COPY(x) do { \ macro 82 COPY(di); COPY(si); COPY(bp); COPY(sp); COPY(bx); restore_sigcontext() 83 COPY(dx); COPY(cx); COPY(ip); COPY(ax); restore_sigcontext() 86 COPY(r8); restore_sigcontext() 87 COPY(r9); restore_sigcontext() 88 COPY(r10); restore_sigcontext() 89 COPY(r11); restore_sigcontext() 90 COPY(r12); restore_sigcontext() 91 COPY(r13); restore_sigcontext() 92 COPY(r14); restore_sigcontext() 93 COPY(r15); restore_sigcontext()
|
/linux-4.1.27/arch/x86/ia32/ |
H A D | ia32_signal.c | 141 #define COPY(x) { \ macro 185 COPY(di); COPY(si); COPY(bp); COPY(sp); COPY(bx); ia32_restore_sigcontext() 186 COPY(dx); COPY(cx); COPY(ip); COPY(ax); ia32_restore_sigcontext()
|
/linux-4.1.27/arch/microblaze/lib/ |
H A D | uaccess_old.S | 106 #define COPY(offset) \ define 143 COPY(0x00 + offset);\ 144 COPY(0x20 + offset);\ 145 COPY(0x40 + offset);\ 146 COPY(0x60 + offset);
|
/linux-4.1.27/tools/perf/scripts/python/ |
H A D | export-to-postgresql.py | 20 # Need to access PostgreSQL C library directly to use COPY FROM STDIN 237 sql = "COPY " + table_name + " FROM '" + file.name + "' (FORMAT 'binary')" 240 # Use COPY FROM STDIN because security may prevent postgres from accessing the files directly 244 raise Exception("COPY FROM STDIN PQconnectdb failed") 247 sql = "COPY " + table_name + " FROM STDIN (FORMAT 'binary')" 250 raise Exception("COPY FROM STDIN PQexec failed") 255 raise Exception("COPY FROM STDIN PQputCopyData failed, error " + str(ret)) 259 raise Exception("COPY FROM STDIN PQputCopyEnd failed, error " + str(ret))
|
/linux-4.1.27/drivers/cpufreq/ |
H A D | exynos4x12-cpufreq.c | 60 * clock divider for COPY, HPM, RESERVED 84 * clock divider for COPY, HPM, CORES
|
H A D | exynos4210-cpufreq.c | 48 * clock divider for COPY, HPM, RESERVED
|
H A D | exynos5250-cpufreq.c | 62 * clock divider for COPY, HPM, RESERVED
|
/linux-4.1.27/lib/zlib_inflate/ |
H A D | inflate.h | 30 COPY, /* i/o: waiting for input or output to copy stored block */ enumerator in enum:__anon14047 61 STORED -> COPY -> TYPE
|
H A D | inflate.c | 430 state->mode = COPY; zlib_inflate() 431 case COPY: zlib_inflate()
|
/linux-4.1.27/arch/hexagon/mm/ |
H A D | copy_from_user.S | 104 /* COPY FROM USER: only loads can fail */
|
H A D | copy_to_user.S | 79 /* COPY TO USER: only stores can fail */
|
/linux-4.1.27/drivers/scsi/fnic/ |
H A D | vnic_wq_copy.c | 89 printk(KERN_ERR "Failed to hook COPY WQ[%d] resource\n", index); vnic_wq_copy_alloc()
|
H A D | fnic_res.c | 303 /* CQ for each COPY WQ */ fnic_alloc_vnic_resources()
|
/linux-4.1.27/drivers/target/ |
H A D | target_core_xcopy.c | 496 * Honor destination port reservations for X-COPY PUSH emulation target_xcopy_setup_pt_port() 504 " cmd->se_lun->lun_sep for X-COPY data PUSH\n", target_xcopy_setup_pt_port() 518 * Honor source port reservation for X-COPY PULL emulation target_xcopy_setup_pt_port() 527 " cmd->se_lun->lun_sep for X-COPY data PULL\n", target_xcopy_setup_pt_port() 573 * X-COPY PUSH or X-COPY PULL based upon where the CDB was received. target_xcopy_setup_pt_cmd() 742 * core releases this memory on error during X-COPY WRITE I/O. target_xcopy_write_destination() 833 pr_debug("target_xcopy_do_work: Setting X-COPY GOOD status -> sending response\n"); target_xcopy_do_work() 841 pr_warn("target_xcopy_do_work: Setting X-COPY CHECK_CONDITION -> sending response\n"); target_xcopy_do_work()
|
/linux-4.1.27/drivers/usb/storage/ |
H A D | debug.c | 80 case COPY: what = "COPY"; break; usb_stor_show_command()
|
/linux-4.1.27/include/trace/events/ |
H A D | target.h | 35 scsi_opcode_name(COPY), \
|
H A D | scsi.h | 33 scsi_opcode_name(COPY), \
|
/linux-4.1.27/arch/powerpc/boot/ |
H A D | Makefile | 128 quiet_cmd_copy_zlib = COPY $@ 131 quiet_cmd_copy_zlibheader = COPY $@ 134 quiet_cmd_copy_zliblinuxheader = COPY $@ 146 quiet_cmd_copy_libfdt = COPY $@
|
/linux-4.1.27/drivers/usb/image/ |
H A D | microtek.c | 247 case COPY: what = "COPY"; break; mts_show_command()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
H A D | nouveau_bo.c | 853 OUT_RING (chan, 0x00000000 /* COPY */); nv98_bo_move_exec() 1113 { "COPY", 4, 0xb0b5, nve0_bo_move_copy, nve0_bo_move_init }, nouveau_bo_move_init() 1115 { "COPY", 4, 0xa0b5, nve0_bo_move_copy, nve0_bo_move_init }, nouveau_bo_move_init() 1119 { "COPY", 0, 0x85b5, nva3_bo_move_copy, nv50_bo_move_init }, nouveau_bo_move_init()
|
/linux-4.1.27/tools/lib/traceevent/ |
H A D | plugin_scsi.c | 31 #define COPY 0x18 macro
|
/linux-4.1.27/drivers/scsi/sym53c8xx_2/ |
H A D | sym_fw.c | 422 * COPY has TWO arguments. sym_fw_bind_script()
|
H A D | sym_defs.h | 538 * COPY (bytecount)
|
/linux-4.1.27/drivers/acpi/acpica/ |
H A D | utcopy.c | 492 /* Must COPY string and buffer contents */ acpi_ut_copy_esimple_to_isimple()
|
/linux-4.1.27/include/scsi/ |
H A D | scsi.h | 74 #define COPY 0x18 macro
|
/linux-4.1.27/drivers/scsi/ |
H A D | ncr53c8xx.c | 1418 ** "COPY" commands. 2110 ** COPY command with the DSA-register. 2631 ** COPY command with the DSA-register. 2856 ** COPY command with the DSA-register. 3563 ** COPY has TWO arguments. ncr_script_copy_and_bind() 7334 ** COPY(4) @(...p_phys), @(dsa) ncr_init_ccb() 7421 ** COPY @(tp->sval), @(sxfer) ncr_init_tcb() 7433 ** COPY @(tp->wval), @(scntl3) ncr_init_tcb() 7543 ** COPY @(lp->p_jump_ccb), @(temp) ncr_alloc_lcb()
|
H A D | ncr53c8xx.h | 1057 ** COPY (bytecount)
|
H A D | constants.c | 1171 "Copy Aborted", /* A: COPY or COMPARE was aborted */
|
H A D | in2000.c | 269 case COPY: is_dir_out()
|
/linux-4.1.27/drivers/scsi/aacraid/ |
H A D | aacraid.h | 871 u8 segment_number; /* Only used for COPY, COMPARE, or COPY AND VERIFY Commands */
|
/linux-4.1.27/drivers/misc/sgi-gru/ |
H A D | grukservices.c | 901 /* ---------------------- GRU DATA COPY FUNCTIONS ---------------------------*/
|
/linux-4.1.27/arch/ia64/kernel/ |
H A D | module.c | 129 N(COPY), N(LTOFF22X), N(LDXMOV), N(TPREL14),
|
/linux-4.1.27/drivers/staging/rts5208/ |
H A D | rtsx_scsi.c | 92 case COPY: scsi_show_command() 93 what = "COPY"; scsi_show_command()
|
/linux-4.1.27/drivers/video/fbdev/ |
H A D | skeletonfb.c | 502 * @rop: The raster operation. We can draw the rectangle with a COPY xxxfb_fillrect()
|
H A D | udlfb.c | 664 /* hardware has native COPY command (see libdlo), but not worth it for fbcon */ dlfb_ops_copyarea()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | init.c | 741 trace("COPY\t0x%04x[0x%02x] &= 0x%02x |= " init_copy()
|
/linux-4.1.27/drivers/gpu/drm/vmwgfx/ |
H A D | svga_reg.h | 1475 * Note that the source pixels for the COPY in this annotation are
|
/linux-4.1.27/drivers/media/v4l2-core/ |
H A D | videobuf2-core.c | 694 * For non-COPY timestamps, drop timestamp source bits __fill_v4l2_buffer() 1362 * Non-COPY timestamps and non-OUTPUT queues will get __fill_vb2_buffer()
|
/linux-4.1.27/drivers/scsi/arm/ |
H A D | acornscsi.c | 600 case CHANGE_DEFINITION: case COMPARE: case COPY: acornscsi_datadirection()
|
/linux-4.1.27/fs/cifs/ |
H A D | cifspdu.h | 2665 COPY (note support for copy across directories) - FUTURE, OPTIONAL
|
/linux-4.1.27/drivers/block/ |
H A D | DAC960.c | 4351 "COPY ABORTED", "ABORTED COMMAND", DAC960_V2_ReadWriteError()
|