Lines Matching defs:new_vh
237 * @new_vh: the volume header derived from new_aeb
243 struct ubi_ainf_volume *av, struct ubi_vid_hdr *new_vh,
254 if (be32_to_cpu(new_vh->lnum) != aeb->lnum) {
255 if (be32_to_cpu(new_vh->lnum) < aeb->lnum)
274 cmp_res = ubi_compare_lebs(ubi, aeb, new_aeb->pnum, new_vh);
286 if (av->highest_lnum == be32_to_cpu(new_vh->lnum))
288 be32_to_cpu(new_vh->data_size);
295 aeb->copy_flag = new_vh->copy_flag;
311 if (av->highest_lnum <= be32_to_cpu(new_vh->lnum)) {
312 av->highest_lnum = be32_to_cpu(new_vh->lnum);
313 av->last_data_size = be32_to_cpu(new_vh->data_size);
317 av->used_ebs = be32_to_cpu(new_vh->used_ebs);
331 * @new_vh: the volume header derived from new_aeb
337 struct ubi_vid_hdr *new_vh,
340 int vol_id = be32_to_cpu(new_vh->vol_id);
359 return update_vol(ubi, ai, av, new_vh, new_aeb);