Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/ubifs/
Dreplay.c51 unsigned long long sqnum; member
74 unsigned long long sqnum; member
225 ubifs_assert(c, r->sqnum >= rino->sqnum); in inode_still_linked()
248 r->lnum, r->offs, r->len, r->deletion, r->sqnum); in apply_replay_entry()
314 ubifs_assert(c, ra->sqnum != rb->sqnum); in replay_entries_cmp()
315 if (ra->sqnum > rb->sqnum) in replay_entries_cmp()
385 unsigned long long sqnum, int deletion, int *used, in insert_node() argument
406 r->sqnum = sqnum; in insert_node()
434 const char *name, int nlen, unsigned long long sqnum, in insert_dent() argument
461 r->sqnum = sqnum; in insert_dent()
[all …]
Dio.c321 ch->sqnum = 0; in ubifs_pad()
339 unsigned long long sqnum; in next_sqnum() local
342 sqnum = ++c->max_sqnum; in next_sqnum()
345 if (unlikely(sqnum >= SQNUM_WARN_WATERMARK)) { in next_sqnum()
346 if (sqnum >= SQNUM_WATERMARK) { in next_sqnum()
348 sqnum); in next_sqnum()
354 return sqnum; in next_sqnum()
360 unsigned long long sqnum = next_sqnum(c); in ubifs_init_node() local
367 ch->sqnum = cpu_to_le64(sqnum); in ubifs_init_node()
453 unsigned long long sqnum = next_sqnum(c); in ubifs_prep_grp_node() local
[all …]
Dcommit.c534 d->old_zroot_sqnum = le64_to_cpu(idx->ch.sqnum); in dbg_old_index_check_init()
613 if (le64_to_cpu(idx->ch.sqnum) != d->old_zroot_sqnum) { in dbg_check_old_index()
619 last_sqnum = le64_to_cpu(idx->ch.sqnum) + 1; in dbg_check_old_index()
632 if (le64_to_cpu(idx->ch.sqnum) >= last_sqnum) { in dbg_check_old_index()
683 last_sqnum = le64_to_cpu(idx->ch.sqnum); in dbg_check_old_index()
Dscan.c192 snod->sqnum = le64_to_cpu(ch->sqnum); in ubifs_add_snod()
Dubifs-media.h459 __le64 sqnum; member
Drecovery.c338 c->max_sqnum = le64_to_cpu(mst->ch.sqnum) - 1; in ubifs_recover_master_node()
830 *cs_sqnum = le64_to_cpu(cs_node->ch.sqnum); in get_cs_sqnum()
889 if (snod->sqnum > cs_sqnum) { in ubifs_recover_log_leb()
Dmaster.c352 c->max_sqnum = le64_to_cpu(c->mst_node->ch.sqnum); in ubifs_read_master()
Dfile.c62 ubifs_assert(c, le64_to_cpu(dn->ch.sqnum) > in read_block()
640 ubifs_assert(c, le64_to_cpu(dn->ch.sqnum) > in populate_page()
Dubifs.h304 unsigned long long sqnum; member
Ddebug.c220 (unsigned long long)le64_to_cpu(ch->sqnum)); in dump_ch()
2043 if (le64_to_cpu(ch->sqnum) > c->max_sqnum) { in check_leaf()
Ddir.c648 ubifs_assert(c, le64_to_cpu(dent->ch.sqnum) > in ubifs_readdir()
/kernel/linux/linux-5.10/drivers/mtd/ubi/
Dattach.c306 aeb->sqnum = be64_to_cpu(vid_hdr->sqnum); in add_fastmap()
310 aeb->vol_id, aeb->sqnum); in add_fastmap()
444 unsigned long long sqnum2 = be64_to_cpu(vid_hdr->sqnum); in ubi_compare_lebs()
446 if (sqnum2 == aeb->sqnum) { in ubi_compare_lebs()
460 second_is_newer = (sqnum2 > aeb->sqnum); in ubi_compare_lebs()
567 unsigned long long sqnum; in ubi_add_to_av() local
574 sqnum = be64_to_cpu(vid_hdr->sqnum); in ubi_add_to_av()
577 pnum, vol_id, lnum, ec, sqnum, bitflips); in ubi_add_to_av()
583 if (ai->max_sqnum < sqnum) in ubi_add_to_av()
584 ai->max_sqnum = sqnum; in ubi_add_to_av()
[all …]
Dfastmap.c147 aeb->copy_flag = aeb->sqnum = 0; in add_aeb()
297 aeb->sqnum = new_aeb->sqnum; in update_vol()
488 new_aeb->sqnum = be64_to_cpu(vh->sqnum); in scan_pool()
492 if (*max_sqnum < new_aeb->sqnum) in scan_pool()
493 *max_sqnum = new_aeb->sqnum; in scan_pool()
571 ai->max_sqnum = fmsb->sqnum; in ubi_attach_fastmap()
822 if (aeb->vol_id == UBI_FM_SB_VOLUME_ID && aeb->sqnum > max_sqnum) { in find_fm_anchor()
823 max_sqnum = aeb->sqnum; in find_fm_anchor()
854 unsigned long long sqnum = 0; in ubi_scan_fastmap() local
1000 if (sqnum < be64_to_cpu(vh->sqnum)) in ubi_scan_fastmap()
[all …]
Deba.c73 unsigned long long sqnum; in ubi_next_sqnum() local
76 sqnum = ubi->global_sqnum++; in ubi_next_sqnum()
79 return sqnum; in ubi_next_sqnum()
853 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in try_recover_peb()
1057 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_write_leb()
1074 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_write_leb()
1138 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_write_leb_st()
1157 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_write_leb_st()
1222 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_atomic_leb_change()
1241 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_atomic_leb_change()
[all …]
Dubi-media.h282 __be64 sqnum; member
415 __be64 sqnum; member
Ddebug.c84 (unsigned long long)be64_to_cpu(vid_hdr->sqnum)); in ubi_dump_vid_hdr()
185 pr_err("\tsqnum %llu\n", aeb->sqnum); in ubi_dump_aeb()
Dvtbl.c314 vid_hdr->sqnum = cpu_to_be64(++ai->max_sqnum); in create_vtbl()
Dubi.h686 unsigned long long sqnum; member