Home
last modified time | relevance | path

Searched refs:new_vh (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/mtd/ubi/
Dfastmap.c252 struct ubi_ainf_volume *av, struct ubi_vid_hdr *new_vh, in update_vol() argument
263 if (be32_to_cpu(new_vh->lnum) != aeb->lnum) { in update_vol()
264 if (be32_to_cpu(new_vh->lnum) < aeb->lnum) in update_vol()
283 cmp_res = ubi_compare_lebs(ubi, aeb, new_aeb->pnum, new_vh); in update_vol()
295 if (av->highest_lnum == be32_to_cpu(new_vh->lnum)) in update_vol()
297 be32_to_cpu(new_vh->data_size); in update_vol()
304 aeb->copy_flag = new_vh->copy_flag; in update_vol()
320 if (av->highest_lnum <= be32_to_cpu(new_vh->lnum)) { in update_vol()
321 av->highest_lnum = be32_to_cpu(new_vh->lnum); in update_vol()
322 av->last_data_size = be32_to_cpu(new_vh->data_size); in update_vol()
[all …]