Home
last modified time | relevance | path

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

/arch/x86/kernel/
Dperf_regs.c136 struct pt_regs *user_regs = task_pt_regs(current); in perf_get_regs_user() local
144 if (regs->sp > (unsigned long)&user_regs->r11 && in perf_get_regs_user()
145 regs->sp <= (unsigned long)(user_regs + 1)) { in perf_get_regs_user()
155 regs_user_copy->ip = user_regs->ip; in perf_get_regs_user()
156 regs_user_copy->ax = user_regs->ax; in perf_get_regs_user()
157 regs_user_copy->cx = user_regs->cx; in perf_get_regs_user()
158 regs_user_copy->dx = user_regs->dx; in perf_get_regs_user()
159 regs_user_copy->si = user_regs->si; in perf_get_regs_user()
160 regs_user_copy->di = user_regs->di; in perf_get_regs_user()
161 regs_user_copy->r8 = user_regs->r8; in perf_get_regs_user()
[all …]
/arch/x86/xen/
Dsmp_pv.c306 ctxt->user_regs.fs = __KERNEL_PERCPU; in cpu_initialize_context()
307 ctxt->user_regs.gs = __KERNEL_STACK_CANARY; in cpu_initialize_context()
316 ctxt->user_regs.eip = (unsigned long)asm_cpu_bringup_and_idle; in cpu_initialize_context()
318 ctxt->user_regs.eflags = 0x1000; /* IOPL_RING1 */ in cpu_initialize_context()
319 ctxt->user_regs.ds = __USER_DS; in cpu_initialize_context()
320 ctxt->user_regs.es = __USER_DS; in cpu_initialize_context()
321 ctxt->user_regs.ss = __KERNEL_DS; in cpu_initialize_context()
322 ctxt->user_regs.cs = __KERNEL_CS; in cpu_initialize_context()
323 ctxt->user_regs.esp = (unsigned long)task_pt_regs(idle); in cpu_initialize_context()
/arch/openrisc/include/asm/
Dprocessor.h57 #define user_regs(thread_info) (((struct pt_regs *)((unsigned long)(thread_info) + THREAD_SIZE - S… macro
63 #define task_pt_regs(task) user_regs(task_thread_info(task))
/arch/nds32/kernel/
Dptrace.c19 struct user_pt_regs *uregs = &task_pt_regs(target)->user_regs; in gpr_get()
28 struct user_pt_regs newregs = task_pt_regs(target)->user_regs; in gpr_set()
34 task_pt_regs(target)->user_regs = newregs; in gpr_set()
/arch/powerpc/include/asm/
Dperf_event.h27 #define perf_arch_bpf_user_pt_regs(regs) &regs->user_regs
Dptrace.h29 struct user_pt_regs user_regs; member
/arch/sh/include/asm/
Dsuspend.h11 struct pt_regs user_regs; member
/arch/nds32/include/asm/
Dptrace.h23 struct user_pt_regs user_regs; member
Delf.h78 *(struct user_pt_regs *)&(dest) = (regs)->user_regs;
/arch/s390/include/asm/
Dperf_event.h42 #define perf_arch_bpf_user_pt_regs(regs) &regs->user_regs
Dptrace.h78 user_pt_regs user_regs; member
/arch/arm64/kernel/
Darmv8_deprecated.c400 address = (u32)regs->user_regs.regs[rn]; in swp_handler()
401 data = (u32)regs->user_regs.regs[rt2]; in swp_handler()
420 regs->user_regs.regs[destreg] = data; in swp_handler()
Ddebug-monitors.c156 #define set_regs_spsr_ss(r) set_user_regs_spsr_ss(&(r)->user_regs)
157 #define clear_regs_spsr_ss(r) clear_user_regs_spsr_ss(&(r)->user_regs)
Dsignal.c506 err |= !valid_user_regs(&regs->user_regs, current); in restore_sigframe()
807 ret |= !valid_user_regs(&regs->user_regs, current); in handle_signal()
Dptrace.c596 struct user_pt_regs *uregs = &task_pt_regs(target)->user_regs; in gpr_get()
605 struct user_pt_regs newregs = task_pt_regs(target)->user_regs; in gpr_set()
614 task_pt_regs(target)->user_regs = newregs; in gpr_set()
1348 if (valid_user_regs(&newregs.user_regs, target)) in compat_gpr_set()
Dsignal32.c223 err |= !valid_user_regs(&regs->user_regs, current); in compat_restore_sigframe()
/arch/arm64/include/asm/
Delf.h124 *(struct user_pt_regs *)&(dest) = (regs)->user_regs;
Dperf_event.h216 #define perf_arch_bpf_user_pt_regs(regs) &regs->user_regs
Dptrace.h162 struct user_pt_regs user_regs; member
/arch/x86/include/asm/xen/
Dinterface.h226 struct cpu_user_regs user_regs; /* User-level CPU registers */ member