Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/mtd/ubi/
Dfastmap.c270 struct ubi_ainf_volume *av, struct ubi_vid_hdr *new_vh, in update_vol() argument
281 if (be32_to_cpu(new_vh->lnum) != aeb->lnum) { in update_vol()
282 if (be32_to_cpu(new_vh->lnum) < aeb->lnum) in update_vol()
301 cmp_res = ubi_compare_lebs(ubi, aeb, new_aeb->pnum, new_vh); in update_vol()
316 if (av->highest_lnum == be32_to_cpu(new_vh->lnum)) in update_vol()
318 be32_to_cpu(new_vh->data_size); in update_vol()
325 aeb->copy_flag = new_vh->copy_flag; in update_vol()
340 if (av->highest_lnum <= be32_to_cpu(new_vh->lnum)) { in update_vol()
341 av->highest_lnum = be32_to_cpu(new_vh->lnum); in update_vol()
342 av->last_data_size = be32_to_cpu(new_vh->data_size); in update_vol()
[all …]