Searched refs:fdap (Results 1 – 2 of 2) sorted by relevance
278 int fcb_sector_hdr_read(struct fcb *fcbp, struct flash_sector *sector, struct fcb_disk_area *fdap) in fcb_sector_hdr_read() argument283 if (!fdap) { in fcb_sector_hdr_read()284 fdap = &fda; in fcb_sector_hdr_read()286 rc = fcb_flash_read(fcbp, sector, 0, fdap, sizeof(*fdap)); in fcb_sector_hdr_read()290 if (fdap->fd_magic == MK32(fcbp->f_erase_value)) { in fcb_sector_hdr_read()293 if (fdap->fd_magic != fcb_flash_magic(fcbp)) { in fcb_sector_hdr_read()
79 int fcb_sector_hdr_read(struct fcb *fcbp, struct flash_sector *sector, struct fcb_disk_area *fdap);
Completed in 8 milliseconds