Lines Matching full:foo*
222 u16 version; /* version of this footer */
244 #define FOOTER_MAGIC MAGIC4('e', 'p', 'r', 'm')
245 #define FOOTER_VERSION 1
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;
480 if (directory[EP_PAGE_DWORDS - 1] == FOOTER_MAGIC) {