Lines Matching defs:fr
156 static bool is_valid_frame_record(struct frame_record *fr)
158 return is_valid_object((uintptr_t)fr, sizeof(struct frame_record));
165 static struct frame_record *adjust_frame_record(struct frame_record *fr)
168 return fr;
170 return (struct frame_record *)((uintptr_t)fr - 4U);
174 static void unwind_stack(struct frame_record *fr, uintptr_t current_pc,
181 if (!is_valid_frame_record(fr)) {
183 fr);
187 call_site = extract_address(fr->return_addr);
190 fr);
203 if (!is_valid_frame_record(fr))
211 call_site = extract_address(fr->return_addr) - 4U;
222 fr = adjust_frame_record(fr->parent);
254 struct frame_record *fr = __builtin_frame_address(0U);
259 fr = adjust_frame_record(fr);
263 unwind_stack(fr, (uintptr_t)&backtrace, return_address);