Lines Matching refs:fregs
95 ftrace_regs_get_instruction_pointer(const struct ftrace_regs *fregs) in ftrace_regs_get_instruction_pointer() argument
97 return fregs->pc; in ftrace_regs_get_instruction_pointer()
101 ftrace_regs_set_instruction_pointer(struct ftrace_regs *fregs, in ftrace_regs_set_instruction_pointer() argument
104 fregs->pc = pc; in ftrace_regs_set_instruction_pointer()
108 ftrace_regs_get_stack_pointer(const struct ftrace_regs *fregs) in ftrace_regs_get_stack_pointer() argument
110 return fregs->sp; in ftrace_regs_get_stack_pointer()
114 ftrace_regs_get_argument(struct ftrace_regs *fregs, unsigned int n) in ftrace_regs_get_argument() argument
117 return fregs->regs[n]; in ftrace_regs_get_argument()
122 ftrace_regs_get_return_value(const struct ftrace_regs *fregs) in ftrace_regs_get_return_value() argument
124 return fregs->regs[0]; in ftrace_regs_get_return_value()
128 ftrace_regs_set_return_value(struct ftrace_regs *fregs, in ftrace_regs_set_return_value() argument
131 fregs->regs[0] = ret; in ftrace_regs_set_return_value()
135 ftrace_override_function_with_return(struct ftrace_regs *fregs) in ftrace_override_function_with_return() argument
137 fregs->pc = fregs->lr; in ftrace_override_function_with_return()
146 struct ftrace_ops *op, struct ftrace_regs *fregs);
150 static inline void arch_ftrace_set_direct_caller(struct ftrace_regs *fregs, in arch_ftrace_set_direct_caller() argument
157 fregs->direct_tramp = addr; in arch_ftrace_set_direct_caller()