Lines Matching +full:big +full:- +full:endian +full:- +full:regs
1 /* SPDX-License-Identifier: GPL-2.0-only */
12 typedef long (*syscall_fn_t)(const struct pt_regs *regs);
21 struct pt_regs *regs) in syscall_get_nr() argument
23 return regs->syscallno; in syscall_get_nr()
27 struct pt_regs *regs) in syscall_rollback() argument
29 regs->regs[0] = regs->orig_x0; in syscall_rollback()
33 struct pt_regs *regs) in syscall_get_return_value() argument
35 unsigned long val = regs->regs[0]; in syscall_get_return_value()
44 struct pt_regs *regs) in syscall_get_error() argument
46 unsigned long error = syscall_get_return_value(task, regs); in syscall_get_error()
52 struct pt_regs *regs, in syscall_set_return_value() argument
61 regs->regs[0] = val; in syscall_set_return_value()
67 struct pt_regs *regs, in syscall_get_arguments() argument
70 args[0] = regs->orig_x0; in syscall_get_arguments()
73 memcpy(args, ®s->regs[1], 5 * sizeof(args[0])); in syscall_get_arguments()
78 * AArch64 has the same system calls both on little- and big- endian.
88 int syscall_trace_enter(struct pt_regs *regs);
89 void syscall_trace_exit(struct pt_regs *regs);