Lines Matching refs:fde

234 static const u32 *cie_for_fde(const u32 *fde, const struct unwind_table *);
238 unsigned long start, fde; member
258 v = e1->fde; in swap_eh_frame_hdr_table_entries()
259 e1->fde = e2->fde; in swap_eh_frame_hdr_table_entries()
260 e2->fde = v; in swap_eh_frame_hdr_table_entries()
269 const u32 *fde; in init_unwind_hdr() local
287 if (tableSize & (sizeof(*fde) - 1)) in init_unwind_hdr()
290 for (fde = table->address, n = 0; in init_unwind_hdr()
291 tableSize > sizeof(*fde) && tableSize - sizeof(*fde) >= *fde; in init_unwind_hdr()
292 tableSize -= sizeof(*fde) + *fde, fde += 1 + *fde / sizeof(*fde)) { in init_unwind_hdr()
293 const u32 *cie = cie_for_fde(fde, table); in init_unwind_hdr()
304 ptr = (const u8 *)(fde + 2); in init_unwind_hdr()
305 if (!read_pointer(&ptr, (const u8 *)(fde + 1) + *fde, in init_unwind_hdr()
312 (const u8 *)(fde + 1) + *fde); in init_unwind_hdr()
338 for (fde = table->address, tableSize = table->size, n = 0; in init_unwind_hdr()
340 tableSize -= sizeof(*fde) + *fde, fde += 1 + *fde / sizeof(*fde)) { in init_unwind_hdr()
342 const u32 *cie = (const u32 *)(fde[1]); in init_unwind_hdr()
344 if (fde[1] == 0xffffffff) in init_unwind_hdr()
346 ptr = (const u8 *)(fde + 2); in init_unwind_hdr()
348 (const u8 *)(fde + 1) + in init_unwind_hdr()
349 *fde, in init_unwind_hdr()
351 header->table[n].fde = (unsigned long)fde; in init_unwind_hdr()
507 static const u32 *cie_for_fde(const u32 *fde, const struct unwind_table *table) in cie_for_fde() argument
511 if (!*fde || (*fde & (sizeof(*fde) - 1))) in cie_for_fde()
514 if (fde[1] == 0xffffffff) in cie_for_fde()
517 if ((fde[1] & (sizeof(*fde) - 1))) in cie_for_fde()
522 cie = (u32 *) fde[1]; in cie_for_fde()
524 if (*cie <= sizeof(*cie) + 4 || *cie >= fde[1] - sizeof(*fde) in cie_for_fde()
896 const u32 *fde = NULL, *cie = NULL; in arc_unwind() local
928 && !(table->size & (sizeof(*fde) - 1))) { in arc_unwind()
977 fde = (void *)read_pointer(&ptr, in arc_unwind()
984 if (fde != NULL) { in arc_unwind()
985 cie = cie_for_fde(fde, table); in arc_unwind()
986 ptr = (const u8 *)(fde + 2); in arc_unwind()
992 (const u8 *)(fde + 1) + *fde, in arc_unwind()
999 (const u8 *)(fde + in arc_unwind()
1001 *fde, ptrType); in arc_unwind()
1003 fde = NULL; in arc_unwind()
1007 fde = NULL; in arc_unwind()
1076 end = (const u8 *)(fde + 1) + *fde; in arc_unwind()
1082 fde = NULL; in arc_unwind()
1085 if (cie == NULL || fde == NULL) { in arc_unwind()