Searched refs:user_regs (Results 1 – 20 of 20) sorted by relevance
136 struct pt_regs *user_regs = task_pt_regs(current); in perf_get_regs_user() local144 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 …]
306 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()
57 #define user_regs(thread_info) (((struct pt_regs *)((unsigned long)(thread_info) + THREAD_SIZE - S… macro63 #define task_pt_regs(task) user_regs(task_thread_info(task))
19 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()
27 #define perf_arch_bpf_user_pt_regs(regs) ®s->user_regs
29 struct user_pt_regs user_regs; member
11 struct pt_regs user_regs; member
23 struct user_pt_regs user_regs; member
78 *(struct user_pt_regs *)&(dest) = (regs)->user_regs;
42 #define perf_arch_bpf_user_pt_regs(regs) ®s->user_regs
78 user_pt_regs user_regs; member
400 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()
156 #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)
506 err |= !valid_user_regs(®s->user_regs, current); in restore_sigframe()807 ret |= !valid_user_regs(®s->user_regs, current); in handle_signal()
596 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()
223 err |= !valid_user_regs(®s->user_regs, current); in compat_restore_sigframe()
124 *(struct user_pt_regs *)&(dest) = (regs)->user_regs;
216 #define perf_arch_bpf_user_pt_regs(regs) ®s->user_regs
162 struct user_pt_regs user_regs; member
226 struct cpu_user_regs user_regs; /* User-level CPU registers */ member