Home
last modified time | relevance | path

Searched refs:UREG_FP (Results 1 – 24 of 24) sorted by relevance

/linux-6.1.9/arch/sparc/kernel/
Dsignal_32.c88 sf = (struct signal_frame __user *) regs->u_regs[UREG_FP]; in do_sigreturn()
94 if (get_user(ufp, &sf->info.si_regs.u_regs[UREG_FP])) in do_sigreturn()
151 sf = (struct rt_signal_frame __user *) regs->u_regs[UREG_FP]; in do_rt_sigreturn()
155 if (get_user(ufp, &sf->regs.u_regs[UREG_FP])) in do_rt_sigreturn()
202 unsigned long sp = regs->u_regs[UREG_FP]; in get_sigframe()
279 err |= __copy_to_user(sf, (char *) regs->u_regs[UREG_FP], in setup_frame()
291 regs->u_regs[UREG_FP] = (unsigned long) sf; in setup_frame()
373 err |= __save_altstack(&sf->stack, regs->u_regs[UREG_FP]); in setup_rt_frame()
376 err |= __copy_to_user(sf, (char *) regs->u_regs[UREG_FP], in setup_rt_frame()
390 regs->u_regs[UREG_FP] = (unsigned long) sf; in setup_rt_frame()
Dprocess.c25 .stack = regs->u_regs[UREG_FP], in sparc_fork()
50 .stack = regs->u_regs[UREG_FP], in sparc_vfork()
97 args.stack = regs->u_regs[UREG_FP]; in sparc_clone()
Dsignal32.c99 regs->u_regs[UREG_FP] &= 0x00000000ffffffffUL; in do_sigreturn32()
100 sf = (struct signal_frame32 __user *) regs->u_regs[UREG_FP]; in do_sigreturn32()
106 if (get_user(ufp, &sf->info.si_regs.u_regs[UREG_FP])) in do_sigreturn32()
187 regs->u_regs[UREG_FP] &= 0x00000000ffffffffUL; in do_rt_sigreturn32()
188 sf = (struct rt_signal_frame32 __user *) regs->u_regs[UREG_FP]; in do_rt_sigreturn32()
194 if (get_user(ufp, &sf->regs.u_regs[UREG_FP])) in do_rt_sigreturn32()
264 regs->u_regs[UREG_FP] &= 0x00000000ffffffffUL; in get_sigframe()
265 sp = regs->u_regs[UREG_FP]; in get_sigframe()
438 (u32 __user *)(regs->u_regs[UREG_FP]), in setup_frame32()
455 regs->u_regs[UREG_FP] = (unsigned long) sf; in setup_frame32()
[all …]
Dprocess_64.c184 show_stack(current, (unsigned long *)regs->u_regs[UREG_FP], KERN_DEFAULT); in show_regs()
208 (regs->u_regs[UREG_FP] + STACK_BIAS); in __global_reg_self()
602 regs->u_regs[UREG_FP] &= 0x00000000ffffffffUL; in copy_thread()
604 t->kregs->u_regs[UREG_FP] = sp; in copy_thread()
607 if (sp != regs->u_regs[UREG_FP]) { in copy_thread()
610 csp = clone_stackframe(sp, regs->u_regs[UREG_FP]); in copy_thread()
613 t->kregs->u_regs[UREG_FP] = csp; in copy_thread()
Dunaligned_32.c102 win = (struct reg_window32 *) regs->u_regs[UREG_FP]; in fetch_reg()
115 win = (struct reg_window32 __user *) regs->u_regs[UREG_FP]; in safe_fetch_reg()
132 win = (struct reg_window32 *) regs->u_regs[UREG_FP]; in fetch_reg_addr()
Dprocess_32.c314 childregs->u_regs[UREG_FP] = sp;
319 if (sp != regs->u_regs[UREG_FP]) {
330 regs->u_regs[UREG_FP];
346 childregs->u_regs[UREG_FP] = (unsigned long)childstack;
Dsignal_64.c269 (regs->u_regs [UREG_FP] + STACK_BIAS); in do_rt_sigreturn()
275 if (get_user(ufp, &sf->regs.u_regs[UREG_FP])) in do_rt_sigreturn()
327 unsigned long sp = regs->u_regs[UREG_FP] + STACK_BIAS; in get_sigframe()
404 err |= __save_altstack(&sf->stack, regs->u_regs[UREG_FP]); in setup_rt_frame()
410 (u64 __user *)(regs->u_regs[UREG_FP] + in setup_rt_frame()
429 regs->u_regs[UREG_FP] = ((unsigned long) sf) - STACK_BIAS; in setup_rt_frame()
Dkgdb_32.c28 win = (struct reg_window32 *) regs->u_regs[UREG_FP]; in pt_regs_to_gdb_regs()
103 win = (struct reg_window32 *) regs->u_regs[UREG_FP]; in gdb_regs_to_pt_regs()
Dkgdb_64.c28 win = (struct reg_window *) (regs->u_regs[UREG_FP] + STACK_BIAS); in pt_regs_to_gdb_regs()
109 win = (struct reg_window *) (regs->u_regs[UREG_FP] + STACK_BIAS); in gdb_regs_to_pt_regs()
Dunaligned_64.c127 fp = regs->u_regs[UREG_FP]; in fetch_reg()
152 fp = regs->u_regs[UREG_FP]; in fetch_reg_addr()
415 unsigned long fp = regs->u_regs[UREG_FP]; in handle_popc()
584 } else if (!test_thread_64bit_stack(regs->u_regs[UREG_FP])) { in handle_ld_nf()
Dvisemul.c158 fp = regs->u_regs[UREG_FP]; in fetch_reg()
179 unsigned long fp = regs->u_regs[UREG_FP]; in __fetch_reg_addr_user()
213 if (!test_thread_64bit_stack(regs->u_regs[UREG_FP])) in store_reg()
Duprobes.c140 unsigned long fp = regs->u_regs[UREG_FP]; in retpc_fixup()
Dkprobes.c258 (regs->u_regs[UREG_FP] + STACK_BIAS); in retpc_fixup()
Dtraps_32.c72 struct reg_window32 *rw = (struct reg_window32 *)regs->u_regs[UREG_FP]; in die_if_kernel()
Dperf_event.c1802 ufp = regs->u_regs[UREG_FP] + STACK_BIAS; in perf_callchain_user_64()
1826 ufp = regs->u_regs[UREG_FP] & 0xffffffffUL; in perf_callchain_user_32()
Dtraps_64.c2539 (regs->u_regs[UREG_FP] + STACK_BIAS); in die_if_kernel()
/linux-6.1.9/arch/sparc/include/asm/
Dptrace.h70 #define user_stack_pointer(regs) ((regs)->u_regs[UREG_FP])
145 #define user_stack_pointer(regs) ((regs)->u_regs[UREG_FP])
Dprocessor_32.h87 #define KSTK_ESP(tsk) ((tsk)->thread.kregs->u_regs[UREG_FP])
Dprocessor_64.h183 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->u_regs[UREG_FP])
/linux-6.1.9/arch/sparc/math-emu/
Dmath_64.c324 else if (!test_thread_64bit_stack(regs->u_regs[UREG_FP])) { in do_mathemu()
327 win32 = (struct reg_window32 __user *)((unsigned long)((u32)regs->u_regs[UREG_FP])); in do_mathemu()
332 win = (struct reg_window __user *)(regs->u_regs[UREG_FP] + STACK_BIAS); in do_mathemu()
/linux-6.1.9/arch/sparc/mm/
Dfault_32.c72 (void *)regs->u_regs[UREG_FP], code); in show_signal_msg()
389 sp = regs->u_regs[UREG_FP]; in window_ret_fault()
Dfault_64.c150 (void *)regs->u_regs[UREG_FP], code); in show_signal_msg()
/linux-6.1.9/arch/sparc/include/uapi/asm/
Dptrace.h158 #define UREG_FP UREG_I6 macro
/linux-6.1.9/tools/lib/bpf/
Dbpf_tracing.h220 #define __PT_SP_REG u_regs[UREG_FP]