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

/linux-master/fs/ubifs/
H A Dreplay.c33 * @sqnum: node sequence number
50 unsigned long long sqnum; member in struct:replay_entry
66 * @sqnum: reference node sequence number
73 unsigned long long sqnum; member in struct:bud_entry
224 ubifs_assert(c, r->sqnum >= rino->sqnum);
246 dbg_mntk(&r->key, "LEB %d:%d len %d deletion %d sqnum %llu key ",
247 r->lnum, r->offs, r->len, r->deletion, r->sqnum);
313 ubifs_assert(c, ra->sqnum != rb->sqnum);
383 insert_node(struct ubifs_info *c, int lnum, int offs, int len, const u8 *hash, union ubifs_key *key, unsigned long long sqnum, int deletion, int *used, loff_t old_size, loff_t new_size) argument
433 insert_dent(struct ubifs_info *c, int lnum, int offs, int len, const u8 *hash, union ubifs_key *key, const char *name, int nlen, unsigned long long sqnum, int deletion, int *used) argument
890 add_replay_bud(struct ubifs_info *c, int lnum, int offs, int jhead, unsigned long long sqnum) argument
[all...]
H A Dio.c342 ch->sqnum = 0;
360 unsigned long long sqnum; local
363 sqnum = ++c->max_sqnum;
366 if (unlikely(sqnum >= SQNUM_WARN_WATERMARK)) {
367 if (sqnum >= SQNUM_WATERMARK) {
369 sqnum);
375 return sqnum;
381 unsigned long long sqnum = next_sqnum(c); local
388 ch->sqnum = cpu_to_le64(sqnum);
474 unsigned long long sqnum = next_sqnum(c); local
[all...]
H A Dscan.c192 snod->sqnum = le64_to_cpu(ch->sqnum);
H A Dcommit.c545 d->old_zroot_sqnum = le64_to_cpu(idx->ch.sqnum);
619 /* Check root level and sqnum */
624 if (le64_to_cpu(idx->ch.sqnum) != d->old_zroot_sqnum) {
630 last_sqnum = le64_to_cpu(idx->ch.sqnum) + 1;
640 * The index is always written bottom up hence a child's sqnum
643 if (le64_to_cpu(idx->ch.sqnum) >= last_sqnum) {
694 last_sqnum = le64_to_cpu(idx->ch.sqnum);
H A Dubifs-media.h447 * @sqnum: sequence number
459 __le64 sqnum; member in struct:ubifs_ch
H A Drecovery.c338 c->max_sqnum = le64_to_cpu(mst->ch.sqnum) - 1;
830 *cs_sqnum = le64_to_cpu(cs_node->ch.sqnum);
831 dbg_rcvry("commit start sqnum %llu", *cs_sqnum);
838 ubifs_err(c, "failed to get CS sqnum");
889 if (snod->sqnum > cs_sqnum) {
H A Dmaster.c352 c->max_sqnum = le64_to_cpu(c->mst_node->ch.sqnum);
H A Dfile.c62 ubifs_assert(c, le64_to_cpu(dn->ch.sqnum) >
633 ubifs_assert(c, le64_to_cpu(dn->ch.sqnum) >
H A Ddebug.c220 (unsigned long long)le64_to_cpu(ch->sqnum));
2048 if (le64_to_cpu(ch->sqnum) > c->max_sqnum) {
H A Dubifs.h304 * @sqnum: sequence number
313 unsigned long long sqnum; member in struct:ubifs_scan_node
H A Ddir.c647 ubifs_assert(c, le64_to_cpu(dent->ch.sqnum) >
/linux-master/drivers/mtd/ubi/
H A Dattach.c306 aeb->sqnum = be64_to_cpu(vid_hdr->sqnum);
309 dbg_bld("add to fastmap list: PEB %d, vol_id %d, sqnum: %llu", pnum,
310 aeb->vol_id, aeb->sqnum);
444 unsigned long long sqnum2 = be64_to_cpu(vid_hdr->sqnum);
446 if (sqnum2 == aeb->sqnum) {
460 second_is_newer = (sqnum2 > aeb->sqnum);
567 unsigned long long sqnum; local
574 sqnum = be64_to_cpu(vid_hdr->sqnum);
[all...]
H A Dfastmap.c147 aeb->copy_flag = aeb->sqnum = 0;
297 aeb->sqnum = new_aeb->sqnum;
488 new_aeb->sqnum = be64_to_cpu(vh->sqnum);
492 if (*max_sqnum < new_aeb->sqnum)
493 *max_sqnum = new_aeb->sqnum;
571 ai->max_sqnum = fmsb->sqnum;
822 if (aeb->vol_id == UBI_FM_SB_VOLUME_ID && aeb->sqnum > max_sqnum) {
823 max_sqnum = aeb->sqnum;
872 unsigned long long sqnum = 0; local
[all...]
H A Dubi-media.h178 * @sqnum: sequence number
182 * The @sqnum is the value of the global sequence counter at the time when this
186 * unsigned 64-bit integer and we assume it never overflows. The @sqnum
207 * select one of them when the flash is attached. The @sqnum field says which
208 * PEB is the original (obviously P will have lower @sqnum) and the copy. But
282 __be64 sqnum; member in struct:ubi_vid_hdr
404 * @sqnum: highest sequence number value at the time while taking the fastmap
415 __be64 sqnum; member in struct:ubi_fm_sb
H A Deba.c70 unsigned long long sqnum; local
73 sqnum = ubi->global_sqnum++;
76 return sqnum;
849 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi));
1062 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi));
1079 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi));
1143 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi));
1162 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi));
1227 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi));
1246 vid_hdr->sqnum
[all...]
H A Ddebug.c114 (unsigned long long)be64_to_cpu(vid_hdr->sqnum));
215 pr_err("\tsqnum %llu\n", aeb->sqnum);
H A Dvtbl.c314 vid_hdr->sqnum = cpu_to_be64(++ai->max_sqnum);
H A Dubi.h666 * @sqnum: sequence number
682 unsigned long long sqnum; member in struct:ubi_ainf_peb

Completed in 220 milliseconds