Home
last modified time | relevance | path

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

/linux-6.1.9/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.c342 ch->sqnum = 0; in ubifs_pad()
360 unsigned long long sqnum; in next_sqnum() local
363 sqnum = ++c->max_sqnum; in next_sqnum()
366 if (unlikely(sqnum >= SQNUM_WARN_WATERMARK)) { in next_sqnum()
367 if (sqnum >= SQNUM_WATERMARK) { in next_sqnum()
369 sqnum); in next_sqnum()
375 return sqnum; in next_sqnum()
381 unsigned long long sqnum = next_sqnum(c); in ubifs_init_node() local
388 ch->sqnum = cpu_to_le64(sqnum); in ubifs_init_node()
474 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()
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()
Dubifs-media.h459 __le64 sqnum; member
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()
639 ubifs_assert(c, le64_to_cpu(dn->ch.sqnum) > in populate_page()
Dubifs.h313 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.c653 ubifs_assert(c, le64_to_cpu(dent->ch.sqnum) > in ubifs_readdir()
/linux-6.1.9/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.c146 aeb->copy_flag = aeb->sqnum = 0; in add_aeb()
296 aeb->sqnum = new_aeb->sqnum; in update_vol()
487 new_aeb->sqnum = be64_to_cpu(vh->sqnum); in scan_pool()
491 if (*max_sqnum < new_aeb->sqnum) in scan_pool()
492 *max_sqnum = new_aeb->sqnum; in scan_pool()
570 ai->max_sqnum = fmsb->sqnum; in ubi_attach_fastmap()
821 if (aeb->vol_id == UBI_FM_SB_VOLUME_ID && aeb->sqnum > max_sqnum) { in find_fm_anchor()
822 max_sqnum = aeb->sqnum; in find_fm_anchor()
840 new->sqnum = old->sqnum; in clone_aeb()
871 unsigned long long sqnum = 0; in ubi_scan_fastmap() local
[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()
852 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in try_recover_peb()
1056 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_write_leb()
1073 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_write_leb()
1137 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_write_leb_st()
1156 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_write_leb_st()
1221 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_atomic_leb_change()
1240 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.h682 unsigned long long sqnum; member