Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/mtd/ubi/
Dfastmap.c558 struct ubi_fm_volhdr *fmvhdr; in ubi_attach_fastmap() local
692 fmvhdr = (struct ubi_fm_volhdr *)(fm_raw + fm_pos); in ubi_attach_fastmap()
693 fm_pos += sizeof(*fmvhdr); in ubi_attach_fastmap()
697 if (be32_to_cpu(fmvhdr->magic) != UBI_FM_VHDR_MAGIC) { in ubi_attach_fastmap()
699 be32_to_cpu(fmvhdr->magic), UBI_FM_VHDR_MAGIC); in ubi_attach_fastmap()
703 av = add_vol(ai, be32_to_cpu(fmvhdr->vol_id), in ubi_attach_fastmap()
704 be32_to_cpu(fmvhdr->used_ebs), in ubi_attach_fastmap()
705 be32_to_cpu(fmvhdr->data_pad), in ubi_attach_fastmap()
706 fmvhdr->vol_type, in ubi_attach_fastmap()
707 be32_to_cpu(fmvhdr->last_eb_bytes)); in ubi_attach_fastmap()
[all …]