Home
last modified time | relevance | path

Searched refs:user_regs (Results 1 – 15 of 15) sorted by relevance

/arch/x86/kernel/
Dperf_regs.c118 struct pt_regs *user_regs = task_pt_regs(current); in perf_get_regs_user() local
126 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 …]
/arch/cris/include/asm/
Dprocessor.h43 #define user_regs(thread_info) (((struct pt_regs *)((unsigned long)(thread_info) + THREAD_SIZE)) - … macro
49 #define task_pt_regs(task) user_regs(task_thread_info(task))
/arch/openrisc/include/asm/
Dprocessor.h66 #define user_regs(thread_info) (((struct pt_regs *)((unsigned long)(thread_info) + THREAD_SIZE - S… macro
72 #define task_pt_regs(task) user_regs(task_thread_info(task))
/arch/x86/xen/
Dsmp.c407 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 …]
/arch/cris/arch-v32/kernel/
Dsignal.c469 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()
/arch/sh/include/asm/
Dsuspend.h10 struct pt_regs user_regs; member
/arch/arm64/include/asm/
Delf.h128 *(struct user_pt_regs *)&(dest) = (regs)->user_regs;
Dptrace.h110 struct user_pt_regs user_regs; member
/arch/openrisc/kernel/
Dprocess.c100 return (unsigned long)user_regs(t->stack)->pc; in thread_saved_pc()
/arch/arm64/kernel/
Darmv8_deprecated.c399 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()
Dsignal.c118 err |= !valid_user_regs(&regs->user_regs, current); in restore_sigframe()
310 ret |= !valid_user_regs(&regs->user_regs, current); in handle_signal()
Dptrace.c494 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()
Dsignal32.c359 err |= !valid_user_regs(&regs->user_regs, current); in compat_restore_sigframe()
/arch/x86/include/asm/xen/
Dinterface.h226 struct cpu_user_regs user_regs; /* User-level CPU registers */ member
/arch/cris/arch-v10/kernel/
Dentry.S95 ;; this test matches the user_regs(regs) macro