Searched refs:fmsb (Results 1 – 1 of 1) sorted by relevance
602 struct ubi_fm_sb *fmsb; in ubi_attach_fastmap() local617 fmsb = (struct ubi_fm_sb *)(fm_raw); in ubi_attach_fastmap()618 ai->max_sqnum = fmsb->sqnum; in ubi_attach_fastmap()858 struct ubi_fm_sb *fmsb, *fmsb2; in ubi_scan_fastmap() local870 fmsb = kmalloc(sizeof(*fmsb), GFP_KERNEL); in ubi_scan_fastmap()871 if (!fmsb) { in ubi_scan_fastmap()879 kfree(fmsb); in ubi_scan_fastmap()883 ret = ubi_io_read(ubi, fmsb, fm_anchor, ubi->leb_start, sizeof(*fmsb)); in ubi_scan_fastmap()889 if (be32_to_cpu(fmsb->magic) != UBI_FM_SB_MAGIC) { in ubi_scan_fastmap()891 be32_to_cpu(fmsb->magic), UBI_FM_SB_MAGIC); in ubi_scan_fastmap()[all …]