Searched refs:fmsb (Results 1 – 1 of 1) sorted by relevance
553 struct ubi_fm_sb *fmsb; in ubi_attach_fastmap() local568 fmsb = (struct ubi_fm_sb *)(fm_raw); in ubi_attach_fastmap()569 ai->max_sqnum = fmsb->sqnum; in ubi_attach_fastmap()853 struct ubi_fm_sb *fmsb, *fmsb2; in ubi_scan_fastmap() local882 fmsb = kmalloc(sizeof(*fmsb), GFP_KERNEL); in ubi_scan_fastmap()883 if (!fmsb) { in ubi_scan_fastmap()891 kfree(fmsb); in ubi_scan_fastmap()895 ret = ubi_io_read_data(ubi, fmsb, fm_anchor, 0, sizeof(*fmsb)); in ubi_scan_fastmap()901 if (be32_to_cpu(fmsb->magic) != UBI_FM_SB_MAGIC) { in ubi_scan_fastmap()903 be32_to_cpu(fmsb->magic), UBI_FM_SB_MAGIC); in ubi_scan_fastmap()[all …]