Lines Matching refs:vol
1131 struct ubi_volume *vol; in ubi_write_fastmap() local
1277 vol = ubi->volumes[i]; in ubi_write_fastmap()
1279 if (!vol) in ubi_write_fastmap()
1289 fvh->vol_id = cpu_to_be32(vol->vol_id); in ubi_write_fastmap()
1290 fvh->vol_type = vol->vol_type; in ubi_write_fastmap()
1291 fvh->used_ebs = cpu_to_be32(vol->used_ebs); in ubi_write_fastmap()
1292 fvh->data_pad = cpu_to_be32(vol->data_pad); in ubi_write_fastmap()
1293 fvh->last_eb_bytes = cpu_to_be32(vol->last_eb_bytes); in ubi_write_fastmap()
1295 ubi_assert(vol->vol_type == UBI_DYNAMIC_VOLUME || in ubi_write_fastmap()
1296 vol->vol_type == UBI_STATIC_VOLUME); in ubi_write_fastmap()
1299 fm_pos += sizeof(*feba) + (sizeof(__be32) * vol->reserved_pebs); in ubi_write_fastmap()
1302 for (j = 0; j < vol->reserved_pebs; j++) in ubi_write_fastmap()
1303 feba->pnum[j] = cpu_to_be32(vol->eba_tbl[j]); in ubi_write_fastmap()