Home
last modified time | relevance | path

Searched refs:fmsb (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/mtd/ubi/
Dfastmap.c555 struct ubi_fm_sb *fmsb; in ubi_attach_fastmap() local
570 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() local
892 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 …]