Lines Matching refs:fmh
33 static int dump_fmap(const FmapHeader *fmh, int argc, char *argv[]) in dump_fmap() argument
38 ah = (const FmapAreaHeader *) (fmh + 1); in dump_fmap()
65 fmh->fmap_signature); in dump_fmap()
68 fmh->fmap_ver_major, fmh->fmap_ver_minor); in dump_fmap()
69 printf("fmap_base: 0x%" PRIx64 "\n", fmh->fmap_base); in dump_fmap()
70 printf("fmap_size: 0x%08x (%d)\n", fmh->fmap_size, in dump_fmap()
71 fmh->fmap_size); in dump_fmap()
72 snprintf(buf, FMAP_NAMELEN + 1, "%s", fmh->fmap_name); in dump_fmap()
74 printf("fmap_nareas: %d\n", fmh->fmap_nareas); in dump_fmap()
77 for (i = 0; i < fmh->fmap_nareas; i++, ah++) { in dump_fmap()
290 static int human_fmap(const FmapHeader *fmh) in human_fmap() argument
296 ah = (FmapAreaHeader *) (fmh + 1); in human_fmap()
304 numnodes = fmh->fmap_nareas; in human_fmap()
328 all_nodes[numnodes].start = fmh->fmap_base; in human_fmap()
329 all_nodes[numnodes].size = fmh->fmap_size; in human_fmap()
330 all_nodes[numnodes].end = fmh->fmap_base + fmh->fmap_size; in human_fmap()