Searched refs:fmap (Results 1 – 6 of 6) sorted by relevance
/device/google/dragon/recovery/updater/ |
D | vboot_interface.c | 125 struct fmap h; in fmap_scan_offset() 145 struct fmap *fmap_load(struct flash_device *dev, off_t offset) in fmap_load() 147 struct fmap hdr; in fmap_load() 148 struct fmap *fmap; in fmap_load() local 164 size = sizeof(struct fmap) + hdr.nareas * sizeof(struct fmap_area); in fmap_load() 165 fmap = malloc(size); in fmap_load() 167 res = flash_read(dev, offset, fmap, size); in fmap_load() 170 free(fmap); in fmap_load() 174 return fmap; in fmap_load() 181 struct fmap *fmap = flash_get_fmap(dev); in fmap_get_section_offset() local [all …]
|
D | flash_device.c | 40 struct fmap *fmap; member 72 dev->fmap = NULL; in flash_open() 92 if (dev->fmap) in flash_close() 93 free(dev->fmap); in flash_close() 128 struct fmap *flash_get_fmap(struct flash_device *dev) in flash_get_fmap() 130 if (!dev->fmap) { in flash_get_fmap() 133 dev->fmap = fmap_load(dev, off); in flash_get_fmap() 136 if (!dev->fmap) in flash_get_fmap() 139 return dev->fmap; in flash_get_fmap()
|
D | fwtool.cpp | 56 struct fmap *fmap; in dump_fmap() local 58 fmap = flash_get_fmap(dev); in dump_fmap() 59 if (!fmap) in dump_fmap() 63 fmap->name, fmap->ver_major, fmap->ver_minor, in dump_fmap() 64 fmap->base, fmap->size); in dump_fmap() 65 for (i = 0; i < fmap->nareas; i++) { in dump_fmap() 66 struct fmap_area *a = fmap->areas+i; in dump_fmap()
|
D | fmap.h | 40 struct fmap { struct
|
D | vboot_interface.h | 31 struct fmap *fmap_load(struct flash_device *dev, off_t offset);
|
D | flash_device.h | 51 struct fmap *flash_get_fmap(struct flash_device *dev);
|