Lines Matching defs:vol_type
118 int vol_type = vid_hdr->vol_type;
137 if (sv->vol_type == UBI_STATIC_VOLUME)
142 if (vol_type != sv_vol_type) {
143 dbg_err("inconsistent vol_type");
214 sv->vol_type = vid_hdr->vol_type == UBI_VID_DYNAMIC ? UBI_DYNAMIC_VOLUME
1180 sv->leb_count < 0 || sv->vol_type < 0 || sv->used_ebs < 0 ||
1198 if (sv->vol_type != UBI_DYNAMIC_VOLUME &&
1199 sv->vol_type != UBI_STATIC_VOLUME) {
1200 ubi_err("bad vol_type");
1239 if (sv->vol_type == UBI_STATIC_VOLUME) {
1284 int vol_type;
1298 vol_type = vidh->vol_type == UBI_VID_DYNAMIC ?
1300 if (sv->vol_type != vol_type) {
1301 ubi_err("bad vol_type");