Lines Matching refs:vol
1099 struct ubi_volume *vol; in ubi_write_fastmap() local
1245 vol = ubi->volumes[i]; in ubi_write_fastmap()
1247 if (!vol) in ubi_write_fastmap()
1257 fvh->vol_id = cpu_to_be32(vol->vol_id); in ubi_write_fastmap()
1258 fvh->vol_type = vol->vol_type; in ubi_write_fastmap()
1259 fvh->used_ebs = cpu_to_be32(vol->used_ebs); in ubi_write_fastmap()
1260 fvh->data_pad = cpu_to_be32(vol->data_pad); in ubi_write_fastmap()
1261 fvh->last_eb_bytes = cpu_to_be32(vol->last_eb_bytes); in ubi_write_fastmap()
1263 ubi_assert(vol->vol_type == UBI_DYNAMIC_VOLUME || in ubi_write_fastmap()
1264 vol->vol_type == UBI_STATIC_VOLUME); in ubi_write_fastmap()
1267 fm_pos += sizeof(*feba) + (sizeof(__be32) * vol->reserved_pebs); in ubi_write_fastmap()
1270 for (j = 0; j < vol->reserved_pebs; j++) in ubi_write_fastmap()
1271 feba->pnum[j] = cpu_to_be32(vol->eba_tbl[j]); in ubi_write_fastmap()