Home
last modified time | relevance | path

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

/third_party/uboot/u-boot-2020.01/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.c334 ch->sqnum = 0; in ubifs_pad()
352 unsigned long long sqnum; in next_sqnum() local
355 sqnum = ++c->max_sqnum; in next_sqnum()
358 if (unlikely(sqnum >= SQNUM_WARN_WATERMARK)) { in next_sqnum()
359 if (sqnum >= SQNUM_WATERMARK) { in next_sqnum()
361 sqnum); in next_sqnum()
367 return sqnum; in next_sqnum()
385 unsigned long long sqnum = next_sqnum(c); in ubifs_prepare_node() local
392 ch->sqnum = cpu_to_le64(sqnum); in ubifs_prepare_node()
418 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.c340 ubifs_assert(le64_to_cpu(dent->ch.sqnum) > ubifs_inode(dir)->creat_sqnum); in ubifs_printdir()
424 ubifs_assert(le64_to_cpu(dent->ch.sqnum) > ubifs_inode(dir)->creat_sqnum); in ubifs_finddir()
687 ubifs_assert(le64_to_cpu(dn->ch.sqnum) > ubifs_inode(inode)->creat_sqnum); in read_block()
Dubifs-media.h422 __le64 sqnum; member
Drecovery.c343 c->max_sqnum = le64_to_cpu(mst->ch.sqnum) - 1; in ubifs_recover_master_node()
839 *cs_sqnum = le64_to_cpu(cs_node->ch.sqnum); in get_cs_sqnum()
898 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()
/third_party/uboot/u-boot-2020.01/drivers/mtd/ubi/
Dattach.c326 unsigned long long sqnum2 = be64_to_cpu(vid_hdr->sqnum); in ubi_compare_lebs()
328 if (sqnum2 == aeb->sqnum) { in ubi_compare_lebs()
342 second_is_newer = (sqnum2 > aeb->sqnum); in ubi_compare_lebs()
449 unsigned long long sqnum; in ubi_add_to_av() local
456 sqnum = be64_to_cpu(vid_hdr->sqnum); in ubi_add_to_av()
459 pnum, vol_id, lnum, ec, sqnum, bitflips); in ubi_add_to_av()
465 if (ai->max_sqnum < sqnum) in ubi_add_to_av()
466 ai->max_sqnum = sqnum; in ubi_add_to_av()
492 aeb->pnum, aeb->sqnum, aeb->ec); in ubi_add_to_av()
507 if (aeb->sqnum == sqnum && sqnum != 0) { in ubi_add_to_av()
[all …]
Dfastmap.c156 aeb->copy_flag = aeb->sqnum = 0; in add_aeb()
545 new_aeb->sqnum = be64_to_cpu(vh->sqnum); in scan_pool()
549 if (*max_sqnum < new_aeb->sqnum) in scan_pool()
550 *max_sqnum = new_aeb->sqnum; in scan_pool()
628 ai->max_sqnum = fmsb->sqnum; in ubi_attach_fastmap()
888 unsigned long long sqnum = 0; in ubi_scan_fastmap() local
1014 if (sqnum < be64_to_cpu(vh->sqnum)) in ubi_scan_fastmap()
1015 sqnum = be64_to_cpu(vh->sqnum); in ubi_scan_fastmap()
1041 fmsb2->sqnum = sqnum; in ubi_scan_fastmap()
1158 fmsb->sqnum = 0; in ubi_write_fastmap()
[all …]
Deba.c55 unsigned long long sqnum; in ubi_next_sqnum() local
58 sqnum = ubi->global_sqnum++; in ubi_next_sqnum()
61 return sqnum; in ubi_next_sqnum()
580 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in recover_peb()
697 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_write_leb()
761 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_write_leb()
814 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_write_leb_st()
883 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_write_leb_st()
935 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_atomic_leb_change()
1008 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_atomic_leb_change()
[all …]
Dubi-media.h285 __be64 sqnum; member
422 __be64 sqnum; member
Ddebug.c86 (unsigned long long)be64_to_cpu(vid_hdr->sqnum)); in ubi_dump_vid_hdr()
187 pr_err("\tsqnum %llu\n", aeb->sqnum); in ubi_dump_aeb()
Dubi.h657 unsigned long long sqnum; member
Dvtbl.c322 vid_hdr->sqnum = cpu_to_be64(++ai->max_sqnum);
/third_party/uboot/u-boot-2020.01/drivers/mtd/ubispl/
Dubispl.c275 ubi_dbg("RV: pnum: %i sqnum %llu", pnum, be64_to_cpu(vh->sqnum)); in ubi_io_read_vid_hdr()
358 vol_id, lnum, cur_pnum, be64_to_cpu(cur->sqnum), pnum, in ubi_add_peb_to_vol()
359 be64_to_cpu(vh->sqnum)); in ubi_add_peb_to_vol()
364 if (be64_to_cpu(cur->sqnum) < be64_to_cpu(vh->sqnum)) in ubi_add_peb_to_vol()
693 unsigned long long sqnum = 0; in ubi_scan_fastmap() local
803 if (sqnum < be64_to_cpu(vh->sqnum)) in ubi_scan_fastmap()
804 sqnum = be64_to_cpu(vh->sqnum); in ubi_scan_fastmap()
826 fmsb2->sqnum = sqnum; in ubi_scan_fastmap()
1020 if (be64_to_cpu(vrepl->sqnum) < be64_to_cpu(tmp->sqnum)) in ubi_load_block()