Lines Matching defs:regs
20 unsigned long regs[32]; member
36 static inline int regs_irqs_disabled(struct pt_regs *regs) in regs_irqs_disabled()
41 static inline unsigned long kernel_stack_pointer(struct pt_regs *regs) in kernel_stack_pointer()
51 static inline void instruction_pointer_set(struct pt_regs *regs, unsigned long val) in instruction_pointer_set()
69 static inline unsigned long regs_get_register(struct pt_regs *regs, unsigned int offset) in regs_get_register()
85 static inline int regs_within_kernel_stack(struct pt_regs *regs, unsigned long addr) in regs_within_kernel_stack()
100 static inline unsigned long regs_get_kernel_stack_nth(struct pt_regs *regs, unsigned int n) in regs_get_kernel_stack_nth()
124 static inline unsigned long regs_get_kernel_argument(struct pt_regs *regs, in regs_get_kernel_argument()
150 #define user_mode(regs) (((regs)->csr_prmd & PLV_MASK) == PLV_USER) argument
152 static inline long regs_return_value(struct pt_regs *regs) in regs_return_value()
157 static inline void regs_set_return_value(struct pt_regs *regs, unsigned long val) in regs_set_return_value()
162 #define instruction_pointer(regs) ((regs)->csr_era) argument
163 #define profile_pc(regs) instruction_pointer(regs) argument
167 static inline void die_if_kernel(const char *str, struct pt_regs *regs) in die_if_kernel()
181 static inline unsigned long user_stack_pointer(struct pt_regs *regs) in user_stack_pointer()
186 static inline void user_stack_pointer_set(struct pt_regs *regs, in user_stack_pointer_set()