Searched refs:fmsb (Results 1 – 1 of 1) sorted by relevance
604 struct ubi_fm_sb *fmsb; in ubi_attach_fastmap() local619 fmsb = (struct ubi_fm_sb *)(fm_raw); in ubi_attach_fastmap()620 ai->max_sqnum = fmsb->sqnum; in ubi_attach_fastmap()865 struct ubi_fm_sb *fmsb, *fmsb2; in ubi_scan_fastmap() local877 fmsb = kmalloc(sizeof(*fmsb), GFP_KERNEL); in ubi_scan_fastmap()878 if (!fmsb) { in ubi_scan_fastmap()886 kfree(fmsb); in ubi_scan_fastmap()890 ret = ubi_io_read(ubi, fmsb, fm_anchor, ubi->leb_start, sizeof(*fmsb)); in ubi_scan_fastmap()896 if (be32_to_cpu(fmsb->magic) != UBI_FM_SB_MAGIC) { in ubi_scan_fastmap()898 be32_to_cpu(fmsb->magic), UBI_FM_SB_MAGIC); in ubi_scan_fastmap()[all …]