Lines Matching refs:fp
51 static inline u32 get_reg_val(struct pt_regs *fp, int reg) in get_reg_val() argument
53 u8 *p = ((u8 *)fp) + reg_offsets[reg]; in get_reg_val()
57 static inline void put_reg_val(struct pt_regs *fp, int reg, u32 val) in put_reg_val() argument
59 u8 *p = ((u8 *)fp) + reg_offsets[reg]; in put_reg_val()
66 asmlinkage void handle_unaligned_c(struct pt_regs *fp, int cause) in handle_unaligned_c() argument
75 fp->ea -= 4; in handle_unaligned_c()
77 if (fixup_exception(fp)) { in handle_unaligned_c()
81 in_kernel = !user_mode(fp); in handle_unaligned_c()
83 isn = *(unsigned long *)(fp->ea); in handle_unaligned_c()
93 addr = get_reg_val(fp, a) + imm16; in handle_unaligned_c()
101 put_reg_val(fp, b, val); in handle_unaligned_c()
104 val = get_reg_val(fp, b); in handle_unaligned_c()
119 put_reg_val(fp, b, val); in handle_unaligned_c()
122 val = get_reg_val(fp, b); in handle_unaligned_c()
145 put_reg_val(fp, b, val); in handle_unaligned_c()
156 fp->ea, (unsigned int)addr, in handle_unaligned_c()
160 fp->ea, in handle_unaligned_c()
161 (unsigned int)isn, addr, fp->sp, in handle_unaligned_c()
164 _exception(SIGSEGV, fp, SEGV_MAPERR, fp->ea); in handle_unaligned_c()
174 fp->ea += 4; in handle_unaligned_c()
178 fp->ea, in handle_unaligned_c()
195 fp->ea, fp->ra, fp->sp); in handle_unaligned_c()
199 _exception(SIGBUS, fp, BUS_ADRALN, fp->ea); in handle_unaligned_c()
201 fp->ea += 4; /* else advance */ in handle_unaligned_c()