uc_mcontext 10 arch/alpha/include/asm/ucontext.h struct sigcontext uc_mcontext; uc_mcontext 142 arch/alpha/kernel/signal.c [offsetof(struct rt_sigframe, uc.uc_mcontext) == 176 ? 1 : -1]; uc_mcontext 245 arch/alpha/kernel/signal.c if (restore_sigcontext(&frame->uc.uc_mcontext, regs)) uc_mcontext 390 arch/alpha/kernel/signal.c err |= setup_sigcontext(&frame->uc.uc_mcontext, regs, uc_mcontext 95 arch/arc/kernel/signal.c err = __copy_to_user(&(sf->uc.uc_mcontext.regs.scratch), &uregs.scratch, uc_mcontext 96 arch/arc/kernel/signal.c sizeof(sf->uc.uc_mcontext.regs.scratch)); uc_mcontext 110 arch/arc/kernel/signal.c &(sf->uc.uc_mcontext.regs.scratch), uc_mcontext 111 arch/arc/kernel/signal.c sizeof(sf->uc.uc_mcontext.regs.scratch)); uc_mcontext 22 arch/arm/include/asm/ucontext.h struct sigcontext uc_mcontext; uc_mcontext 184 arch/arm/kernel/signal.c err |= __copy_from_user(&context, &sf->uc.uc_mcontext, sizeof(context)); uc_mcontext 319 arch/arm/kernel/signal.c err |= __copy_to_user(&sf->uc.uc_mcontext, &context, sizeof(context)); uc_mcontext 41 arch/arm64/include/asm/signal32.h struct compat_sigcontext uc_mcontext; uc_mcontext 30 arch/arm64/include/uapi/asm/ucontext.h struct sigcontext uc_mcontext; uc_mcontext 70 arch/arm64/kernel/asm-offsets.c DEFINE(COMPAT_SIGFRAME_REGS_OFFSET, offsetof(struct compat_sigframe, uc.uc_mcontext.arm_r0)); uc_mcontext 71 arch/arm64/kernel/asm-offsets.c DEFINE(COMPAT_RT_SIGFRAME_REGS_OFFSET, offsetof(struct compat_rt_sigframe, sig.uc.uc_mcontext.arm_r0)); uc_mcontext 70 arch/arm64/kernel/signal.c sizeof(user->sigframe->uc.uc_mcontext.__reserved); uc_mcontext 73 arch/arm64/kernel/signal.c user->size = offsetof(struct rt_sigframe, uc.uc_mcontext.__reserved); uc_mcontext 327 arch/arm64/kernel/signal.c struct sigcontext __user *const sc = &sf->uc.uc_mcontext; uc_mcontext 494 arch/arm64/kernel/signal.c __get_user_error(regs->regs[i], &sf->uc.uc_mcontext.regs[i], uc_mcontext 496 arch/arm64/kernel/signal.c __get_user_error(regs->sp, &sf->uc.uc_mcontext.sp, err); uc_mcontext 497 arch/arm64/kernel/signal.c __get_user_error(regs->pc, &sf->uc.uc_mcontext.pc, err); uc_mcontext 498 arch/arm64/kernel/signal.c __get_user_error(regs->pstate, &sf->uc.uc_mcontext.pstate, err); uc_mcontext 616 arch/arm64/kernel/signal.c __put_user_error(regs->regs[i], &sf->uc.uc_mcontext.regs[i], uc_mcontext 618 arch/arm64/kernel/signal.c __put_user_error(regs->sp, &sf->uc.uc_mcontext.sp, err); uc_mcontext 619 arch/arm64/kernel/signal.c __put_user_error(regs->pc, &sf->uc.uc_mcontext.pc, err); uc_mcontext 620 arch/arm64/kernel/signal.c __put_user_error(regs->pstate, &sf->uc.uc_mcontext.pstate, err); uc_mcontext 622 arch/arm64/kernel/signal.c __put_user_error(current->thread.fault_address, &sf->uc.uc_mcontext.fault_address, err); uc_mcontext 198 arch/arm64/kernel/signal32.c __get_user_error(regs->regs[0], &sf->uc.uc_mcontext.arm_r0, err); uc_mcontext 199 arch/arm64/kernel/signal32.c __get_user_error(regs->regs[1], &sf->uc.uc_mcontext.arm_r1, err); uc_mcontext 200 arch/arm64/kernel/signal32.c __get_user_error(regs->regs[2], &sf->uc.uc_mcontext.arm_r2, err); uc_mcontext 201 arch/arm64/kernel/signal32.c __get_user_error(regs->regs[3], &sf->uc.uc_mcontext.arm_r3, err); uc_mcontext 202 arch/arm64/kernel/signal32.c __get_user_error(regs->regs[4], &sf->uc.uc_mcontext.arm_r4, err); uc_mcontext 203 arch/arm64/kernel/signal32.c __get_user_error(regs->regs[5], &sf->uc.uc_mcontext.arm_r5, err); uc_mcontext 204 arch/arm64/kernel/signal32.c __get_user_error(regs->regs[6], &sf->uc.uc_mcontext.arm_r6, err); uc_mcontext 205 arch/arm64/kernel/signal32.c __get_user_error(regs->regs[7], &sf->uc.uc_mcontext.arm_r7, err); uc_mcontext 206 arch/arm64/kernel/signal32.c __get_user_error(regs->regs[8], &sf->uc.uc_mcontext.arm_r8, err); uc_mcontext 207 arch/arm64/kernel/signal32.c __get_user_error(regs->regs[9], &sf->uc.uc_mcontext.arm_r9, err); uc_mcontext 208 arch/arm64/kernel/signal32.c __get_user_error(regs->regs[10], &sf->uc.uc_mcontext.arm_r10, err); uc_mcontext 209 arch/arm64/kernel/signal32.c __get_user_error(regs->regs[11], &sf->uc.uc_mcontext.arm_fp, err); uc_mcontext 210 arch/arm64/kernel/signal32.c __get_user_error(regs->regs[12], &sf->uc.uc_mcontext.arm_ip, err); uc_mcontext 211 arch/arm64/kernel/signal32.c __get_user_error(regs->compat_sp, &sf->uc.uc_mcontext.arm_sp, err); uc_mcontext 212 arch/arm64/kernel/signal32.c __get_user_error(regs->compat_lr, &sf->uc.uc_mcontext.arm_lr, err); uc_mcontext 213 arch/arm64/kernel/signal32.c __get_user_error(regs->pc, &sf->uc.uc_mcontext.arm_pc, err); uc_mcontext 214 arch/arm64/kernel/signal32.c __get_user_error(psr, &sf->uc.uc_mcontext.arm_cpsr, err); uc_mcontext 393 arch/arm64/kernel/signal32.c __put_user_error(regs->regs[0], &sf->uc.uc_mcontext.arm_r0, err); uc_mcontext 394 arch/arm64/kernel/signal32.c __put_user_error(regs->regs[1], &sf->uc.uc_mcontext.arm_r1, err); uc_mcontext 395 arch/arm64/kernel/signal32.c __put_user_error(regs->regs[2], &sf->uc.uc_mcontext.arm_r2, err); uc_mcontext 396 arch/arm64/kernel/signal32.c __put_user_error(regs->regs[3], &sf->uc.uc_mcontext.arm_r3, err); uc_mcontext 397 arch/arm64/kernel/signal32.c __put_user_error(regs->regs[4], &sf->uc.uc_mcontext.arm_r4, err); uc_mcontext 398 arch/arm64/kernel/signal32.c __put_user_error(regs->regs[5], &sf->uc.uc_mcontext.arm_r5, err); uc_mcontext 399 arch/arm64/kernel/signal32.c __put_user_error(regs->regs[6], &sf->uc.uc_mcontext.arm_r6, err); uc_mcontext 400 arch/arm64/kernel/signal32.c __put_user_error(regs->regs[7], &sf->uc.uc_mcontext.arm_r7, err); uc_mcontext 401 arch/arm64/kernel/signal32.c __put_user_error(regs->regs[8], &sf->uc.uc_mcontext.arm_r8, err); uc_mcontext 402 arch/arm64/kernel/signal32.c __put_user_error(regs->regs[9], &sf->uc.uc_mcontext.arm_r9, err); uc_mcontext 403 arch/arm64/kernel/signal32.c __put_user_error(regs->regs[10], &sf->uc.uc_mcontext.arm_r10, err); uc_mcontext 404 arch/arm64/kernel/signal32.c __put_user_error(regs->regs[11], &sf->uc.uc_mcontext.arm_fp, err); uc_mcontext 405 arch/arm64/kernel/signal32.c __put_user_error(regs->regs[12], &sf->uc.uc_mcontext.arm_ip, err); uc_mcontext 406 arch/arm64/kernel/signal32.c __put_user_error(regs->compat_sp, &sf->uc.uc_mcontext.arm_sp, err); uc_mcontext 407 arch/arm64/kernel/signal32.c __put_user_error(regs->compat_lr, &sf->uc.uc_mcontext.arm_lr, err); uc_mcontext 408 arch/arm64/kernel/signal32.c __put_user_error(regs->pc, &sf->uc.uc_mcontext.arm_pc, err); uc_mcontext 409 arch/arm64/kernel/signal32.c __put_user_error(psr, &sf->uc.uc_mcontext.arm_cpsr, err); uc_mcontext 411 arch/arm64/kernel/signal32.c __put_user_error((compat_ulong_t)0, &sf->uc.uc_mcontext.trap_no, err); uc_mcontext 414 arch/arm64/kernel/signal32.c FSR_WRITE_SHIFT, &sf->uc.uc_mcontext.error_code, err); uc_mcontext 415 arch/arm64/kernel/signal32.c __put_user_error(current->thread.fault_address, &sf->uc.uc_mcontext.fault_address, err); uc_mcontext 416 arch/arm64/kernel/signal32.c __put_user_error(set->sig[0], &sf->uc.uc_mcontext.oldmask, err); uc_mcontext 87 arch/c6x/kernel/signal.c if (restore_sigcontext(regs, &frame->uc.uc_mcontext)) uc_mcontext 157 arch/c6x/kernel/signal.c err |= __clear_user(&frame->uc, offsetof(struct ucontext, uc_mcontext)); uc_mcontext 159 arch/c6x/kernel/signal.c err |= setup_sigcontext(&frame->uc.uc_mcontext, regs, set->sig[0]); uc_mcontext 84 arch/csky/kernel/signal.c if (restore_sigcontext(regs, &frame->uc.uc_mcontext)) uc_mcontext 100 arch/csky/kernel/signal.c struct sigcontext __user *sc = &frame->uc.uc_mcontext; uc_mcontext 120 arch/h8300/kernel/signal.c if (restore_sigcontext(&frame->uc.uc_mcontext, &er0)) uc_mcontext 178 arch/h8300/kernel/signal.c err |= setup_sigcontext(&frame->uc.uc_mcontext, regs, set->sig[0]); uc_mcontext 117 arch/hexagon/kernel/signal.c err |= setup_sigcontext(regs, &frame->uc.uc_mcontext); uc_mcontext 241 arch/hexagon/kernel/signal.c if (restore_sigcontext(regs, &frame->uc.uc_mcontext)) uc_mcontext 6 arch/ia64/include/uapi/asm/ucontext.h struct sigcontext uc_mcontext; uc_mcontext 9 arch/ia64/include/uapi/asm/ucontext.h #define uc_link uc_mcontext.sc_gr[0] /* wrong type; nobody cares */ uc_mcontext 10 arch/ia64/include/uapi/asm/ucontext.h #define uc_sigmask uc_mcontext.sc_sigmask uc_mcontext 11 arch/ia64/include/uapi/asm/ucontext.h #define uc_stack uc_mcontext.sc_stack uc_mcontext 26 arch/m68k/include/asm/ucontext.h struct mcontext uc_mcontext; uc_mcontext 342 arch/m68k/kernel/signal.c uc->uc_mcontext.fpregs.f_fpcntl, 12)) uc_mcontext 346 arch/m68k/kernel/signal.c uc->uc_mcontext.fpregs.f_fpregs, 96)) uc_mcontext 384 arch/m68k/kernel/signal.c if (__copy_from_user(&fpregs, &uc->uc_mcontext.fpregs, uc_mcontext 491 arch/m68k/kernel/signal.c err |= copy_to_user(uc->uc_mcontext.fpregs.f_fpcntl, uc_mcontext 494 arch/m68k/kernel/signal.c err |= copy_to_user(uc->uc_mcontext.fpregs.f_fpregs, uc_mcontext 542 arch/m68k/kernel/signal.c err |= copy_to_user(&uc->uc_mcontext.fpregs, &fpregs, uc_mcontext 736 arch/m68k/kernel/signal.c greg_t __user *gregs = uc->uc_mcontext.gregs; uc_mcontext 743 arch/m68k/kernel/signal.c err = __get_user(temp, &uc->uc_mcontext.version); uc_mcontext 851 arch/m68k/kernel/signal.c greg_t __user *gregs = uc->uc_mcontext.gregs; uc_mcontext 854 arch/m68k/kernel/signal.c err |= __put_user(MCONTEXT_VERSION, &uc->uc_mcontext.version); uc_mcontext 102 arch/microblaze/kernel/signal.c if (restore_sigcontext(regs, &frame->uc.uc_mcontext, &rval)) uc_mcontext 179 arch/microblaze/kernel/signal.c err |= setup_sigcontext(&frame->uc.uc_mcontext, uc_mcontext 59 arch/mips/include/uapi/asm/ucontext.h struct sigcontext uc_mcontext; uc_mcontext 157 arch/mips/kernel/signal.c uc = container_of(sc, struct ucontext, uc_mcontext); uc_mcontext 677 arch/mips/kernel/signal.c sig = restore_sigcontext(regs, &frame->rs_uc.uc_mcontext); uc_mcontext 757 arch/mips/kernel/signal.c err |= setup_sigcontext(regs, &frame->rs_uc.uc_mcontext); uc_mcontext 938 arch/mips/kernel/signal.c offsetof(struct rt_sigframe, rs_uc.uc_mcontext))); uc_mcontext 43 arch/mips/kernel/signal_n32.c struct sigcontext uc_mcontext; uc_mcontext 70 arch/mips/kernel/signal_n32.c sig = restore_sigcontext(regs, &frame->rs_uc.uc_mcontext); uc_mcontext 110 arch/mips/kernel/signal_n32.c err |= setup_sigcontext(regs, &frame->rs_uc.uc_mcontext); uc_mcontext 41 arch/mips/kernel/signal_o32.c struct sigcontext32 uc_mcontext; uc_mcontext 170 arch/mips/kernel/signal_o32.c sig = restore_sigcontext32(regs, &frame->rs_uc.uc_mcontext); uc_mcontext 210 arch/mips/kernel/signal_o32.c err |= setup_sigcontext32(regs, &frame->rs_uc.uc_mcontext); uc_mcontext 90 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[0], &sf->uc.uc_mcontext.nds32_r0, err); uc_mcontext 91 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[1], &sf->uc.uc_mcontext.nds32_r1, err); uc_mcontext 92 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[2], &sf->uc.uc_mcontext.nds32_r2, err); uc_mcontext 93 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[3], &sf->uc.uc_mcontext.nds32_r3, err); uc_mcontext 94 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[4], &sf->uc.uc_mcontext.nds32_r4, err); uc_mcontext 95 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[5], &sf->uc.uc_mcontext.nds32_r5, err); uc_mcontext 96 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[6], &sf->uc.uc_mcontext.nds32_r6, err); uc_mcontext 97 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[7], &sf->uc.uc_mcontext.nds32_r7, err); uc_mcontext 98 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[8], &sf->uc.uc_mcontext.nds32_r8, err); uc_mcontext 99 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[9], &sf->uc.uc_mcontext.nds32_r9, err); uc_mcontext 100 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[10], &sf->uc.uc_mcontext.nds32_r10, err); uc_mcontext 101 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[11], &sf->uc.uc_mcontext.nds32_r11, err); uc_mcontext 102 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[12], &sf->uc.uc_mcontext.nds32_r12, err); uc_mcontext 103 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[13], &sf->uc.uc_mcontext.nds32_r13, err); uc_mcontext 104 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[14], &sf->uc.uc_mcontext.nds32_r14, err); uc_mcontext 105 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[15], &sf->uc.uc_mcontext.nds32_r15, err); uc_mcontext 106 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[16], &sf->uc.uc_mcontext.nds32_r16, err); uc_mcontext 107 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[17], &sf->uc.uc_mcontext.nds32_r17, err); uc_mcontext 108 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[18], &sf->uc.uc_mcontext.nds32_r18, err); uc_mcontext 109 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[19], &sf->uc.uc_mcontext.nds32_r19, err); uc_mcontext 110 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[20], &sf->uc.uc_mcontext.nds32_r20, err); uc_mcontext 111 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[21], &sf->uc.uc_mcontext.nds32_r21, err); uc_mcontext 112 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[22], &sf->uc.uc_mcontext.nds32_r22, err); uc_mcontext 113 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[23], &sf->uc.uc_mcontext.nds32_r23, err); uc_mcontext 114 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[24], &sf->uc.uc_mcontext.nds32_r24, err); uc_mcontext 115 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[25], &sf->uc.uc_mcontext.nds32_r25, err); uc_mcontext 117 arch/nds32/kernel/signal.c __get_user_error(regs->fp, &sf->uc.uc_mcontext.nds32_fp, err); uc_mcontext 118 arch/nds32/kernel/signal.c __get_user_error(regs->gp, &sf->uc.uc_mcontext.nds32_gp, err); uc_mcontext 119 arch/nds32/kernel/signal.c __get_user_error(regs->lp, &sf->uc.uc_mcontext.nds32_lp, err); uc_mcontext 120 arch/nds32/kernel/signal.c __get_user_error(regs->sp, &sf->uc.uc_mcontext.nds32_sp, err); uc_mcontext 121 arch/nds32/kernel/signal.c __get_user_error(regs->ipc, &sf->uc.uc_mcontext.nds32_ipc, err); uc_mcontext 123 arch/nds32/kernel/signal.c __get_user_error(regs->lc, &sf->uc.uc_mcontext.zol.nds32_lc, err); uc_mcontext 124 arch/nds32/kernel/signal.c __get_user_error(regs->le, &sf->uc.uc_mcontext.zol.nds32_le, err); uc_mcontext 125 arch/nds32/kernel/signal.c __get_user_error(regs->lb, &sf->uc.uc_mcontext.zol.nds32_lb, err); uc_mcontext 128 arch/nds32/kernel/signal.c err |= restore_sigcontext_fpu(regs, &sf->uc.uc_mcontext); uc_mcontext 176 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[0], &sf->uc.uc_mcontext.nds32_r0, err); uc_mcontext 177 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[1], &sf->uc.uc_mcontext.nds32_r1, err); uc_mcontext 178 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[2], &sf->uc.uc_mcontext.nds32_r2, err); uc_mcontext 179 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[3], &sf->uc.uc_mcontext.nds32_r3, err); uc_mcontext 180 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[4], &sf->uc.uc_mcontext.nds32_r4, err); uc_mcontext 181 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[5], &sf->uc.uc_mcontext.nds32_r5, err); uc_mcontext 182 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[6], &sf->uc.uc_mcontext.nds32_r6, err); uc_mcontext 183 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[7], &sf->uc.uc_mcontext.nds32_r7, err); uc_mcontext 184 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[8], &sf->uc.uc_mcontext.nds32_r8, err); uc_mcontext 185 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[9], &sf->uc.uc_mcontext.nds32_r9, err); uc_mcontext 186 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[10], &sf->uc.uc_mcontext.nds32_r10, err); uc_mcontext 187 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[11], &sf->uc.uc_mcontext.nds32_r11, err); uc_mcontext 188 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[12], &sf->uc.uc_mcontext.nds32_r12, err); uc_mcontext 189 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[13], &sf->uc.uc_mcontext.nds32_r13, err); uc_mcontext 190 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[14], &sf->uc.uc_mcontext.nds32_r14, err); uc_mcontext 191 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[15], &sf->uc.uc_mcontext.nds32_r15, err); uc_mcontext 192 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[16], &sf->uc.uc_mcontext.nds32_r16, err); uc_mcontext 193 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[17], &sf->uc.uc_mcontext.nds32_r17, err); uc_mcontext 194 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[18], &sf->uc.uc_mcontext.nds32_r18, err); uc_mcontext 195 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[19], &sf->uc.uc_mcontext.nds32_r19, err); uc_mcontext 196 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[20], &sf->uc.uc_mcontext.nds32_r20, err); uc_mcontext 198 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[21], &sf->uc.uc_mcontext.nds32_r21, err); uc_mcontext 199 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[22], &sf->uc.uc_mcontext.nds32_r22, err); uc_mcontext 200 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[23], &sf->uc.uc_mcontext.nds32_r23, err); uc_mcontext 201 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[24], &sf->uc.uc_mcontext.nds32_r24, err); uc_mcontext 202 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[25], &sf->uc.uc_mcontext.nds32_r25, err); uc_mcontext 203 arch/nds32/kernel/signal.c __put_user_error(regs->fp, &sf->uc.uc_mcontext.nds32_fp, err); uc_mcontext 204 arch/nds32/kernel/signal.c __put_user_error(regs->gp, &sf->uc.uc_mcontext.nds32_gp, err); uc_mcontext 205 arch/nds32/kernel/signal.c __put_user_error(regs->lp, &sf->uc.uc_mcontext.nds32_lp, err); uc_mcontext 206 arch/nds32/kernel/signal.c __put_user_error(regs->sp, &sf->uc.uc_mcontext.nds32_sp, err); uc_mcontext 207 arch/nds32/kernel/signal.c __put_user_error(regs->ipc, &sf->uc.uc_mcontext.nds32_ipc, err); uc_mcontext 209 arch/nds32/kernel/signal.c __put_user_error(regs->lc, &sf->uc.uc_mcontext.zol.nds32_lc, err); uc_mcontext 210 arch/nds32/kernel/signal.c __put_user_error(regs->le, &sf->uc.uc_mcontext.zol.nds32_le, err); uc_mcontext 211 arch/nds32/kernel/signal.c __put_user_error(regs->lb, &sf->uc.uc_mcontext.zol.nds32_lb, err); uc_mcontext 214 arch/nds32/kernel/signal.c err |= setup_sigcontext_fpu(regs, &sf->uc.uc_mcontext); uc_mcontext 217 arch/nds32/kernel/signal.c __put_user_error(current->thread.trap_no, &sf->uc.uc_mcontext.trap_no, uc_mcontext 220 arch/nds32/kernel/signal.c &sf->uc.uc_mcontext.error_code, err); uc_mcontext 222 arch/nds32/kernel/signal.c &sf->uc.uc_mcontext.fault_address, err); uc_mcontext 223 arch/nds32/kernel/signal.c __put_user_error(set->sig[0], &sf->uc.uc_mcontext.oldmask, err); uc_mcontext 42 arch/nios2/kernel/signal.c unsigned long *gregs = uc->uc_mcontext.gregs; uc_mcontext 48 arch/nios2/kernel/signal.c err = __get_user(temp, &uc->uc_mcontext.version); uc_mcontext 130 arch/nios2/kernel/signal.c unsigned long *gregs = uc->uc_mcontext.gregs; uc_mcontext 133 arch/nios2/kernel/signal.c err |= __put_user(MCONTEXT_VERSION, &uc->uc_mcontext.version); uc_mcontext 89 arch/openrisc/kernel/signal.c if (restore_sigcontext(regs, &frame->uc.uc_mcontext)) uc_mcontext 171 arch/openrisc/kernel/signal.c err |= setup_sigcontext(regs, &frame->uc.uc_mcontext); uc_mcontext 14 arch/parisc/include/asm/compat_ucontext.h struct compat_sigcontext uc_mcontext; uc_mcontext 9 arch/parisc/include/asm/ucontext.h struct sigcontext uc_mcontext; uc_mcontext 130 arch/parisc/kernel/signal.c &compat_frame->uc.uc_mcontext); uc_mcontext 132 arch/parisc/kernel/signal.c if (restore_sigcontext32(&compat_frame->uc.uc_mcontext, uc_mcontext 143 arch/parisc/kernel/signal.c &frame->uc.uc_mcontext); uc_mcontext 144 arch/parisc/kernel/signal.c if (restore_sigcontext(&frame->uc.uc_mcontext, regs)) uc_mcontext 257 arch/parisc/kernel/signal.c DBG(1,"setup_rt_frame: frame->uc.uc_mcontext = 0x%p\n", &compat_frame->uc.uc_mcontext); uc_mcontext 258 arch/parisc/kernel/signal.c err |= setup_sigcontext32(&compat_frame->uc.uc_mcontext, uc_mcontext 269 arch/parisc/kernel/signal.c DBG(1,"setup_rt_frame: frame->uc.uc_mcontext = 0x%p\n", &frame->uc.uc_mcontext); uc_mcontext 270 arch/parisc/kernel/signal.c err |= setup_sigcontext(&frame->uc.uc_mcontext, regs, in_syscall); uc_mcontext 18 arch/parisc/kernel/signal32.h struct compat_sigcontext uc_mcontext; uc_mcontext 33 arch/powerpc/include/uapi/asm/ucontext.h struct sigcontext uc_mcontext; /* last for extensibility */ uc_mcontext 37 arch/powerpc/include/uapi/asm/ucontext.h struct mcontext uc_mcontext; uc_mcontext 57 arch/powerpc/kernel/ppc32.h struct mcontext32 uc_mcontext; uc_mcontext 925 arch/powerpc/kernel/signal_32.c || __put_user(to_user_ptr(&rt_sf->uc.uc_mcontext), uc_mcontext 931 arch/powerpc/kernel/signal_32.c frame = &rt_sf->uc.uc_mcontext; uc_mcontext 942 arch/powerpc/kernel/signal_32.c tm_frame = &rt_sf->uc_transact.uc_mcontext; uc_mcontext 1114 arch/powerpc/kernel/signal_32.c ((unsigned long) &old_ctx->uc_mcontext & ~0xfUL); uc_mcontext 644 arch/powerpc/kernel/signal_64.c get_user(new_msr, &new_ctx->uc_mcontext.gp_regs[PT_MSR])) uc_mcontext 665 arch/powerpc/kernel/signal_64.c || setup_sigcontext(&old_ctx->uc_mcontext, current, 0, NULL, 0, uc_mcontext 693 arch/powerpc/kernel/signal_64.c if (restore_sigcontext(current, NULL, 0, &new_ctx->uc_mcontext)) uc_mcontext 764 arch/powerpc/kernel/signal_64.c if (__get_user(msr, &uc->uc_mcontext.gp_regs[PT_MSR])) uc_mcontext 776 arch/powerpc/kernel/signal_64.c if (restore_tm_sigcontexts(current, &uc->uc_mcontext, uc_mcontext 777 arch/powerpc/kernel/signal_64.c &uc_transact->uc_mcontext)) uc_mcontext 795 arch/powerpc/kernel/signal_64.c if (restore_sigcontext(current, NULL, 1, &uc->uc_mcontext)) uc_mcontext 848 arch/powerpc/kernel/signal_64.c err |= setup_tm_sigcontexts(&frame->uc.uc_mcontext, uc_mcontext 849 arch/powerpc/kernel/signal_64.c &frame->uc_transact.uc_mcontext, uc_mcontext 857 arch/powerpc/kernel/signal_64.c err |= setup_sigcontext(&frame->uc.uc_mcontext, tsk, ksig->sig, uc_mcontext 910 arch/powerpc/kernel/signal_64.c regs->gpr[4] = (unsigned long)&frame->uc.uc_mcontext; uc_mcontext 268 arch/powerpc/perf/callchain.c uregs = sigframe->uc.uc_mcontext.gp_regs; uc_mcontext 377 arch/powerpc/perf/callchain.c uc.uc_mcontext.mc_pad)) uc_mcontext 404 arch/powerpc/perf/callchain.c return regs == (unsigned long) &sf->uc.uc_mcontext; uc_mcontext 431 arch/powerpc/perf/callchain.c mctx = &rt_sf->uc.uc_mcontext; uc_mcontext 31 arch/riscv/include/uapi/asm/ucontext.h struct sigcontext uc_mcontext; uc_mcontext 113 arch/riscv/kernel/signal.c if (restore_sigcontext(regs, &frame->uc.uc_mcontext)) uc_mcontext 136 arch/riscv/kernel/signal.c struct sigcontext __user *sc = &frame->uc.uc_mcontext; uc_mcontext 24 arch/s390/include/uapi/asm/ucontext.h _sigregs uc_mcontext; uc_mcontext 35 arch/s390/include/uapi/asm/ucontext.h _sigregs uc_mcontext; uc_mcontext 80 arch/s390/kernel/compat_linux.h _sigregs32 uc_mcontext; uc_mcontext 213 arch/s390/kernel/compat_signal.c if (restore_sigregs32(regs, &frame->uc.uc_mcontext)) uc_mcontext 390 arch/s390/kernel/compat_signal.c save_sigregs32(regs, &frame->uc.uc_mcontext) || uc_mcontext 252 arch/s390/kernel/signal.c if (restore_sigregs(regs, &frame->uc.uc_mcontext)) uc_mcontext 418 arch/s390/kernel/signal.c save_sigregs(regs, &frame->uc.uc_mcontext) || uc_mcontext 201 arch/sh/kernel/signal_32.c if (restore_sigcontext(regs, &frame->uc.uc_mcontext, &r0)) uc_mcontext 350 arch/sh/kernel/signal_32.c err |= setup_sigcontext(&frame->uc.uc_mcontext, uc_mcontext 304 arch/sh/kernel/signal_64.c if (restore_sigcontext(regs, &frame->uc.uc_mcontext, &ret)) uc_mcontext 483 arch/sh/kernel/signal_64.c err |= setup_sigcontext(&frame->uc.uc_mcontext, uc_mcontext 529 arch/sh/kernel/signal_64.c regs->regs[REG_ARG3] = (unsigned long long)(unsigned long)(signed long)&frame->uc.uc_mcontext; uc_mcontext 68 arch/sparc/include/uapi/asm/uctx.h mcontext_t uc_mcontext; uc_mcontext 58 arch/sparc/kernel/signal_64.c grp = &ucp->uc_mcontext.mc_gregs; uc_mcontext 103 arch/sparc/kernel/signal_64.c err |= __get_user(fp, &(ucp->uc_mcontext.mc_fp)); uc_mcontext 104 arch/sparc/kernel/signal_64.c err |= __get_user(i7, &(ucp->uc_mcontext.mc_i7)); uc_mcontext 110 arch/sparc/kernel/signal_64.c err |= __get_user(fenab, &(ucp->uc_mcontext.mc_fpregs.mcfpu_enab)); uc_mcontext 116 arch/sparc/kernel/signal_64.c err |= __get_user(fprs, &(ucp->uc_mcontext.mc_fpregs.mcfpu_fprs)); uc_mcontext 119 arch/sparc/kernel/signal_64.c &(ucp->uc_mcontext.mc_fpregs.mcfpu_fregs), uc_mcontext 123 arch/sparc/kernel/signal_64.c ((unsigned long __user *)&(ucp->uc_mcontext.mc_fpregs.mcfpu_fregs))+16, uc_mcontext 126 arch/sparc/kernel/signal_64.c &(ucp->uc_mcontext.mc_fpregs.mcfpu_fsr)); uc_mcontext 128 arch/sparc/kernel/signal_64.c &(ucp->uc_mcontext.mc_fpregs.mcfpu_gsr)); uc_mcontext 162 arch/sparc/kernel/signal_64.c mcp = &ucp->uc_mcontext; uc_mcontext 154 arch/um/os-Linux/signal.c mcontext_t *mc = &uc->uc_mcontext; uc_mcontext 61 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_00, &sf->uc.uc_mcontext.regs.UCreg_00); uc_mcontext 62 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_01, &sf->uc.uc_mcontext.regs.UCreg_01); uc_mcontext 63 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_02, &sf->uc.uc_mcontext.regs.UCreg_02); uc_mcontext 64 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_03, &sf->uc.uc_mcontext.regs.UCreg_03); uc_mcontext 65 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_04, &sf->uc.uc_mcontext.regs.UCreg_04); uc_mcontext 66 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_05, &sf->uc.uc_mcontext.regs.UCreg_05); uc_mcontext 67 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_06, &sf->uc.uc_mcontext.regs.UCreg_06); uc_mcontext 68 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_07, &sf->uc.uc_mcontext.regs.UCreg_07); uc_mcontext 69 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_08, &sf->uc.uc_mcontext.regs.UCreg_08); uc_mcontext 70 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_09, &sf->uc.uc_mcontext.regs.UCreg_09); uc_mcontext 71 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_10, &sf->uc.uc_mcontext.regs.UCreg_10); uc_mcontext 72 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_11, &sf->uc.uc_mcontext.regs.UCreg_11); uc_mcontext 73 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_12, &sf->uc.uc_mcontext.regs.UCreg_12); uc_mcontext 74 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_13, &sf->uc.uc_mcontext.regs.UCreg_13); uc_mcontext 75 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_14, &sf->uc.uc_mcontext.regs.UCreg_14); uc_mcontext 76 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_15, &sf->uc.uc_mcontext.regs.UCreg_15); uc_mcontext 77 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_16, &sf->uc.uc_mcontext.regs.UCreg_16); uc_mcontext 78 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_17, &sf->uc.uc_mcontext.regs.UCreg_17); uc_mcontext 79 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_18, &sf->uc.uc_mcontext.regs.UCreg_18); uc_mcontext 80 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_19, &sf->uc.uc_mcontext.regs.UCreg_19); uc_mcontext 81 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_20, &sf->uc.uc_mcontext.regs.UCreg_20); uc_mcontext 82 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_21, &sf->uc.uc_mcontext.regs.UCreg_21); uc_mcontext 83 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_22, &sf->uc.uc_mcontext.regs.UCreg_22); uc_mcontext 84 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_23, &sf->uc.uc_mcontext.regs.UCreg_23); uc_mcontext 85 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_24, &sf->uc.uc_mcontext.regs.UCreg_24); uc_mcontext 86 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_25, &sf->uc.uc_mcontext.regs.UCreg_25); uc_mcontext 87 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_26, &sf->uc.uc_mcontext.regs.UCreg_26); uc_mcontext 88 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_fp, &sf->uc.uc_mcontext.regs.UCreg_fp); uc_mcontext 89 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_ip, &sf->uc.uc_mcontext.regs.UCreg_ip); uc_mcontext 90 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_sp, &sf->uc.uc_mcontext.regs.UCreg_sp); uc_mcontext 91 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_lr, &sf->uc.uc_mcontext.regs.UCreg_lr); uc_mcontext 92 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_pc, &sf->uc.uc_mcontext.regs.UCreg_pc); uc_mcontext 93 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_asr, &sf->uc.uc_mcontext.regs.UCreg_asr); uc_mcontext 138 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_00, &sf->uc.uc_mcontext.regs.UCreg_00); uc_mcontext 139 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_01, &sf->uc.uc_mcontext.regs.UCreg_01); uc_mcontext 140 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_02, &sf->uc.uc_mcontext.regs.UCreg_02); uc_mcontext 141 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_03, &sf->uc.uc_mcontext.regs.UCreg_03); uc_mcontext 142 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_04, &sf->uc.uc_mcontext.regs.UCreg_04); uc_mcontext 143 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_05, &sf->uc.uc_mcontext.regs.UCreg_05); uc_mcontext 144 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_06, &sf->uc.uc_mcontext.regs.UCreg_06); uc_mcontext 145 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_07, &sf->uc.uc_mcontext.regs.UCreg_07); uc_mcontext 146 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_08, &sf->uc.uc_mcontext.regs.UCreg_08); uc_mcontext 147 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_09, &sf->uc.uc_mcontext.regs.UCreg_09); uc_mcontext 148 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_10, &sf->uc.uc_mcontext.regs.UCreg_10); uc_mcontext 149 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_11, &sf->uc.uc_mcontext.regs.UCreg_11); uc_mcontext 150 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_12, &sf->uc.uc_mcontext.regs.UCreg_12); uc_mcontext 151 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_13, &sf->uc.uc_mcontext.regs.UCreg_13); uc_mcontext 152 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_14, &sf->uc.uc_mcontext.regs.UCreg_14); uc_mcontext 153 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_15, &sf->uc.uc_mcontext.regs.UCreg_15); uc_mcontext 154 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_16, &sf->uc.uc_mcontext.regs.UCreg_16); uc_mcontext 155 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_17, &sf->uc.uc_mcontext.regs.UCreg_17); uc_mcontext 156 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_18, &sf->uc.uc_mcontext.regs.UCreg_18); uc_mcontext 157 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_19, &sf->uc.uc_mcontext.regs.UCreg_19); uc_mcontext 158 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_20, &sf->uc.uc_mcontext.regs.UCreg_20); uc_mcontext 159 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_21, &sf->uc.uc_mcontext.regs.UCreg_21); uc_mcontext 160 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_22, &sf->uc.uc_mcontext.regs.UCreg_22); uc_mcontext 161 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_23, &sf->uc.uc_mcontext.regs.UCreg_23); uc_mcontext 162 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_24, &sf->uc.uc_mcontext.regs.UCreg_24); uc_mcontext 163 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_25, &sf->uc.uc_mcontext.regs.UCreg_25); uc_mcontext 164 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_26, &sf->uc.uc_mcontext.regs.UCreg_26); uc_mcontext 165 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_fp, &sf->uc.uc_mcontext.regs.UCreg_fp); uc_mcontext 166 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_ip, &sf->uc.uc_mcontext.regs.UCreg_ip); uc_mcontext 167 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_sp, &sf->uc.uc_mcontext.regs.UCreg_sp); uc_mcontext 168 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_lr, &sf->uc.uc_mcontext.regs.UCreg_lr); uc_mcontext 169 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_pc, &sf->uc.uc_mcontext.regs.UCreg_pc); uc_mcontext 170 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_asr, &sf->uc.uc_mcontext.regs.UCreg_asr); uc_mcontext 173 arch/unicore32/kernel/signal.c &sf->uc.uc_mcontext.trap_no); uc_mcontext 175 arch/unicore32/kernel/signal.c &sf->uc.uc_mcontext.error_code); uc_mcontext 177 arch/unicore32/kernel/signal.c &sf->uc.uc_mcontext.fault_address); uc_mcontext 178 arch/unicore32/kernel/signal.c err |= __put_user(set->sig[0], &sf->uc.uc_mcontext.oldmask); uc_mcontext 163 arch/x86/ia32/ia32_signal.c if (ia32_restore_sigcontext(regs, &frame->uc.uc_mcontext)) uc_mcontext 384 arch/x86/ia32/ia32_signal.c err |= ia32_setup_sigcontext(&frame->uc.uc_mcontext, fpstate, uc_mcontext 22 arch/x86/include/asm/ia32.h struct sigcontext_32 uc_mcontext; uc_mcontext 77 arch/x86/include/asm/sigframe.h struct sigcontext uc_mcontext; /* the 64-bit sigcontext type */ uc_mcontext 64 arch/x86/kernel/asm-offsets.c OFFSET(IA32_RT_SIGFRAME_sigcontext, rt_sigframe_ia32, uc.uc_mcontext); uc_mcontext 419 arch/x86/kernel/signal.c err |= setup_sigcontext(&frame->uc.uc_mcontext, fpstate, uc_mcontext 493 arch/x86/kernel/signal.c err |= setup_sigcontext(&frame->uc.uc_mcontext, fp, regs, set->sig[0]); uc_mcontext 578 arch/x86/kernel/signal.c err |= setup_sigcontext(&frame->uc.uc_mcontext, fpstate, uc_mcontext 657 arch/x86/kernel/signal.c if (restore_sigcontext(regs, &frame->uc.uc_mcontext, uc_flags)) uc_mcontext 882 arch/x86/kernel/signal.c if (restore_sigcontext(regs, &frame->uc.uc_mcontext, uc_flags)) uc_mcontext 333 arch/x86/um/signal.c err |= copy_sc_to_user(&uc->uc_mcontext, fp, ¤t->thread.regs, 0); uc_mcontext 513 arch/x86/um/signal.c err |= copy_sc_to_user(&frame->uc.uc_mcontext, &frame->fpstate, regs, uc_mcontext 518 arch/x86/um/signal.c err |= __put_user(fp_to, &frame->uc.uc_mcontext.fpstate); uc_mcontext 572 arch/x86/um/signal.c if (copy_sc_from_user(¤t->thread.regs, &uc->uc_mcontext)) uc_mcontext 17 arch/x86/um/stub_segv.c &uc->uc_mcontext); uc_mcontext 18 arch/xtensa/include/asm/ucontext.h struct sigcontext uc_mcontext; uc_mcontext 136 arch/xtensa/kernel/signal.c struct sigcontext __user *sc = &frame->uc.uc_mcontext; uc_mcontext 175 arch/xtensa/kernel/signal.c struct sigcontext __user *sc = &frame->uc.uc_mcontext; uc_mcontext 9 include/uapi/asm-generic/ucontext.h struct sigcontext uc_mcontext; uc_mcontext 73 samples/seccomp/bpf-direct.c syscall = ctx->uc_mcontext.gregs[REG_SYSCALL]; uc_mcontext 74 samples/seccomp/bpf-direct.c buf = (char *) ctx->uc_mcontext.gregs[REG_ARG1]; uc_mcontext 75 samples/seccomp/bpf-direct.c len = (size_t) ctx->uc_mcontext.gregs[REG_ARG2]; uc_mcontext 79 samples/seccomp/bpf-direct.c if (ctx->uc_mcontext.gregs[REG_ARG0] != STDERR_FILENO) uc_mcontext 82 samples/seccomp/bpf-direct.c ctx->uc_mcontext.gregs[REG_RESULT] = -1; uc_mcontext 85 samples/seccomp/bpf-direct.c ctx->uc_mcontext.gregs[REG_RESULT] = bytes; uc_mcontext 67 tools/testing/selftests/powerpc/alignment/alignment_handler.c ucp->uc_mcontext.gp_regs[PT_NIP] += 4; uc_mcontext 69 tools/testing/selftests/powerpc/alignment/alignment_handler.c ucp->uc_mcontext.uc_regs->gregs[PT_NIP] += 4; uc_mcontext 22 tools/testing/selftests/powerpc/alignment/copy_first_unaligned.c unsigned int *pc = (unsigned int *)ctx->uc_mcontext.gp_regs[PT_NIP]; uc_mcontext 24 tools/testing/selftests/powerpc/alignment/copy_first_unaligned.c unsigned int *pc = (unsigned int *)ctx->uc_mcontext.uc_regs->gregs[PT_NIP]; uc_mcontext 14 tools/testing/selftests/powerpc/copyloops/exc_validate.c #define UCONTEXT_NIA(UC) (UC)->uc_mcontext.gp_regs[PT_NIP] uc_mcontext 16 tools/testing/selftests/powerpc/copyloops/exc_validate.c #define UCONTEXT_NIA(UC) (UC)->uc_mcontext.uc_regs->gregs[PT_NIP] uc_mcontext 104 tools/testing/selftests/powerpc/include/utils.h #define UCONTEXT_NIA(UC) (UC)->uc_mcontext.gp_regs[PT_NIP] uc_mcontext 105 tools/testing/selftests/powerpc/include/utils.h #define UCONTEXT_MSR(UC) (UC)->uc_mcontext.gp_regs[PT_MSR] uc_mcontext 107 tools/testing/selftests/powerpc/include/utils.h #define UCONTEXT_NIA(UC) (UC)->uc_mcontext.uc_regs->gregs[PT_NIP] uc_mcontext 108 tools/testing/selftests/powerpc/include/utils.h #define UCONTEXT_MSR(UC) (UC)->uc_mcontext.uc_regs->gregs[PT_MSR] uc_mcontext 44 tools/testing/selftests/powerpc/math/fpu_signal.c mcontext_t *mc = &uc->uc_mcontext; uc_mcontext 47 tools/testing/selftests/powerpc/math/vmx_signal.c mcontext_t *mc = &uc->uc_mcontext; uc_mcontext 28 tools/testing/selftests/powerpc/mm/segv_errors.c struct pt_regs *regs = ctxt->uc_mcontext.regs; uc_mcontext 40 tools/testing/selftests/powerpc/mm/subpage_prot.c struct pt_regs *regs = ctxt->uc_mcontext.regs; uc_mcontext 28 tools/testing/selftests/powerpc/mm/wild_bctr.c struct pt_regs *regs = ctxt->uc_mcontext.regs; uc_mcontext 119 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_link->uc_mcontext.gp_regs[PT_MSR] |= MSR_TS_S; uc_mcontext 122 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_link->uc_mcontext.gp_regs[PT_MSR] |= uc_mcontext 125 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_link->uc_mcontext.gp_regs[PT_MSR] |= uc_mcontext 132 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_mcontext.gp_regs[PT_MSR] |= MSR_TS_S; uc_mcontext 135 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_mcontext.gp_regs[PT_MSR] |= uc_mcontext 138 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_mcontext.gp_regs[PT_MSR] |= uc_mcontext 153 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_mcontext.gp_regs[PT_MSR] = random(); uc_mcontext 155 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_mcontext.gp_regs[PT_NIP] = random(); uc_mcontext 157 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_link->uc_mcontext.gp_regs[PT_MSR] = random(); uc_mcontext 159 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_link->uc_mcontext.gp_regs[PT_NIP] = random(); uc_mcontext 161 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_mcontext.gp_regs[PT_TRAP] = random(); uc_mcontext 162 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_mcontext.gp_regs[PT_DSISR] = random(); uc_mcontext 163 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_mcontext.gp_regs[PT_DAR] = random(); uc_mcontext 164 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_mcontext.gp_regs[PT_ORIG_R3] = random(); uc_mcontext 165 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_mcontext.gp_regs[PT_XER] = random(); uc_mcontext 166 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_mcontext.gp_regs[PT_RESULT] = random(); uc_mcontext 167 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_mcontext.gp_regs[PT_SOFTE] = random(); uc_mcontext 168 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_mcontext.gp_regs[PT_DSCR] = random(); uc_mcontext 169 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_mcontext.gp_regs[PT_CTR] = random(); uc_mcontext 170 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_mcontext.gp_regs[PT_LNK] = random(); uc_mcontext 171 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_mcontext.gp_regs[PT_CCR] = random(); uc_mcontext 172 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_mcontext.gp_regs[PT_REGS_COUNT] = random(); uc_mcontext 174 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_link->uc_mcontext.gp_regs[PT_TRAP] = random(); uc_mcontext 175 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_link->uc_mcontext.gp_regs[PT_DSISR] = random(); uc_mcontext 176 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_link->uc_mcontext.gp_regs[PT_DAR] = random(); uc_mcontext 177 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_link->uc_mcontext.gp_regs[PT_ORIG_R3] = random(); uc_mcontext 178 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_link->uc_mcontext.gp_regs[PT_XER] = random(); uc_mcontext 179 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_link->uc_mcontext.gp_regs[PT_RESULT] = random(); uc_mcontext 180 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_link->uc_mcontext.gp_regs[PT_SOFTE] = random(); uc_mcontext 181 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_link->uc_mcontext.gp_regs[PT_DSCR] = random(); uc_mcontext 182 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_link->uc_mcontext.gp_regs[PT_CTR] = random(); uc_mcontext 183 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_link->uc_mcontext.gp_regs[PT_LNK] = random(); uc_mcontext 184 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_link->uc_mcontext.gp_regs[PT_CCR] = random(); uc_mcontext 185 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_link->uc_mcontext.gp_regs[PT_REGS_COUNT] = random(); uc_mcontext 55 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-fpu.c fail = (ucp->uc_mcontext.fp_regs[FPR14 + i] != fps[i]); uc_mcontext 59 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-fpu.c FPR14 + i, ucp->uc_mcontext.fp_regs[FPR14 + i], fps[i]); uc_mcontext 65 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-fpu.c fail = (tm_ucp->uc_mcontext.fp_regs[FPR14 + i] != fps[NV_FPU_REGS + i]); uc_mcontext 69 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-fpu.c FPR14 + i, tm_ucp->uc_mcontext.fp_regs[FPR14 + i], fps[NV_FPU_REGS + i]); uc_mcontext 57 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-gpr.c fail = (ucp->uc_mcontext.gp_regs[R14 + i] != gprs[i]); uc_mcontext 61 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-gpr.c R14 + i, ucp->uc_mcontext.gp_regs[R14 + i], gprs[i]); uc_mcontext 67 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-gpr.c fail = (tm_ucp->uc_mcontext.gp_regs[R14 + i] != gprs[NV_GPR_REGS + i]); uc_mcontext 71 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-gpr.c R14 + i, tm_ucp->uc_mcontext.gp_regs[R14 + i], gprs[NV_GPR_REGS + i]); uc_mcontext 64 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-vmx.c fail = memcmp(ucp->uc_mcontext.v_regs->vrregs[VMX20 + i], uc_mcontext 71 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-vmx.c printf("%08x", ucp->uc_mcontext.v_regs->vrregs[VMX20 + i][j]); uc_mcontext 82 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-vmx.c fail = memcmp(tm_ucp->uc_mcontext.v_regs->vrregs[VMX20 + i], uc_mcontext 89 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-vmx.c printf("%08x", tm_ucp->uc_mcontext.v_regs->vrregs[VMX20 + i][j]); uc_mcontext 96 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-vsx.c long *vsx_ptr = (long *)(ucp->uc_mcontext.v_regs + 1); uc_mcontext 97 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-vsx.c long *tm_vsx_ptr = (long *)(tm_ucp->uc_mcontext.v_regs + 1); uc_mcontext 106 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-vsx.c memcpy(vsx, &ucp->uc_mcontext.fp_regs[FPR20 + i], 8); uc_mcontext 130 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-vsx.c memcpy(vsx_tm, &tm_ucp->uc_mcontext.fp_regs[FPR20 + i], 8); uc_mcontext 74 tools/testing/selftests/powerpc/tm/tm-signal-context-force-tm.c memcpy(&ucp->uc_link->uc_mcontext, &ucp->uc_mcontext, uc_mcontext 75 tools/testing/selftests/powerpc/tm/tm-signal-context-force-tm.c sizeof(ucp->uc_mcontext)); uc_mcontext 41 tools/testing/selftests/powerpc/tm/tm-signal-msr-resv.c ucp->uc_mcontext.gp_regs[PT_MSR] |= (7ULL << 32); uc_mcontext 43 tools/testing/selftests/powerpc/tm/tm-signal-msr-resv.c ucp->uc_mcontext.uc_regs->gregs[PT_MSR] |= (7ULL); uc_mcontext 27 tools/testing/selftests/powerpc/tm/tm-signal-sigreturn-nt.c ucp->uc_mcontext.regs->nip += 4; uc_mcontext 67 tools/testing/selftests/powerpc/tm/tm-trap.c thread_endianness = MSR_LE & ucp->uc_mcontext.gp_regs[PT_MSR]; uc_mcontext 116 tools/testing/selftests/powerpc/tm/tm-trap.c ucp->uc_mcontext.gp_regs[PT_NIP] += 16; uc_mcontext 123 tools/testing/selftests/powerpc/tm/tm-trap.c ucp->uc_mcontext.gp_regs[PT_MSR] |= 1UL; uc_mcontext 124 tools/testing/selftests/powerpc/tm/tm-trap.c ucp->uc_mcontext.gp_regs[PT_NIP] += 4; uc_mcontext 141 tools/testing/selftests/powerpc/tm/tm-trap.c ucp->uc_mcontext.gp_regs[PT_MSR] |= 1UL; uc_mcontext 171 tools/testing/selftests/powerpc/tm/tm-trap.c ucp->uc_mcontext.gp_regs[PT_MSR] &= ~1UL; uc_mcontext 172 tools/testing/selftests/powerpc/tm/tm-trap.c ucp->uc_mcontext.gp_regs[PT_NIP] += 8; uc_mcontext 58 tools/testing/selftests/x86/entry_from_vm86.c if (ctx->uc_mcontext.gregs[REG_EFL] & X86_EFLAGS_VM || uc_mcontext 59 tools/testing/selftests/x86/entry_from_vm86.c (ctx->uc_mcontext.gregs[REG_CS] & 3) != 3) { uc_mcontext 73 tools/testing/selftests/x86/entry_from_vm86.c (unsigned long)ctx->uc_mcontext.gregs[REG_EFL], uc_mcontext 74 tools/testing/selftests/x86/entry_from_vm86.c (unsigned short)ctx->uc_mcontext.gregs[REG_CS]); uc_mcontext 76 tools/testing/selftests/x86/fsgsbase.c ctx->uc_mcontext.gregs[REG_RIP] += 4; /* Skip the faulting mov */ uc_mcontext 122 tools/testing/selftests/x86/mov_ss_trap.c (unsigned long)ctx->uc_mcontext.gregs[REG_IP], uc_mcontext 123 tools/testing/selftests/x86/mov_ss_trap.c !!(ctx->uc_mcontext.gregs[REG_EFL] & X86_EFLAGS_RF)); uc_mcontext 131 tools/testing/selftests/x86/mov_ss_trap.c (unsigned long)ctx->uc_mcontext.gregs[REG_IP]); uc_mcontext 139 tools/testing/selftests/x86/mov_ss_trap.c (unsigned long)ctx->uc_mcontext.gregs[REG_IP]); uc_mcontext 277 tools/testing/selftests/x86/protection_keys.c trapno = uctxt->uc_mcontext.gregs[REG_TRAPNO]; uc_mcontext 278 tools/testing/selftests/x86/protection_keys.c ip = uctxt->uc_mcontext.gregs[REG_IP_IDX]; uc_mcontext 279 tools/testing/selftests/x86/protection_keys.c fpregset = uctxt->uc_mcontext.fpregs; uc_mcontext 309 tools/testing/selftests/x86/sigreturn.c struct selectors *sels = (void *)&ctx->uc_mcontext.gregs[REG_CSGSFS]; uc_mcontext 315 tools/testing/selftests/x86/sigreturn.c struct selectors *sels = (void *)&ctx->uc_mcontext.gregs[REG_CSGSFS]; uc_mcontext 325 tools/testing/selftests/x86/sigreturn.c return &ctx->uc_mcontext.gregs[REG_SS]; uc_mcontext 330 tools/testing/selftests/x86/sigreturn.c return &ctx->uc_mcontext.gregs[REG_CS]; uc_mcontext 444 tools/testing/selftests/x86/sigreturn.c memcpy(&initial_regs, &ctx->uc_mcontext.gregs, sizeof(gregset_t)); uc_mcontext 449 tools/testing/selftests/x86/sigreturn.c ctx->uc_mcontext.gregs[REG_IP] = uc_mcontext 451 tools/testing/selftests/x86/sigreturn.c ctx->uc_mcontext.gregs[REG_SP] = (unsigned long)0x8badf00d5aadc0deULL; uc_mcontext 452 tools/testing/selftests/x86/sigreturn.c ctx->uc_mcontext.gregs[REG_CX] = 0; uc_mcontext 463 tools/testing/selftests/x86/sigreturn.c ctx->uc_mcontext.gregs[REG_DS] = 0; uc_mcontext 464 tools/testing/selftests/x86/sigreturn.c ctx->uc_mcontext.gregs[REG_ES] = 0; uc_mcontext 467 tools/testing/selftests/x86/sigreturn.c memcpy(&requested_regs, &ctx->uc_mcontext.gregs, sizeof(gregset_t)); uc_mcontext 484 tools/testing/selftests/x86/sigreturn.c sig_err = ctx->uc_mcontext.gregs[REG_ERR]; uc_mcontext 485 tools/testing/selftests/x86/sigreturn.c sig_trapno = ctx->uc_mcontext.gregs[REG_TRAPNO]; uc_mcontext 490 tools/testing/selftests/x86/sigreturn.c greg_t asm_ss = ctx->uc_mcontext.gregs[REG_CX]; uc_mcontext 498 tools/testing/selftests/x86/sigreturn.c memcpy(&resulting_regs, &ctx->uc_mcontext.gregs, sizeof(gregset_t)); uc_mcontext 499 tools/testing/selftests/x86/sigreturn.c memcpy(&ctx->uc_mcontext.gregs, &initial_regs, sizeof(gregset_t)); uc_mcontext 89 tools/testing/selftests/x86/single_step_syscall.c (unsigned long)ctx->uc_mcontext.gregs[REG_IP]); uc_mcontext 70 tools/testing/selftests/x86/syscall_arg_fault.c long ax = (long)ctx->uc_mcontext.gregs[REG_AX]; uc_mcontext 94 tools/testing/selftests/x86/syscall_arg_fault.c unsigned short *ip = (unsigned short *)ctx->uc_mcontext.gregs[REG_IP]; uc_mcontext 111 tools/testing/selftests/x86/syscall_arg_fault.c unsigned short *ip = (unsigned short *)ctx->uc_mcontext.gregs[REG_IP]; uc_mcontext 73 tools/testing/selftests/x86/sysret_rip.c if (rip != ctx->uc_mcontext.gregs[REG_RIP]) { uc_mcontext 75 tools/testing/selftests/x86/sysret_rip.c rip, (unsigned long)ctx->uc_mcontext.gregs[REG_RIP]); uc_mcontext 80 tools/testing/selftests/x86/sysret_rip.c memcpy(&ctx->uc_mcontext.gregs, &initial_regs, sizeof(gregset_t)); uc_mcontext 89 tools/testing/selftests/x86/sysret_rip.c memcpy(&initial_regs, &ctx->uc_mcontext.gregs, sizeof(gregset_t)); uc_mcontext 92 tools/testing/selftests/x86/sysret_rip.c ctx->uc_mcontext.gregs[REG_RIP] = rip; uc_mcontext 93 tools/testing/selftests/x86/sysret_rip.c ctx->uc_mcontext.gregs[REG_RCX] = rip; uc_mcontext 96 tools/testing/selftests/x86/sysret_rip.c assert(ctx->uc_mcontext.gregs[REG_EFL] == uc_mcontext 97 tools/testing/selftests/x86/sysret_rip.c ctx->uc_mcontext.gregs[REG_R11]); uc_mcontext 117 tools/testing/selftests/x86/sysret_rip.c if (rip != ctx->uc_mcontext.gregs[REG_RIP]) { uc_mcontext 119 tools/testing/selftests/x86/sysret_rip.c rip, (unsigned long)ctx->uc_mcontext.gregs[REG_RIP]); uc_mcontext 187 tools/testing/selftests/x86/test_vsyscall.c segv_err = ctx->uc_mcontext.gregs[REG_ERR]; uc_mcontext 514 tools/testing/selftests/x86/test_vsyscall.c unsigned long ip = ctx->uc_mcontext.gregs[REG_RIP]; uc_mcontext 130 tools/testing/selftests/x86/unwind_vdso.c unsigned long ip = ctx->uc_mcontext.gregs[REG_EIP]; uc_mcontext 136 tools/testing/selftests/x86/unwind_vdso.c return_address = *(unsigned long *)(unsigned long)ctx->uc_mcontext.gregs[REG_ESP]; uc_mcontext 146 tools/testing/selftests/x86/unwind_vdso.c ctx->uc_mcontext.gregs[REG_EFL] &= ~X86_EFLAGS_TF;