Home
last modified time | relevance | path

Searched refs:UREG_I0 (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.4/arch/sparc/include/asm/
Dsyscall.h71 long val = regs->u_regs[UREG_I0]; in syscall_get_error()
79 long val = regs->u_regs[UREG_I0]; in syscall_get_return_value()
90 regs->u_regs[UREG_I0] = -error; in syscall_set_return_value()
93 regs->u_regs[UREG_I0] = val; in syscall_set_return_value()
111 unsigned long val = regs->u_regs[UREG_I0 + j]; in syscall_get_arguments()
127 regs->u_regs[UREG_I0 + i] = args[i]; in syscall_set_arguments()
Dptrace.h78 return regs->u_regs[UREG_I0]; in regs_return_value()
/Linux-v5.4/arch/sparc/kernel/
Dsignal_64.c45 regs->u_regs[UREG_I0]; in sparc64_set_context()
94 err |= __get_user(regs->u_regs[UREG_I0], (&(*grp)[MC_O0])); in sparc64_set_context()
144 regs->u_regs[UREG_I0]; in sparc64_get_context()
192 err |= __put_user(regs->u_regs[UREG_I0], &((*grp)[MC_O0])); in sparc64_get_context()
431 regs->u_regs[UREG_I0] = ksig->sig; in setup_rt_frame()
455 switch (regs->u_regs[UREG_I0]) { in syscall_restart()
459 regs->u_regs[UREG_I0] = EINTR; in syscall_restart()
467 regs->u_regs[UREG_I0] = orig_i0; in syscall_restart()
527 switch (regs->u_regs[UREG_I0]) { in do_signal()
532 regs->u_regs[UREG_I0] = orig_i0; in do_signal()
Dsignal_32.c294 regs->u_regs[UREG_I0] = ksig->sig; in setup_frame()
393 regs->u_regs[UREG_I0] = ksig->sig; in setup_rt_frame()
435 switch(regs->u_regs[UREG_I0]) { in syscall_restart()
439 regs->u_regs[UREG_I0] = EINTR; in syscall_restart()
447 regs->u_regs[UREG_I0] = orig_i0; in syscall_restart()
502 switch (regs->u_regs[UREG_I0]) { in do_signal()
507 regs->u_regs[UREG_I0] = orig_i0; in do_signal()
Dsignal32.c454 regs->u_regs[UREG_I0] = ksig->sig; in setup_frame32()
586 regs->u_regs[UREG_I0] = ksig->sig; in setup_rt_frame32()
636 switch (regs->u_regs[UREG_I0]) { in syscall_restart32()
640 regs->u_regs[UREG_I0] = EINTR; in syscall_restart32()
648 regs->u_regs[UREG_I0] = orig_i0; in syscall_restart32()
677 switch (regs->u_regs[UREG_I0]) { in do_signal32()
682 regs->u_regs[UREG_I0] = orig_i0; in do_signal32()
Dprocess_32.c400 childregs->u_regs[UREG_I0] = current->pid;
Dptrace_64.c1126 audit_syscall_entry(regs->u_regs[UREG_G1], regs->u_regs[UREG_I0], in syscall_trace_enter()
1141 trace_sys_exit(regs, regs->u_regs[UREG_I0]); in syscall_trace_leave()
Dprocess_64.c667 t->kregs->u_regs[UREG_I0] = current->pid; in copy_thread()
Dtraps_64.c2818 regs->u_regs[UREG_I0] = tstate_to_psr(regs->tstate); in do_getpsr()
/Linux-v5.4/arch/sparc/include/uapi/asm/
Dptrace.h150 #define UREG_I0 8 macro
/Linux-v5.4/tools/testing/selftests/bpf/
Dbpf_helpers.h483 #define PT_REGS_PARM1(x) ((x)->u_regs[UREG_I0])
489 #define PT_REGS_RC(x) ((x)->u_regs[UREG_I0])