Lines Matching defs:vol_type
123 int vol_type = vid_hdr->vol_type;
142 if (sv->vol_type == UBI_STATIC_VOLUME)
147 if (vol_type != sv_vol_type) {
148 dbg_err("inconsistent vol_type");
220 sv->vol_type = vid_hdr->vol_type == UBI_VID_DYNAMIC ? UBI_DYNAMIC_VOLUME
1093 sv->leb_count < 0 || sv->vol_type < 0 || sv->used_ebs < 0 ||
1111 if (sv->vol_type != UBI_DYNAMIC_VOLUME &&
1112 sv->vol_type != UBI_STATIC_VOLUME) {
1113 ubi_err("bad vol_type");
1152 if (sv->vol_type == UBI_STATIC_VOLUME) {
1197 int vol_type;
1211 vol_type = vidh->vol_type == UBI_VID_DYNAMIC ?
1213 if (sv->vol_type != vol_type) {
1214 ubi_err("bad vol_type");