Lines Matching defs:footer
222 u16 version; /* version of this footer */
288 * The segment magic has been checked. There is a footer and table of
296 struct hfi1_eprom_footer *footer;
306 /* the footer is at the end of the directory */
307 footer = (struct hfi1_eprom_footer *)
308 (directory + EP_PAGE_SIZE - sizeof(*footer));
311 if (footer->version != FOOTER_VERSION)
315 if (footer->oprom_size >= SEG_SIZE)
319 if (footer->num_table_entries >
320 MAX_TABLE_ENTRIES(SEG_SIZE - footer->oprom_size))
323 /* find the file table start, which precedes the footer */
324 directory_size = DIRECTORY_SIZE(footer->num_table_entries);
342 for (entry = NULL, i = 0; i < footer->num_table_entries; i++) {
391 /* subtract off footer and table from segment 0 */
399 "Bad configuration file - offset 0x%x within footer+table\n",
432 seg_offset = footer->oprom_size;