gprs 334 arch/mips/include/asm/kvm_host.h unsigned long gprs[32]; gprs 66 arch/mips/kvm/emulate.c arch->gprs[insn.r_format.rd] = epc + 8; gprs 69 arch/mips/kvm/emulate.c nextpc = arch->gprs[insn.r_format.rs]; gprs 85 arch/mips/kvm/emulate.c if ((long)arch->gprs[insn.i_format.rs] < 0) gprs 94 arch/mips/kvm/emulate.c if ((long)arch->gprs[insn.i_format.rs] >= 0) gprs 103 arch/mips/kvm/emulate.c arch->gprs[31] = epc + 8; gprs 104 arch/mips/kvm/emulate.c if ((long)arch->gprs[insn.i_format.rs] < 0) gprs 113 arch/mips/kvm/emulate.c arch->gprs[31] = epc + 8; gprs 114 arch/mips/kvm/emulate.c if ((long)arch->gprs[insn.i_format.rs] >= 0) gprs 142 arch/mips/kvm/emulate.c arch->gprs[31] = instpc + 8; gprs 155 arch/mips/kvm/emulate.c if (arch->gprs[insn.i_format.rs] == gprs 156 arch/mips/kvm/emulate.c arch->gprs[insn.i_format.rt]) gprs 165 arch/mips/kvm/emulate.c if (arch->gprs[insn.i_format.rs] != gprs 166 arch/mips/kvm/emulate.c arch->gprs[insn.i_format.rt]) gprs 179 arch/mips/kvm/emulate.c if ((long)arch->gprs[insn.i_format.rs] <= 0) gprs 192 arch/mips/kvm/emulate.c if ((long)arch->gprs[insn.i_format.rs] > 0) gprs 1321 arch/mips/kvm/emulate.c vcpu->arch.gprs[rt] = gprs 1324 arch/mips/kvm/emulate.c vcpu->arch.gprs[rt] = 0x0; gprs 1329 arch/mips/kvm/emulate.c vcpu->arch.gprs[rt] = (s32)cop0->reg[rd][sel]; gprs 1338 arch/mips/kvm/emulate.c vcpu->arch.gprs[rt]); gprs 1342 arch/mips/kvm/emulate.c vcpu->arch.gprs[rt] = cop0->reg[rd][sel]; gprs 1346 arch/mips/kvm/emulate.c vcpu->arch.gprs[rt]); gprs 1355 arch/mips/kvm/emulate.c vcpu->arch.gprs[rt]); gprs 1358 arch/mips/kvm/emulate.c && (vcpu->arch.gprs[rt] >= gprs 1361 arch/mips/kvm/emulate.c vcpu->arch.gprs[rt]); gprs 1371 arch/mips/kvm/emulate.c vcpu->arch.gprs[rt]); gprs 1374 arch/mips/kvm/emulate.c vcpu->arch.gprs[rt]); gprs 1378 arch/mips/kvm/emulate.c kvm_mips_write_count(vcpu, vcpu->arch.gprs[rt]); gprs 1384 arch/mips/kvm/emulate.c vcpu->arch.gprs[rt], gprs 1390 arch/mips/kvm/emulate.c val = vcpu->arch.gprs[rt]; gprs 1462 arch/mips/kvm/emulate.c val = vcpu->arch.gprs[rt]; gprs 1499 arch/mips/kvm/emulate.c new_cause = vcpu->arch.gprs[rt]; gprs 1519 arch/mips/kvm/emulate.c cop0->reg[rd][sel] = vcpu->arch.gprs[rt] & mask; gprs 1521 arch/mips/kvm/emulate.c cop0->reg[rd][sel] = vcpu->arch.gprs[rt]; gprs 1533 arch/mips/kvm/emulate.c vcpu->arch.gprs[rt]); gprs 1542 arch/mips/kvm/emulate.c vcpu->arch.gprs[rt] = gprs 1571 arch/mips/kvm/emulate.c vcpu->arch.gprs[rt]); gprs 1572 arch/mips/kvm/emulate.c vcpu->arch.gprs[rd] = vcpu->arch.gprs[rt]; gprs 1628 arch/mips/kvm/emulate.c *(u64 *)data = vcpu->arch.gprs[rt]; gprs 1632 arch/mips/kvm/emulate.c vcpu->arch.gprs[rt], *(u64 *)data); gprs 1638 arch/mips/kvm/emulate.c *(u32 *)data = vcpu->arch.gprs[rt]; gprs 1642 arch/mips/kvm/emulate.c vcpu->arch.gprs[rt], *(u32 *)data); gprs 1647 arch/mips/kvm/emulate.c *(u16 *)data = vcpu->arch.gprs[rt]; gprs 1651 arch/mips/kvm/emulate.c vcpu->arch.gprs[rt], *(u16 *)data); gprs 1656 arch/mips/kvm/emulate.c *(u8 *)data = vcpu->arch.gprs[rt]; gprs 1660 arch/mips/kvm/emulate.c vcpu->arch.gprs[rt], *(u8 *)data); gprs 1827 arch/mips/kvm/emulate.c va = arch->gprs[base] + offset; gprs 1830 arch/mips/kvm/emulate.c cache, op, base, arch->gprs[base], offset); gprs 1839 arch/mips/kvm/emulate.c vcpu->arch.pc, vcpu->arch.gprs[31], cache, op, base, gprs 1840 arch/mips/kvm/emulate.c arch->gprs[base], offset); gprs 1916 arch/mips/kvm/emulate.c cache, op, base, arch->gprs[base], offset); gprs 2530 arch/mips/kvm/emulate.c arch->gprs[rt] = vcpu->vcpu_id; gprs 2533 arch/mips/kvm/emulate.c arch->gprs[rt] = min(current_cpu_data.dcache.linesz, gprs 2537 arch/mips/kvm/emulate.c arch->gprs[rt] = (s32)kvm_mips_read_count(vcpu); gprs 2543 arch/mips/kvm/emulate.c arch->gprs[rt] = 1; gprs 2546 arch/mips/kvm/emulate.c arch->gprs[rt] = 2; gprs 2550 arch/mips/kvm/emulate.c arch->gprs[rt] = kvm_read_c0_guest_userlocal(cop0); gprs 2559 arch/mips/kvm/emulate.c vcpu->arch.gprs[rt]); gprs 2580 arch/mips/kvm/emulate.c unsigned long *gpr = &vcpu->arch.gprs[vcpu->arch.io_gpr]; gprs 434 arch/mips/kvm/entry.c UASM_i_LW(&p, i, offsetof(struct kvm_vcpu_arch, gprs[i]), K1); gprs 447 arch/mips/kvm/entry.c UASM_i_LW(&p, K0, offsetof(struct kvm_vcpu_arch, gprs[K0]), K1); gprs 448 arch/mips/kvm/entry.c UASM_i_LW(&p, K1, offsetof(struct kvm_vcpu_arch, gprs[K1]), K1); gprs 485 arch/mips/kvm/entry.c UASM_i_SW(&p, K0, offsetof(struct kvm_vcpu, arch.gprs[K0]), K1); gprs 522 arch/mips/kvm/entry.c UASM_i_LW(&p, K0, offsetof(struct kvm_vcpu, arch.gprs[K0]), K1); gprs 561 arch/mips/kvm/entry.c UASM_i_SW(&p, K0, offsetof(struct kvm_vcpu_arch, gprs[K0]), K1); gprs 611 arch/mips/kvm/entry.c UASM_i_SW(&p, i, offsetof(struct kvm_vcpu_arch, gprs[i]), K1); gprs 626 arch/mips/kvm/entry.c UASM_i_SW(&p, T0, offsetof(struct kvm_vcpu_arch, gprs[K1]), K1); gprs 45 arch/mips/kvm/hypcall.c num = vcpu->arch.gprs[2]; /* v0 */ gprs 46 arch/mips/kvm/hypcall.c args[0] = vcpu->arch.gprs[4]; /* a0 */ gprs 47 arch/mips/kvm/hypcall.c args[1] = vcpu->arch.gprs[5]; /* a1 */ gprs 48 arch/mips/kvm/hypcall.c args[2] = vcpu->arch.gprs[6]; /* a2 */ gprs 49 arch/mips/kvm/hypcall.c args[3] = vcpu->arch.gprs[7]; /* a3 */ gprs 52 arch/mips/kvm/hypcall.c args, &vcpu->arch.gprs[2] /* v0 */); gprs 657 arch/mips/kvm/mips.c v = (long)vcpu->arch.gprs[reg->id - KVM_REG_MIPS_R0]; gprs 791 arch/mips/kvm/mips.c vcpu->arch.gprs[reg->id - KVM_REG_MIPS_R0] = v; gprs 1164 arch/mips/kvm/mips.c vcpu->arch.gprs[i], gprs 1165 arch/mips/kvm/mips.c vcpu->arch.gprs[i + 1], gprs 1166 arch/mips/kvm/mips.c vcpu->arch.gprs[i + 2], vcpu->arch.gprs[i + 3]); gprs 1187 arch/mips/kvm/mips.c for (i = 1; i < ARRAY_SIZE(vcpu->arch.gprs); i++) gprs 1188 arch/mips/kvm/mips.c vcpu->arch.gprs[i] = regs->gpr[i]; gprs 1189 arch/mips/kvm/mips.c vcpu->arch.gprs[0] = 0; /* zero is special, and cannot be set. */ gprs 1204 arch/mips/kvm/mips.c for (i = 0; i < ARRAY_SIZE(vcpu->arch.gprs); i++) gprs 1205 arch/mips/kvm/mips.c regs->gpr[i] = vcpu->arch.gprs[i]; gprs 986 arch/mips/kvm/vz.c vcpu->arch.gprs[rt] = val; gprs 999 arch/mips/kvm/vz.c val = vcpu->arch.gprs[rt]; gprs 1007 arch/mips/kvm/vz.c kvm_mips_write_count(vcpu, vcpu->arch.gprs[rt]); gprs 1011 arch/mips/kvm/vz.c vcpu->arch.gprs[rt], gprs 1092 arch/mips/kvm/vz.c va = arch->gprs[base] + offset; gprs 1095 arch/mips/kvm/vz.c cache, op, base, arch->gprs[base], offset); gprs 1124 arch/mips/kvm/vz.c curr_pc, vcpu->arch.gprs[31], cache, op, base, arch->gprs[base], gprs 1179 arch/mips/kvm/vz.c arch->gprs[rt] = gprs 1189 arch/mips/kvm/vz.c KVM_TRACE_HWR(rd, sel), arch->gprs[rt]); gprs 1234 arch/mips/kvm/vz.c unsigned int val = arch->gprs[rt]; gprs 49 arch/openrisc/include/asm/ptrace.h long gprs[30]; gprs 72 arch/powerpc/include/asm/spu_csa.h struct spu_reg128 gprs[128]; gprs 1303 arch/powerpc/kvm/book3s_pr.c u64 *gprs = run->osi.gprs; gprs 1308 arch/powerpc/kvm/book3s_pr.c gprs[i] = kvmppc_get_gpr(vcpu, i); gprs 1807 arch/powerpc/kvm/powerpc.c u64 *gprs = run->osi.gprs; gprs 1811 arch/powerpc/kvm/powerpc.c kvmppc_set_gpr(vcpu, i, gprs[i]); gprs 467 arch/powerpc/platforms/cell/spufs/file.c lscsa->gprs, sizeof lscsa->gprs); gprs 479 arch/powerpc/platforms/cell/spufs/file.c if (*pos >= sizeof(ctx->csa.lscsa->gprs)) gprs 498 arch/powerpc/platforms/cell/spufs/file.c if (*pos >= sizeof(lscsa->gprs)) gprs 505 arch/powerpc/platforms/cell/spufs/file.c size = simple_write_to_buffer(lscsa->gprs, sizeof(lscsa->gprs), pos, gprs 51 arch/powerpc/platforms/cell/spufs/spu_utils.h ((char *)(&(dummy->_field)) - (char *)(&(dummy->gprs[0].slot[0]))) gprs 76 arch/s390/include/asm/compat.h u32 gprs[NUM_GPRS]; gprs 195 arch/s390/include/asm/elf.h _r->gprs[14] = 0; \ gprs 174 arch/s390/include/asm/processor.h regs->gprs[15] = new_stackp; \ gprs 181 arch/s390/include/asm/processor.h regs->gprs[15] = new_stackp; \ gprs 205 arch/s390/include/asm/processor.h #define KSTK_ESP(tsk) (task_pt_regs(tsk)->gprs[15]) gprs 82 arch/s390/include/asm/ptrace.h unsigned long gprs[NUM_GPRS]; gprs 163 arch/s390/include/asm/ptrace.h #define user_stack_pointer(regs)((regs)->gprs[15]) gprs 168 arch/s390/include/asm/ptrace.h return regs->gprs[2]; gprs 184 arch/s390/include/asm/ptrace.h return regs->gprs[15]; gprs 53 arch/s390/include/asm/stacktrace.h unsigned long gprs[10]; gprs 60 arch/s390/include/asm/stacktrace.h unsigned long gprs[10]; gprs 30 arch/s390/include/asm/syscall.h regs->gprs[2] = regs->orig_gpr2; gprs 36 arch/s390/include/asm/syscall.h return IS_ERR_VALUE(regs->gprs[2]) ? regs->gprs[2] : 0; gprs 42 arch/s390/include/asm/syscall.h return regs->gprs[2]; gprs 49 arch/s390/include/asm/syscall.h regs->gprs[2] = error ? error : val; gprs 65 arch/s390/include/asm/syscall.h args[n] = regs->gprs[2 + n] & mask; gprs 78 arch/s390/include/asm/syscall.h regs->gprs[2 + n] = args[n]; gprs 177 arch/s390/include/uapi/asm/kvm.h __u64 gprs[16]; gprs 246 arch/s390/include/uapi/asm/kvm.h __u64 gprs[16]; /* general purpose registers */ gprs 284 arch/s390/include/uapi/asm/ptrace.h unsigned long gprs[NUM_GPRS]; gprs 296 arch/s390/include/uapi/asm/ptrace.h unsigned long gprs[NUM_GPRS]; gprs 442 arch/s390/include/uapi/asm/ptrace.h unsigned long gprs[NUM_GPRS]; gprs 50 arch/s390/include/uapi/asm/sigcontext.h unsigned long gprs[__NUM_GPRS]; gprs 45 arch/s390/kernel/asm-offsets.c OFFSET(__PT_GPRS, pt_regs, gprs); gprs 55 arch/s390/kernel/asm-offsets.c OFFSET(__SF_GPRS, stack_frame, gprs); gprs 44 arch/s390/kernel/compat_linux.h __u32 gprs[__NUM_GPRS]; gprs 23 arch/s390/kernel/compat_ptrace.h u32 gprs[NUM_GPRS]; gprs 77 arch/s390/kernel/compat_signal.c user_sregs.regs.gprs[i] = (__u32) regs->gprs[i]; gprs 115 arch/s390/kernel/compat_signal.c regs->gprs[i] = (__u64) user_sregs.regs.gprs[i]; gprs 133 arch/s390/kernel/compat_signal.c gprs_high[i] = regs->gprs[i] >> 32; gprs 164 arch/s390/kernel/compat_signal.c *(__u32 *)®s->gprs[i] = gprs_high[i]; gprs 183 arch/s390/kernel/compat_signal.c sigframe32 __user *frame = (sigframe32 __user *)regs->gprs[15]; gprs 195 arch/s390/kernel/compat_signal.c return regs->gprs[2]; gprs 204 arch/s390/kernel/compat_signal.c rt_sigframe32 __user *frame = (rt_sigframe32 __user *)regs->gprs[15]; gprs 218 arch/s390/kernel/compat_signal.c return regs->gprs[2]; gprs 238 arch/s390/kernel/compat_signal.c sp = (unsigned long) A(regs->gprs[15]); gprs 275 arch/s390/kernel/compat_signal.c if (__put_user(regs->gprs[15], (unsigned int __user *) frame)) gprs 293 arch/s390/kernel/compat_signal.c if (__put_user(regs->gprs[2], (int __force __user *) &frame->signo)) gprs 314 arch/s390/kernel/compat_signal.c regs->gprs[14] = restorer; gprs 315 arch/s390/kernel/compat_signal.c regs->gprs[15] = (__force __u64) frame; gprs 322 arch/s390/kernel/compat_signal.c regs->gprs[2] = sig; gprs 323 arch/s390/kernel/compat_signal.c regs->gprs[3] = (__force __u64) &frame->sc; gprs 330 arch/s390/kernel/compat_signal.c regs->gprs[4] = regs->int_code & 127; gprs 331 arch/s390/kernel/compat_signal.c regs->gprs[5] = regs->int_parm_long; gprs 332 arch/s390/kernel/compat_signal.c regs->gprs[6] = current->thread.last_break; gprs 364 arch/s390/kernel/compat_signal.c if (__put_user(regs->gprs[15], (unsigned int __force __user *) frame)) gprs 389 arch/s390/kernel/compat_signal.c __compat_save_altstack(&frame->uc.uc_stack, regs->gprs[15]) || gprs 396 arch/s390/kernel/compat_signal.c regs->gprs[14] = restorer; gprs 397 arch/s390/kernel/compat_signal.c regs->gprs[15] = (__force __u64) frame; gprs 404 arch/s390/kernel/compat_signal.c regs->gprs[2] = ksig->sig; gprs 405 arch/s390/kernel/compat_signal.c regs->gprs[3] = (__force __u64) &frame->info; gprs 406 arch/s390/kernel/compat_signal.c regs->gprs[4] = (__force __u64) &frame->uc; gprs 407 arch/s390/kernel/compat_signal.c regs->gprs[5] = current->thread.last_break; gprs 42 arch/s390/kernel/crash_dump.c u64 gprs[16]; gprs 92 arch/s390/kernel/crash_dump.c memcpy(&sa->gprs, &lc->gpregs_save_area, sizeof(sa->gprs)); gprs 365 arch/s390/kernel/crash_dump.c memcpy(&nt_prstatus.pr_reg.gprs, sa->gprs, sizeof(sa->gprs)); gprs 161 arch/s390/kernel/dumpstack.c regs->gprs[0], regs->gprs[1], regs->gprs[2], regs->gprs[3]); gprs 163 arch/s390/kernel/dumpstack.c regs->gprs[4], regs->gprs[5], regs->gprs[6], regs->gprs[7]); gprs 165 arch/s390/kernel/dumpstack.c regs->gprs[8], regs->gprs[9], regs->gprs[10], regs->gprs[11]); gprs 167 arch/s390/kernel/dumpstack.c regs->gprs[12], regs->gprs[13], regs->gprs[14], regs->gprs[15]); gprs 177 arch/s390/kernel/dumpstack.c show_stack(NULL, (unsigned long *) regs->gprs[15]); gprs 263 arch/s390/kernel/kprobes.c ri->ret_addr = (kprobe_opcode_t *) regs->gprs[14]; gprs 266 arch/s390/kernel/kprobes.c regs->gprs[14] = (unsigned long) &kretprobe_trampoline; gprs 481 arch/s390/kernel/kprobes.c regs->gprs[0] = (unsigned long)p->addr + sizeof(*insn); gprs 496 arch/s390/kernel/kprobes.c regs->gprs[reg] += (unsigned long) p->addr - gprs 309 arch/s390/kernel/nmi.c (struct kvm_s390_sie_block *) regs->gprs[14]; gprs 462 arch/s390/kernel/nmi.c *((long *)(regs->gprs[15] + __SF_SIE_REASON)) = -EINTR; gprs 49 arch/s390/kernel/perf_event.c struct stack_frame *stack = (struct stack_frame *) regs->gprs[15]; gprs 112 arch/s390/kernel/perf_event.c if (!regs->gprs[15]) gprs 16 arch/s390/kernel/perf_regs.c return regs->gprs[idx]; gprs 112 arch/s390/kernel/process.c frame->sf.gprs[8] = (unsigned long) ret_from_fork; gprs 114 arch/s390/kernel/process.c frame->sf.gprs[9] = (unsigned long) frame; gprs 124 arch/s390/kernel/process.c frame->childregs.gprs[9] = new_stackp; /* function */ gprs 125 arch/s390/kernel/process.c frame->childregs.gprs[10] = arg; gprs 126 arch/s390/kernel/process.c frame->childregs.gprs[11] = (unsigned long) do_exit; gprs 132 arch/s390/kernel/process.c frame->childregs.gprs[2] = 0; /* child returns 0 on fork. */ gprs 135 arch/s390/kernel/process.c frame->childregs.gprs[15] = new_stackp; gprs 205 arch/s390/kernel/process.c return_address = READ_ONCE_NOCHECK(sf->gprs[8]); gprs 848 arch/s390/kernel/ptrace.c regs->gprs[2] >= NR_syscalls)) { gprs 865 arch/s390/kernel/ptrace.c trace_sys_enter(regs, regs->gprs[2]); gprs 870 arch/s390/kernel/ptrace.c audit_syscall_entry(regs->gprs[2], regs->orig_gpr2 & mask, gprs 871 arch/s390/kernel/ptrace.c regs->gprs[3] &mask, regs->gprs[4] &mask, gprs 872 arch/s390/kernel/ptrace.c regs->gprs[5] &mask); gprs 874 arch/s390/kernel/ptrace.c return regs->gprs[2]; gprs 882 arch/s390/kernel/ptrace.c trace_sys_exit(regs, regs->gprs[2]); gprs 1497 arch/s390/kernel/ptrace.c &task_pt_regs(target)->gprs[pos / sizeof(compat_ulong_t)]; gprs 1526 arch/s390/kernel/ptrace.c &task_pt_regs(target)->gprs[pos / sizeof(compat_ulong_t)]; gprs 1696 arch/s390/kernel/ptrace.c return regs->gprs[offset]; gprs 129 arch/s390/kernel/signal.c memcpy(&user_sregs.regs.gprs, ®s->gprs, sizeof(sregs->regs.gprs)); gprs 166 arch/s390/kernel/signal.c memcpy(®s->gprs, &user_sregs.regs.gprs, sizeof(sregs->regs.gprs)); gprs 221 arch/s390/kernel/signal.c (struct sigframe __user *) regs->gprs[15]; gprs 233 arch/s390/kernel/signal.c return regs->gprs[2]; gprs 243 arch/s390/kernel/signal.c (struct rt_sigframe __user *)regs->gprs[15]; gprs 257 arch/s390/kernel/signal.c return regs->gprs[2]; gprs 272 arch/s390/kernel/signal.c sp = regs->gprs[15]; gprs 309 arch/s390/kernel/signal.c if (__put_user(regs->gprs[15], (addr_t __user *) frame)) gprs 326 arch/s390/kernel/signal.c if (__put_user(regs->gprs[2], (int __user *) &frame->signo)) gprs 346 arch/s390/kernel/signal.c regs->gprs[14] = restorer; gprs 347 arch/s390/kernel/signal.c regs->gprs[15] = (unsigned long) frame; gprs 354 arch/s390/kernel/signal.c regs->gprs[2] = sig; gprs 355 arch/s390/kernel/signal.c regs->gprs[3] = (unsigned long) &frame->sc; gprs 362 arch/s390/kernel/signal.c regs->gprs[4] = regs->int_code & 127; gprs 363 arch/s390/kernel/signal.c regs->gprs[5] = regs->int_parm_long; gprs 364 arch/s390/kernel/signal.c regs->gprs[6] = current->thread.last_break; gprs 393 arch/s390/kernel/signal.c if (__put_user(regs->gprs[15], (addr_t __user *) frame)) gprs 417 arch/s390/kernel/signal.c __save_altstack(&frame->uc.uc_stack, regs->gprs[15]) || gprs 424 arch/s390/kernel/signal.c regs->gprs[14] = restorer; gprs 425 arch/s390/kernel/signal.c regs->gprs[15] = (unsigned long) frame; gprs 432 arch/s390/kernel/signal.c regs->gprs[2] = ksig->sig; gprs 433 arch/s390/kernel/signal.c regs->gprs[3] = (unsigned long) &frame->info; gprs 434 arch/s390/kernel/signal.c regs->gprs[4] = (unsigned long) &frame->uc; gprs 435 arch/s390/kernel/signal.c regs->gprs[5] = current->thread.last_break; gprs 480 arch/s390/kernel/signal.c switch (regs->gprs[2]) { gprs 483 arch/s390/kernel/signal.c regs->gprs[2] = -EINTR; gprs 487 arch/s390/kernel/signal.c regs->gprs[2] = -EINTR; gprs 492 arch/s390/kernel/signal.c regs->gprs[2] = regs->orig_gpr2; gprs 513 arch/s390/kernel/signal.c switch (regs->gprs[2]) { gprs 522 arch/s390/kernel/signal.c regs->gprs[2] = regs->orig_gpr2; gprs 53 arch/s390/kernel/unwind_bc.c sp = READ_ONCE_NOCHECK(regs->gprs[15]); gprs 60 arch/s390/kernel/unwind_bc.c ip = READ_ONCE_NOCHECK(sf->gprs[8]); gprs 78 arch/s390/kernel/unwind_bc.c ip = READ_ONCE_NOCHECK(sf->gprs[8]); gprs 150 arch/s390/kernel/unwind_bc.c ip = READ_ONCE_NOCHECK(sf->gprs[8]); gprs 93 arch/s390/kernel/uprobes.c regs->gprs[reg] += utask->vaddr - utask->xol_vaddr; gprs 148 arch/s390/kernel/uprobes.c orig = regs->gprs[14]; gprs 149 arch/s390/kernel/uprobes.c regs->gprs[14] = trampoline; gprs 278 arch/s390/kernel/uprobes.c rx = (union split_register *) ®s->gprs[insn->reg]; gprs 26 arch/s390/kvm/diag.c start = vcpu->run->s.regs.gprs[(vcpu->arch.sie_block->ipa & 0xf0) >> 4]; gprs 27 arch/s390/kvm/diag.c end = vcpu->run->s.regs.gprs[vcpu->arch.sie_block->ipa & 0xf] + PAGE_SIZE; gprs 77 arch/s390/kvm/diag.c vcpu->run->s.regs.gprs[rx]); gprs 79 arch/s390/kvm/diag.c if (vcpu->run->s.regs.gprs[rx] & 7) gprs 81 arch/s390/kvm/diag.c rc = read_guest(vcpu, vcpu->run->s.regs.gprs[rx], rx, &parm, sizeof(parm)); gprs 98 arch/s390/kvm/diag.c vcpu->run->s.regs.gprs[ry] = 8; gprs 112 arch/s390/kvm/diag.c vcpu->run->s.regs.gprs[ry] = 0; gprs 126 arch/s390/kvm/diag.c vcpu->run->s.regs.gprs[ry] = 0; gprs 132 arch/s390/kvm/diag.c vcpu->run->s.regs.gprs[ry] = 4; gprs 159 arch/s390/kvm/diag.c tid = vcpu->run->s.regs.gprs[(vcpu->arch.sie_block->ipa & 0xf0) >> 4]; gprs 175 arch/s390/kvm/diag.c unsigned long subcode = vcpu->run->s.regs.gprs[reg] & 0xffff; gprs 209 arch/s390/kvm/diag.c (vcpu->run->s.regs.gprs[1] != KVM_S390_VIRTIO_CCW_NOTIFY)) gprs 213 arch/s390/kvm/diag.c (u32) vcpu->run->s.regs.gprs[2], gprs 214 arch/s390/kvm/diag.c (u32) vcpu->run->s.regs.gprs[3], gprs 215 arch/s390/kvm/diag.c vcpu->run->s.regs.gprs[4]); gprs 224 arch/s390/kvm/diag.c vcpu->run->s.regs.gprs[2] & 0xffffffff, gprs 225 arch/s390/kvm/diag.c 8, &vcpu->run->s.regs.gprs[3], gprs 226 arch/s390/kvm/diag.c vcpu->run->s.regs.gprs[4]); gprs 233 arch/s390/kvm/diag.c vcpu->run->s.regs.gprs[2] = ret; gprs 485 arch/s390/kvm/guestdbg.c *addr = base ? vcpu->run->s.regs.gprs[base] : 0; gprs 486 arch/s390/kvm/guestdbg.c *addr += index ? vcpu->run->s.regs.gprs[index] : 0; gprs 322 arch/s390/kvm/intercept.c rc = guest_translate_address(vcpu, vcpu->run->s.regs.gprs[reg2], gprs 331 arch/s390/kvm/intercept.c rc = guest_translate_address(vcpu, vcpu->run->s.regs.gprs[reg1], gprs 371 arch/s390/kvm/intercept.c code = vcpu->run->s.regs.gprs[reg1]; gprs 372 arch/s390/kvm/intercept.c addr = vcpu->run->s.regs.gprs[reg2]; gprs 406 arch/s390/kvm/intercept.c vcpu->run->s.regs.gprs[reg2 + 1] = rc; gprs 621 arch/s390/kvm/interrupt.c vcpu->run->s.regs.gprs, 128); gprs 3303 arch/s390/kvm/kvm-s390.c memcpy(&vcpu->run->s.regs.gprs, ®s->gprs, sizeof(regs->gprs)); gprs 3311 arch/s390/kvm/kvm-s390.c memcpy(®s->gprs, &vcpu->run->s.regs.gprs, sizeof(regs->gprs)); gprs 3705 arch/s390/kvm/kvm-s390.c vcpu->arch.sie_block->gg14 = vcpu->run->s.regs.gprs[14]; gprs 3706 arch/s390/kvm/kvm-s390.c vcpu->arch.sie_block->gg15 = vcpu->run->s.regs.gprs[15]; gprs 3787 arch/s390/kvm/kvm-s390.c vcpu->run->s.regs.gprs[14] = vcpu->arch.sie_block->gg14; gprs 3788 arch/s390/kvm/kvm-s390.c vcpu->run->s.regs.gprs[15] = vcpu->arch.sie_block->gg15; gprs 3853 arch/s390/kvm/kvm-s390.c vcpu->run->s.regs.gprs); gprs 4095 arch/s390/kvm/kvm-s390.c vcpu->run->s.regs.gprs, 128); gprs 107 arch/s390/kvm/kvm-s390.h return (base2 ? vcpu->run->s.regs.gprs[base2] : 0) + disp2; gprs 119 arch/s390/kvm/kvm-s390.h *address1 = (base1 ? vcpu->run->s.regs.gprs[base1] : 0) + disp1; gprs 120 arch/s390/kvm/kvm-s390.h *address2 = (base2 ? vcpu->run->s.regs.gprs[base2] : 0) + disp2; gprs 148 arch/s390/kvm/kvm-s390.h return (base2 ? vcpu->run->s.regs.gprs[base2] : 0) + (long)(int)disp2; gprs 159 arch/s390/kvm/kvm-s390.h return (base2 ? vcpu->run->s.regs.gprs[base2] : 0) + disp2; gprs 265 arch/s390/kvm/priv.c gaddr = vcpu->run->s.regs.gprs[reg2] & PAGE_MASK; gprs 289 arch/s390/kvm/priv.c vcpu->run->s.regs.gprs[reg1] &= ~0xff; gprs 290 arch/s390/kvm/priv.c vcpu->run->s.regs.gprs[reg1] |= key; gprs 312 arch/s390/kvm/priv.c gaddr = vcpu->run->s.regs.gprs[reg2] & PAGE_MASK; gprs 370 arch/s390/kvm/priv.c key = vcpu->run->s.regs.gprs[reg1] & 0xfe; gprs 371 arch/s390/kvm/priv.c start = vcpu->run->s.regs.gprs[reg2] & PAGE_MASK; gprs 412 arch/s390/kvm/priv.c vcpu->run->s.regs.gprs[reg1] &= ~0xff00UL; gprs 413 arch/s390/kvm/priv.c vcpu->run->s.regs.gprs[reg1] |= (u64) oldkey << 8; gprs 418 arch/s390/kvm/priv.c vcpu->run->s.regs.gprs[reg2] &= ~PAGE_MASK; gprs 420 arch/s390/kvm/priv.c vcpu->run->s.regs.gprs[reg2] &= ~0xfffff000UL; gprs 422 arch/s390/kvm/priv.c vcpu->run->s.regs.gprs[reg2] |= end; gprs 449 arch/s390/kvm/priv.c addr = vcpu->run->s.regs.gprs[reg2] & PAGE_MASK; gprs 464 arch/s390/kvm/priv.c vcpu->run->s.regs.gprs[0] = 0; gprs 542 arch/s390/kvm/priv.c if (vcpu->run->s.regs.gprs[1]) gprs 544 arch/s390/kvm/priv.c vcpu->run->s.regs.gprs[1]); gprs 632 arch/s390/kvm/priv.c reg0 = vcpu->run->s.regs.gprs[0]; gprs 666 arch/s390/kvm/priv.c if (!ret && vcpu->run->s.regs.gprs[1] & 0x00ff0000) gprs 676 arch/s390/kvm/priv.c memcpy(&vcpu->run->s.regs.gprs[1], &status, sizeof(status)); gprs 846 arch/s390/kvm/priv.c int fc = (vcpu->run->s.regs.gprs[0] & 0xf0000000) >> 28; gprs 847 arch/s390/kvm/priv.c int sel1 = vcpu->run->s.regs.gprs[0] & 0xff; gprs 848 arch/s390/kvm/priv.c int sel2 = vcpu->run->s.regs.gprs[1] & 0xffff; gprs 865 arch/s390/kvm/priv.c if (vcpu->run->s.regs.gprs[0] & 0x0fffff00 gprs 866 arch/s390/kvm/priv.c || vcpu->run->s.regs.gprs[1] & 0xffff0000) gprs 870 arch/s390/kvm/priv.c vcpu->run->s.regs.gprs[0] = 3 << 28; gprs 911 arch/s390/kvm/priv.c vcpu->run->s.regs.gprs[0] = 0; gprs 987 arch/s390/kvm/priv.c vcpu->run->s.regs.gprs[reg1] &= 0xffffffff00000000UL; gprs 988 arch/s390/kvm/priv.c vcpu->run->s.regs.gprs[reg1] |= vcpu->arch.sie_block->gpsw.mask >> 32; gprs 990 arch/s390/kvm/priv.c vcpu->run->s.regs.gprs[reg2] &= 0xffffffff00000000UL; gprs 991 arch/s390/kvm/priv.c vcpu->run->s.regs.gprs[reg2] |= gprs 1024 arch/s390/kvm/priv.c if (vcpu->run->s.regs.gprs[reg1] & PFMF_RESERVED) gprs 1028 arch/s390/kvm/priv.c if (vcpu->run->s.regs.gprs[reg1] & PFMF_NQ && gprs 1033 arch/s390/kvm/priv.c if (vcpu->run->s.regs.gprs[reg1] & PFMF_SK && gprs 1035 arch/s390/kvm/priv.c mr = vcpu->run->s.regs.gprs[reg1] & PFMF_MR; gprs 1036 arch/s390/kvm/priv.c mc = vcpu->run->s.regs.gprs[reg1] & PFMF_MC; gprs 1039 arch/s390/kvm/priv.c nq = vcpu->run->s.regs.gprs[reg1] & PFMF_NQ; gprs 1040 arch/s390/kvm/priv.c key = vcpu->run->s.regs.gprs[reg1] & PFMF_KEY; gprs 1041 arch/s390/kvm/priv.c start = vcpu->run->s.regs.gprs[reg2] & PAGE_MASK; gprs 1044 arch/s390/kvm/priv.c if (vcpu->run->s.regs.gprs[reg1] & PFMF_CF) { gprs 1049 arch/s390/kvm/priv.c switch (vcpu->run->s.regs.gprs[reg1] & PFMF_FSC) { gprs 1079 arch/s390/kvm/priv.c if (vcpu->run->s.regs.gprs[reg1] & PFMF_CF) { gprs 1084 arch/s390/kvm/priv.c if (vcpu->run->s.regs.gprs[reg1] & PFMF_SK) { gprs 1107 arch/s390/kvm/priv.c if (vcpu->run->s.regs.gprs[reg1] & PFMF_FSC) { gprs 1109 arch/s390/kvm/priv.c vcpu->run->s.regs.gprs[reg2] = end; gprs 1111 arch/s390/kvm/priv.c vcpu->run->s.regs.gprs[reg2] &= ~0xffffffffUL; gprs 1113 arch/s390/kvm/priv.c vcpu->run->s.regs.gprs[reg2] |= end; gprs 1134 arch/s390/kvm/priv.c gfn = vcpu->run->s.regs.gprs[r2] >> PAGE_SHIFT; gprs 1144 arch/s390/kvm/priv.c vcpu->run->s.regs.gprs[r1] = res; /* Exception Indication */ gprs 1161 arch/s390/kvm/priv.c vcpu->run->s.regs.gprs[r1] = res; gprs 1509 arch/s390/kvm/priv.c if (vcpu->run->s.regs.gprs[0] & 0x00000000ffff0000) gprs 1513 arch/s390/kvm/priv.c value = vcpu->run->s.regs.gprs[0] & 0x000000000000ffff; gprs 414 arch/s390/kvm/sigp.c u16 cpu_addr = vcpu->run->s.regs.gprs[r3]; gprs 427 arch/s390/kvm/sigp.c parameter = vcpu->run->s.regs.gprs[r1]; gprs 429 arch/s390/kvm/sigp.c parameter = vcpu->run->s.regs.gprs[r1 + 1]; gprs 436 arch/s390/kvm/sigp.c &vcpu->run->s.regs.gprs[r1]); gprs 441 arch/s390/kvm/sigp.c &vcpu->run->s.regs.gprs[r1]); gprs 463 arch/s390/kvm/sigp.c u16 cpu_addr = vcpu->run->s.regs.gprs[r3]; gprs 1036 arch/s390/kvm/vsie.c rc = sie64a(scb_s, vcpu->run->s.regs.gprs); gprs 970 arch/x86/events/intel/ds.c bool gprs, tsx_weight; gprs 985 arch/x86/events/intel/ds.c gprs = (sample_type & PERF_SAMPLE_REGS_INTR) && gprs 992 arch/x86/events/intel/ds.c if (gprs || (attr->precise_ip < 2) || tsx_weight) gprs 1482 arch/x86/events/intel/ds.c struct pebs_gprs *gprs) gprs 1484 arch/x86/events/intel/ds.c regs->ax = gprs->ax; gprs 1485 arch/x86/events/intel/ds.c regs->bx = gprs->bx; gprs 1486 arch/x86/events/intel/ds.c regs->cx = gprs->cx; gprs 1487 arch/x86/events/intel/ds.c regs->dx = gprs->dx; gprs 1488 arch/x86/events/intel/ds.c regs->si = gprs->si; gprs 1489 arch/x86/events/intel/ds.c regs->di = gprs->di; gprs 1490 arch/x86/events/intel/ds.c regs->bp = gprs->bp; gprs 1491 arch/x86/events/intel/ds.c regs->sp = gprs->sp; gprs 1493 arch/x86/events/intel/ds.c regs->r8 = gprs->r8; gprs 1494 arch/x86/events/intel/ds.c regs->r9 = gprs->r9; gprs 1495 arch/x86/events/intel/ds.c regs->r10 = gprs->r10; gprs 1496 arch/x86/events/intel/ds.c regs->r11 = gprs->r11; gprs 1497 arch/x86/events/intel/ds.c regs->r12 = gprs->r12; gprs 1498 arch/x86/events/intel/ds.c regs->r13 = gprs->r13; gprs 1499 arch/x86/events/intel/ds.c regs->r14 = gprs->r14; gprs 1500 arch/x86/events/intel/ds.c regs->r15 = gprs->r15; gprs 1519 arch/x86/events/intel/ds.c struct pebs_gprs *gprs = NULL; gprs 1561 arch/x86/events/intel/ds.c gprs = next_record; gprs 1562 arch/x86/events/intel/ds.c next_record = gprs + 1; gprs 1565 arch/x86/events/intel/ds.c set_linear_ip(regs, gprs->ip); gprs 1570 arch/x86/events/intel/ds.c adaptive_pebs_save_regs(regs, gprs); gprs 1586 arch/x86/events/intel/ds.c gprs ? gprs->ax : 0); gprs 43 arch/x86/kernel/cpu/amd.c u32 gprs[8] = { 0 }; gprs 49 arch/x86/kernel/cpu/amd.c gprs[1] = msr; gprs 50 arch/x86/kernel/cpu/amd.c gprs[7] = 0x9c5a203a; gprs 52 arch/x86/kernel/cpu/amd.c err = rdmsr_safe_regs(gprs); gprs 54 arch/x86/kernel/cpu/amd.c *p = gprs[0] | ((u64)gprs[2] << 32); gprs 61 arch/x86/kernel/cpu/amd.c u32 gprs[8] = { 0 }; gprs 66 arch/x86/kernel/cpu/amd.c gprs[0] = (u32)val; gprs 67 arch/x86/kernel/cpu/amd.c gprs[1] = msr; gprs 68 arch/x86/kernel/cpu/amd.c gprs[2] = val >> 32; gprs 69 arch/x86/kernel/cpu/amd.c gprs[7] = 0x9c5a203a; gprs 71 arch/x86/kernel/cpu/amd.c return wrmsr_safe_regs(gprs); gprs 288 drivers/s390/crypto/vfio_ap_ops.c apqn = vcpu->run->s.regs.gprs[0] & 0xffff; gprs 300 drivers/s390/crypto/vfio_ap_ops.c status = vcpu->run->s.regs.gprs[1]; gprs 305 drivers/s390/crypto/vfio_ap_ops.c vcpu->run->s.regs.gprs[2]); gprs 310 drivers/s390/crypto/vfio_ap_ops.c memcpy(&vcpu->run->s.regs.gprs[1], &qstatus, sizeof(qstatus)); gprs 311 drivers/s390/crypto/vfio_ap_ops.c vcpu->run->s.regs.gprs[1] >>= 32; gprs 353 include/uapi/linux/kvm.h __u64 gprs[32]; gprs 177 tools/arch/s390/include/uapi/asm/kvm.h __u64 gprs[16]; gprs 246 tools/arch/s390/include/uapi/asm/kvm.h __u64 gprs[16]; /* general purpose registers */ gprs 284 tools/arch/s390/include/uapi/asm/ptrace.h unsigned long gprs[NUM_GPRS]; gprs 296 tools/arch/s390/include/uapi/asm/ptrace.h unsigned long gprs[NUM_GPRS]; gprs 442 tools/arch/s390/include/uapi/asm/ptrace.h unsigned long gprs[NUM_GPRS]; gprs 353 tools/include/uapi/linux/kvm.h __u64 gprs[32]; gprs 43 tools/perf/arch/s390/util/dwarf-regs.c return offsetof(user_pt_regs, gprs) + 8 * gpr; gprs 415 tools/testing/selftests/bpf/bpf_helpers.h #define PT_REGS_PARM1(x) (((PT_REGS_S390 *)(x))->gprs[2]) gprs 416 tools/testing/selftests/bpf/bpf_helpers.h #define PT_REGS_PARM2(x) (((PT_REGS_S390 *)(x))->gprs[3]) gprs 417 tools/testing/selftests/bpf/bpf_helpers.h #define PT_REGS_PARM3(x) (((PT_REGS_S390 *)(x))->gprs[4]) gprs 418 tools/testing/selftests/bpf/bpf_helpers.h #define PT_REGS_PARM4(x) (((PT_REGS_S390 *)(x))->gprs[5]) gprs 419 tools/testing/selftests/bpf/bpf_helpers.h #define PT_REGS_PARM5(x) (((PT_REGS_S390 *)(x))->gprs[6]) gprs 420 tools/testing/selftests/bpf/bpf_helpers.h #define PT_REGS_RET(x) (((PT_REGS_S390 *)(x))->gprs[14]) gprs 422 tools/testing/selftests/bpf/bpf_helpers.h #define PT_REGS_FP(x) (((PT_REGS_S390 *)(x))->gprs[11]) gprs 423 tools/testing/selftests/bpf/bpf_helpers.h #define PT_REGS_RC(x) (((PT_REGS_S390 *)(x))->gprs[2]) gprs 424 tools/testing/selftests/bpf/bpf_helpers.h #define PT_REGS_SP(x) (((PT_REGS_S390 *)(x))->gprs[15]) gprs 259 tools/testing/selftests/kvm/lib/s390x/processor.c regs.gprs[15] = stack_vaddr + (DEFAULT_STACK_PGS * getpagesize()) - 160; gprs 47 tools/testing/selftests/kvm/lib/s390x/ucall.c memcpy(&ucall, addr_gva2hva(vm, run->s.regs.gprs[reg]), gprs 47 tools/testing/selftests/kvm/s390x/sync_regs_test.c REG_COMPARE(gprs[i]); gprs 140 tools/testing/selftests/kvm/s390x/sync_regs_test.c run->s.regs.gprs[11] = 0xBAD1DEA; gprs 151 tools/testing/selftests/kvm/s390x/sync_regs_test.c TEST_ASSERT(run->s.regs.gprs[11] == 0xBAD1DEA + 1, gprs 153 tools/testing/selftests/kvm/s390x/sync_regs_test.c run->s.regs.gprs[11]); gprs 169 tools/testing/selftests/kvm/s390x/sync_regs_test.c run->s.regs.gprs[11] = 0xDEADBEEF; gprs 176 tools/testing/selftests/kvm/s390x/sync_regs_test.c TEST_ASSERT(run->s.regs.gprs[11] != 0xDEADBEEF, gprs 178 tools/testing/selftests/kvm/s390x/sync_regs_test.c run->s.regs.gprs[11]); gprs 35 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-fpu.c long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *vss); gprs 35 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-gpr.c long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *vss); gprs 40 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-gpr.c static long gprs[] = { gprs 57 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-gpr.c fail = (ucp->uc_mcontext.gp_regs[R14 + i] != gprs[i]); gprs 61 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-gpr.c R14 + i, ucp->uc_mcontext.gp_regs[R14 + i], gprs[i]); gprs 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]); gprs 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]); gprs 101 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-gpr.c rc = tm_signal_self_context_load(pid, gprs, NULL, NULL, NULL); gprs 36 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-vmx.c long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *vss); gprs 37 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-vsx.c long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *vss); gprs 1601 tools/testing/selftests/seccomp/seccomp_bpf.c # define SYSCALL_NUM gprs[2] gprs 1602 tools/testing/selftests/seccomp/seccomp_bpf.c # define SYSCALL_RET gprs[2]