Lines Matching refs:pt_regs

28 struct pt_regs  struct
125 #define STACK_USER_INT_FRAME_SIZE (sizeof(struct pt_regs) + STACK_FRAME_MIN_SIZE + 16)
128 #define STACK_SWITCH_FRAME_SIZE (sizeof(struct pt_regs) + STACK_FRAME_MIN_SIZE + 16)
137 #define STACK_USER_INT_FRAME_SIZE (sizeof(struct pt_regs) + STACK_FRAME_MIN_SIZE)
140 #define STACK_SWITCH_FRAME_SIZE (sizeof(struct pt_regs) + STACK_FRAME_MIN_SIZE)
154 #define STACK_USER_INT_FRAME_SIZE (sizeof(struct pt_regs) + STACK_FRAME_MIN_SIZE)
157 #define STACK_SWITCH_FRAME_SIZE (sizeof(struct pt_regs) + STACK_FRAME_MIN_SIZE)
172 extern unsigned long profile_pc(struct pt_regs *regs);
177 long do_syscall_trace_enter(struct pt_regs *regs);
178 void do_syscall_trace_leave(struct pt_regs *regs);
188 static inline void regs_set_return_ip(struct pt_regs *regs, unsigned long ip) in regs_set_return_ip()
194 static inline void regs_set_return_msr(struct pt_regs *regs, unsigned long msr) in regs_set_return_msr()
200 static inline void regs_add_return_ip(struct pt_regs *regs, long offset) in regs_add_return_ip()
205 static inline unsigned long instruction_pointer(struct pt_regs *regs) in instruction_pointer()
210 static inline void instruction_pointer_set(struct pt_regs *regs, in instruction_pointer_set()
216 static inline unsigned long user_stack_pointer(struct pt_regs *regs) in user_stack_pointer()
221 static inline unsigned long frame_pointer(struct pt_regs *regs) in frame_pointer()
234 ((struct pt_regs *)((unsigned long)task_stack_page(current) + THREAD_SIZE) - 1)
256 static __always_inline void set_trap(struct pt_regs *regs, unsigned long val) in set_trap()
261 static inline bool trap_is_scv(struct pt_regs *regs) in trap_is_scv()
266 static inline bool trap_is_unsupported_scv(struct pt_regs *regs) in trap_is_unsupported_scv()
271 static inline bool trap_is_syscall(struct pt_regs *regs) in trap_is_syscall()
276 static inline bool trap_norestart(struct pt_regs *regs) in trap_norestart()
281 static __always_inline void set_trap_norestart(struct pt_regs *regs) in set_trap_norestart()
287 static inline int is_syscall_success(struct pt_regs *regs) in is_syscall_success()
295 static inline long regs_return_value(struct pt_regs *regs) in regs_return_value()
306 static inline void regs_set_return_value(struct pt_regs *regs, unsigned long rc) in regs_set_return_value()
316 static inline bool regs_is_unrecoverable(struct pt_regs *regs) in regs_is_unrecoverable()
321 static inline void regs_set_recoverable(struct pt_regs *regs) in regs_set_recoverable()
327 static inline void regs_set_unrecoverable(struct pt_regs *regs) in regs_set_unrecoverable()
345 #define MAX_REG_OFFSET (offsetof(struct pt_regs, dsisr))
356 static inline unsigned long regs_get_register(struct pt_regs *regs, in regs_get_register()
373 static inline bool regs_within_kernel_stack(struct pt_regs *regs, in regs_within_kernel_stack()
389 static inline unsigned long regs_get_kernel_stack_nth(struct pt_regs *regs, in regs_get_kernel_stack_nth()