Lines Matching defs:regs
21 #define user_stack_pointer(regs) ((regs)->usp) argument
23 #define user_mode(regs) (!((regs)->sr & PS_S)) argument
24 #define instruction_pointer(regs) ((regs)->pc) argument
25 #define profile_pc(regs) instruction_pointer(regs) argument
26 #define trap_no(regs) ((regs->sr >> 16) & 0xff) argument
28 static inline void instruction_pointer_set(struct pt_regs *regs, in instruction_pointer_set()
40 static inline bool in_syscall(struct pt_regs const *regs) in in_syscall()
45 static inline void forget_syscall(struct pt_regs *regs) in forget_syscall()
50 static inline unsigned long regs_return_value(struct pt_regs *regs) in regs_return_value()
55 static inline void regs_set_return_value(struct pt_regs *regs, in regs_set_return_value()
62 static inline unsigned long kernel_stack_pointer(struct pt_regs *regs) in kernel_stack_pointer()
67 static inline unsigned long frame_pointer(struct pt_regs *regs) in frame_pointer()
71 static inline void frame_pointer_set(struct pt_regs *regs, in frame_pointer_set()
90 static inline unsigned long regs_get_register(struct pt_regs *regs, in regs_get_register()