Home
last modified time | relevance | path

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

/external/u-boot/fs/ubifs/
Dreplay.c53 unsigned long long sqnum; member
76 unsigned long long sqnum; member
217 r->lnum, r->offs, r->len, r->deletion, r->sqnum); in apply_replay_entry()
220 c->replay_sqnum = r->sqnum; in apply_replay_entry()
280 ubifs_assert(ra->sqnum != rb->sqnum); in replay_entries_cmp()
281 if (ra->sqnum > rb->sqnum) in replay_entries_cmp()
350 union ubifs_key *key, unsigned long long sqnum, in insert_node() argument
371 r->sqnum = sqnum; in insert_node()
399 unsigned long long sqnum, int deletion, int *used) in insert_dent() argument
424 r->sqnum = sqnum; in insert_dent()
[all …]
Dio.c333 ch->sqnum = 0; in ubifs_pad()
351 unsigned long long sqnum; in next_sqnum() local
354 sqnum = ++c->max_sqnum; in next_sqnum()
357 if (unlikely(sqnum >= SQNUM_WARN_WATERMARK)) { in next_sqnum()
358 if (sqnum >= SQNUM_WATERMARK) { in next_sqnum()
360 sqnum); in next_sqnum()
366 return sqnum; in next_sqnum()
384 unsigned long long sqnum = next_sqnum(c); in ubifs_prepare_node() local
391 ch->sqnum = cpu_to_le64(sqnum); in ubifs_prepare_node()
417 unsigned long long sqnum = next_sqnum(c); in ubifs_prep_grp_node() local
[all …]
Dscan.c197 snod->sqnum = le64_to_cpu(ch->sqnum); in ubifs_add_snod()
Dubifs.c353 ubifs_assert(le64_to_cpu(dent->ch.sqnum) > ubifs_inode(dir)->creat_sqnum); in ubifs_printdir()
437 ubifs_assert(le64_to_cpu(dent->ch.sqnum) > ubifs_inode(dir)->creat_sqnum); in ubifs_finddir()
700 ubifs_assert(le64_to_cpu(dn->ch.sqnum) > ubifs_inode(inode)->creat_sqnum); in read_block()
Dubifs-media.h422 __le64 sqnum; member
Drecovery.c342 c->max_sqnum = le64_to_cpu(mst->ch.sqnum) - 1; in ubifs_recover_master_node()
838 *cs_sqnum = le64_to_cpu(cs_node->ch.sqnum); in get_cs_sqnum()
897 if (snod->sqnum > cs_sqnum) { in ubifs_recover_log_leb()
Dmaster.c272 c->max_sqnum = le64_to_cpu(c->mst_node->ch.sqnum); in ubifs_read_master()
Dubifs.h901 unsigned long long sqnum; member
Ddebug.c228 (unsigned long long)le64_to_cpu(ch->sqnum)); in dump_ch()
2068 if (le64_to_cpu(ch->sqnum) > c->max_sqnum) { in check_leaf()
/external/u-boot/drivers/mtd/ubi/
Dattach.c325 unsigned long long sqnum2 = be64_to_cpu(vid_hdr->sqnum); in ubi_compare_lebs()
327 if (sqnum2 == aeb->sqnum) { in ubi_compare_lebs()
341 second_is_newer = (sqnum2 > aeb->sqnum); in ubi_compare_lebs()
448 unsigned long long sqnum; in ubi_add_to_av() local
455 sqnum = be64_to_cpu(vid_hdr->sqnum); in ubi_add_to_av()
458 pnum, vol_id, lnum, ec, sqnum, bitflips); in ubi_add_to_av()
464 if (ai->max_sqnum < sqnum) in ubi_add_to_av()
465 ai->max_sqnum = sqnum; in ubi_add_to_av()
491 aeb->pnum, aeb->sqnum, aeb->ec); in ubi_add_to_av()
506 if (aeb->sqnum == sqnum && sqnum != 0) { in ubi_add_to_av()
[all …]
Dfastmap.c155 aeb->copy_flag = aeb->sqnum = 0; in add_aeb()
544 new_aeb->sqnum = be64_to_cpu(vh->sqnum); in scan_pool()
548 if (*max_sqnum < new_aeb->sqnum) in scan_pool()
549 *max_sqnum = new_aeb->sqnum; in scan_pool()
627 ai->max_sqnum = fmsb->sqnum; in ubi_attach_fastmap()
887 unsigned long long sqnum = 0; in ubi_scan_fastmap() local
1013 if (sqnum < be64_to_cpu(vh->sqnum)) in ubi_scan_fastmap()
1014 sqnum = be64_to_cpu(vh->sqnum); in ubi_scan_fastmap()
1040 fmsb2->sqnum = sqnum; in ubi_scan_fastmap()
1157 fmsb->sqnum = 0; in ubi_write_fastmap()
[all …]
Deba.c54 unsigned long long sqnum; in ubi_next_sqnum() local
57 sqnum = ubi->global_sqnum++; in ubi_next_sqnum()
60 return sqnum; in ubi_next_sqnum()
579 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in recover_peb()
696 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_write_leb()
760 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_write_leb()
813 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_write_leb_st()
882 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_write_leb_st()
934 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_atomic_leb_change()
1007 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_atomic_leb_change()
[all …]
Dubi-media.h279 __be64 sqnum; member
416 __be64 sqnum; member
Ddebug.c86 (unsigned long long)be64_to_cpu(vid_hdr->sqnum)); in ubi_dump_vid_hdr()
186 pr_err("\tsqnum %llu\n", aeb->sqnum); in ubi_dump_aeb()
Dubi.h653 unsigned long long sqnum; member
Dvtbl.c321 vid_hdr->sqnum = cpu_to_be64(++ai->max_sqnum);
/external/u-boot/drivers/mtd/ubispl/
Dubispl.c93 ubi_dbg("RV: pnum: %i sqnum %llu", pnum, be64_to_cpu(vh->sqnum)); in ubi_io_read_vid_hdr()
176 vol_id, lnum, cur_pnum, be64_to_cpu(cur->sqnum), pnum, in ubi_add_peb_to_vol()
177 be64_to_cpu(vh->sqnum)); in ubi_add_peb_to_vol()
182 if (be64_to_cpu(cur->sqnum) < be64_to_cpu(vh->sqnum)) in ubi_add_peb_to_vol()
501 unsigned long long sqnum = 0; in ubi_scan_fastmap() local
611 if (sqnum < be64_to_cpu(vh->sqnum)) in ubi_scan_fastmap()
612 sqnum = be64_to_cpu(vh->sqnum); in ubi_scan_fastmap()
634 fmsb2->sqnum = sqnum; in ubi_scan_fastmap()
828 if (be64_to_cpu(vrepl->sqnum) < be64_to_cpu(tmp->sqnum)) in ubi_load_block()