Lines Matching refs:new_vh
242 struct ubi_ainf_volume *av, struct ubi_vid_hdr *new_vh, in update_vol() argument
253 if (be32_to_cpu(new_vh->lnum) != aeb->lnum) { in update_vol()
254 if (be32_to_cpu(new_vh->lnum) < aeb->lnum) in update_vol()
273 cmp_res = ubi_compare_lebs(ubi, aeb, new_aeb->pnum, new_vh); in update_vol()
285 if (av->highest_lnum == be32_to_cpu(new_vh->lnum)) in update_vol()
287 be32_to_cpu(new_vh->data_size); in update_vol()
294 aeb->copy_flag = new_vh->copy_flag; in update_vol()
310 if (av->highest_lnum <= be32_to_cpu(new_vh->lnum)) { in update_vol()
311 av->highest_lnum = be32_to_cpu(new_vh->lnum); in update_vol()
312 av->last_data_size = be32_to_cpu(new_vh->data_size); in update_vol()
316 av->used_ebs = be32_to_cpu(new_vh->used_ebs); in update_vol()
336 struct ubi_vid_hdr *new_vh, in process_pool_aeb() argument
339 int vol_id = be32_to_cpu(new_vh->vol_id); in process_pool_aeb()
358 return update_vol(ubi, ai, av, new_vh, new_aeb); in process_pool_aeb()