Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/mtd/ubi/
H A Dfastmap.c1111 struct ubi_fm_volhdr *fvh; in ubi_write_fastmap() local
1267 fvh = (struct ubi_fm_volhdr *)(fm_raw + fm_pos); in ubi_write_fastmap()
1268 fm_pos += sizeof(*fvh); in ubi_write_fastmap()
1271 fvh->magic = cpu_to_be32(UBI_FM_VHDR_MAGIC); in ubi_write_fastmap()
1272 fvh->vol_id = cpu_to_be32(vol->vol_id); in ubi_write_fastmap()
1273 fvh->vol_type = vol->vol_type; in ubi_write_fastmap()
1274 fvh->used_ebs = cpu_to_be32(vol->used_ebs); in ubi_write_fastmap()
1275 fvh->data_pad = cpu_to_be32(vol->data_pad); in ubi_write_fastmap()
1276 fvh->last_eb_bytes = cpu_to_be32(vol->last_eb_bytes); in ubi_write_fastmap()
/OK3568_Linux_fs/kernel/drivers/mtd/ubi/
H A Dfastmap.c1140 struct ubi_fm_volhdr *fvh; in ubi_write_fastmap() local
1300 fvh = (struct ubi_fm_volhdr *)(fm_raw + fm_pos); in ubi_write_fastmap()
1301 fm_pos += sizeof(*fvh); in ubi_write_fastmap()
1304 fvh->magic = cpu_to_be32(UBI_FM_VHDR_MAGIC); in ubi_write_fastmap()
1305 fvh->vol_id = cpu_to_be32(vol->vol_id); in ubi_write_fastmap()
1306 fvh->vol_type = vol->vol_type; in ubi_write_fastmap()
1307 fvh->used_ebs = cpu_to_be32(vol->used_ebs); in ubi_write_fastmap()
1308 fvh->data_pad = cpu_to_be32(vol->data_pad); in ubi_write_fastmap()
1309 fvh->last_eb_bytes = cpu_to_be32(vol->last_eb_bytes); in ubi_write_fastmap()