Searched refs:user_regs (Results 1 – 15 of 15) sorted by relevance
118 struct pt_regs *user_regs = task_pt_regs(current); in perf_get_regs_user() local126 if (regs->sp > (unsigned long)&user_regs->r11 && in perf_get_regs_user()127 regs->sp <= (unsigned long)(user_regs + 1)) { in perf_get_regs_user()137 regs_user_copy->ip = user_regs->ip; in perf_get_regs_user()138 regs_user_copy->ax = user_regs->ax; in perf_get_regs_user()139 regs_user_copy->cx = user_regs->cx; in perf_get_regs_user()140 regs_user_copy->dx = user_regs->dx; in perf_get_regs_user()141 regs_user_copy->si = user_regs->si; in perf_get_regs_user()142 regs_user_copy->di = user_regs->di; in perf_get_regs_user()143 regs_user_copy->r8 = user_regs->r8; in perf_get_regs_user()[all …]
43 #define user_regs(thread_info) (((struct pt_regs *)((unsigned long)(thread_info) + THREAD_SIZE)) - … macro49 #define task_pt_regs(task) user_regs(task_thread_info(task))
66 #define user_regs(thread_info) (((struct pt_regs *)((unsigned long)(thread_info) + THREAD_SIZE - S… macro72 #define task_pt_regs(task) user_regs(task_thread_info(task))
407 ctxt->user_regs.fs = __KERNEL_PERCPU; in cpu_initialize_context()408 ctxt->user_regs.gs = __KERNEL_STACK_CANARY; in cpu_initialize_context()413 ctxt->user_regs.eip = (unsigned long)cpu_bringup_and_idle; in cpu_initialize_context()415 ctxt->user_regs.eflags = 0x1000; /* IOPL_RING1 */ in cpu_initialize_context()416 ctxt->user_regs.ds = __USER_DS; in cpu_initialize_context()417 ctxt->user_regs.es = __USER_DS; in cpu_initialize_context()418 ctxt->user_regs.ss = __KERNEL_DS; in cpu_initialize_context()446 ctxt->user_regs.cs = __KERNEL_CS; in cpu_initialize_context()456 ctxt->user_regs.eip = (unsigned long)xen_pvh_early_cpu_init; in cpu_initialize_context()457 ctxt->user_regs.rdi = cpu; in cpu_initialize_context()[all …]
469 if (((user_regs(ti)->exs & 0xff00) >> 8) != SINGLE_STEP_INTR_VECT) { in ugdb_trap_user()473 user_regs(ti)->spc = 0; in ugdb_trap_user()478 if (((user_regs(ti)->exs & 0xff00) >> 8) == BREAK_8_INTR_VECT) { in ugdb_trap_user()480 if (!(user_regs(ti)->erp & 0x1)) in ugdb_trap_user()481 user_regs(ti)->erp -= 2; in ugdb_trap_user()
10 struct pt_regs user_regs; member
128 *(struct user_pt_regs *)&(dest) = (regs)->user_regs;
110 struct user_pt_regs user_regs; member
100 return (unsigned long)user_regs(t->stack)->pc; in thread_saved_pc()
399 address = (u32)regs->user_regs.regs[rn]; in swp_handler()400 data = (u32)regs->user_regs.regs[rt2]; in swp_handler()418 regs->user_regs.regs[destreg] = data; in swp_handler()
118 err |= !valid_user_regs(®s->user_regs, current); in restore_sigframe()310 ret |= !valid_user_regs(®s->user_regs, current); in handle_signal()
494 struct user_pt_regs *uregs = &task_pt_regs(target)->user_regs; in gpr_get()503 struct user_pt_regs newregs = task_pt_regs(target)->user_regs; in gpr_set()512 task_pt_regs(target)->user_regs = newregs; in gpr_set()781 if (valid_user_regs(&newregs.user_regs, target)) in compat_gpr_set()
359 err |= !valid_user_regs(®s->user_regs, current); in compat_restore_sigframe()
226 struct cpu_user_regs user_regs; /* User-level CPU registers */ member
95 ;; this test matches the user_regs(regs) macro