Lines Matching refs:vol
1114 struct ubi_volume *vol; in ubi_write_fastmap() local
1260 vol = ubi->volumes[i]; in ubi_write_fastmap()
1262 if (!vol) 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()
1278 ubi_assert(vol->vol_type == UBI_DYNAMIC_VOLUME || in ubi_write_fastmap()
1279 vol->vol_type == UBI_STATIC_VOLUME); in ubi_write_fastmap()
1282 fm_pos += sizeof(*feba) + (sizeof(__be32) * vol->reserved_pebs); in ubi_write_fastmap()
1285 for (j = 0; j < vol->reserved_pebs; j++) in ubi_write_fastmap()
1286 feba->pnum[j] = cpu_to_be32(vol->eba_tbl[j]); in ubi_write_fastmap()