Searched refs:fmsb (Results 1 – 1 of 1) sorted by relevance
555 struct ubi_fm_sb *fmsb; in ubi_attach_fastmap() local570 fmsb = (struct ubi_fm_sb *)(fm_raw); in ubi_attach_fastmap()571 ai->max_sqnum = fmsb->sqnum; in ubi_attach_fastmap()863 struct ubi_fm_sb *fmsb, *fmsb2; in ubi_scan_fastmap() local892 fmsb = kmalloc(sizeof(*fmsb), GFP_KERNEL); in ubi_scan_fastmap()893 if (!fmsb) { in ubi_scan_fastmap()901 kfree(fmsb); in ubi_scan_fastmap()905 ret = ubi_io_read_data(ubi, fmsb, fm_anchor, 0, sizeof(*fmsb)); in ubi_scan_fastmap()911 if (be32_to_cpu(fmsb->magic) != UBI_FM_SB_MAGIC) { in ubi_scan_fastmap()913 be32_to_cpu(fmsb->magic), UBI_FM_SB_MAGIC); in ubi_scan_fastmap()[all …]