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

/u-boot/fs/ubifs/
H A Dreplay.c39 * @sqnum: node sequence number
55 unsigned long long sqnum; member in struct:replay_entry
71 * @sqnum: reference node sequence number
78 unsigned long long sqnum; member in struct:bud_entry
218 dbg_mntk(&r->key, "LEB %d:%d len %d deletion %d sqnum %llu key ",
219 r->lnum, r->offs, r->len, r->deletion, r->sqnum);
222 c->replay_sqnum = r->sqnum;
282 ubifs_assert(ra->sqnum != rb->sqnum);
283 if (ra->sqnum > r
351 insert_node(struct ubifs_info *c, int lnum, int offs, int len, union ubifs_key *key, unsigned long long sqnum, int deletion, int *used, loff_t old_size, loff_t new_size) argument
399 insert_dent(struct ubifs_info *c, int lnum, int offs, int len, union ubifs_key *key, const char *name, int nlen, unsigned long long sqnum, int deletion, int *used) argument
740 add_replay_bud(struct ubifs_info *c, int lnum, int offs, int jhead, unsigned long long sqnum) argument
[all...]
H A Dio.c337 ch->sqnum = 0;
355 unsigned long long sqnum; local
358 sqnum = ++c->max_sqnum;
361 if (unlikely(sqnum >= SQNUM_WARN_WATERMARK)) {
362 if (sqnum >= SQNUM_WATERMARK) {
364 sqnum);
370 return sqnum;
388 unsigned long long sqnum = next_sqnum(c); local
395 ch->sqnum = cpu_to_le64(sqnum);
421 unsigned long long sqnum = next_sqnum(c); local
[all...]
H A Dscan.c199 snod->sqnum = le64_to_cpu(ch->sqnum);
H A Dubifs-media.h410 * @sqnum: sequence number
422 __le64 sqnum; member in struct:ubifs_ch
H A Drecovery.c345 c->max_sqnum = le64_to_cpu(mst->ch.sqnum) - 1;
841 *cs_sqnum = le64_to_cpu(cs_node->ch.sqnum);
842 dbg_rcvry("commit start sqnum %llu", *cs_sqnum);
849 ubifs_err(c, "failed to get CS sqnum");
900 if (snod->sqnum > cs_sqnum) {
H A Dubifs.c339 ubifs_assert(le64_to_cpu(dent->ch.sqnum) > ubifs_inode(dir)->creat_sqnum);
423 ubifs_assert(le64_to_cpu(dent->ch.sqnum) > ubifs_inode(dir)->creat_sqnum);
686 ubifs_assert(le64_to_cpu(dn->ch.sqnum) > ubifs_inode(inode)->creat_sqnum);
H A Dmaster.c274 c->max_sqnum = le64_to_cpu(c->mst_node->ch.sqnum);
H A Ddebug.c232 (unsigned long long)le64_to_cpu(ch->sqnum));
2099 if (le64_to_cpu(ch->sqnum) > c->max_sqnum) {
H A Dubifs.h892 * @sqnum: sequence number
901 unsigned long long sqnum; member in struct:ubifs_scan_node
/u-boot/drivers/mtd/ubi/
H A Dattach.c330 unsigned long long sqnum2 = be64_to_cpu(vid_hdr->sqnum);
332 if (sqnum2 == aeb->sqnum) {
346 second_is_newer = (sqnum2 > aeb->sqnum);
453 unsigned long long sqnum; local
460 sqnum = be64_to_cpu(vid_hdr->sqnum);
462 dbg_bld("PEB %d, LEB %d:%d, EC %d, sqnum %llu, bitflips %d",
463 pnum, vol_id, lnum, ec, sqnum, bitflips);
469 if (ai->max_sqnum < sqnum)
470 ai->max_sqnum = sqnum;
819 scan_peb(struct ubi_device *ubi, struct ubi_attach_info *ai, int pnum, int *vid, unsigned long long *sqnum) argument
1356 unsigned long long sqnum = -1; local
[all...]
H A Dubi-media.h181 * @sqnum: sequence number
185 * The @sqnum is the value of the global sequence counter at the time when this
189 * unsigned 64-bit integer and we assume it never overflows. The @sqnum
210 * select one of them when the flash is attached. The @sqnum field says which
211 * PEB is the original (obviously P will have lower @sqnum) and the copy. But
285 __be64 sqnum; member in struct:ubi_vid_hdr
411 * @sqnum: highest sequence number value at the time while taking the fastmap
422 __be64 sqnum; member in struct:ubi_fm_sb
H A Dfastmap.c160 aeb->copy_flag = aeb->sqnum = 0;
549 new_aeb->sqnum = be64_to_cpu(vh->sqnum);
553 if (*max_sqnum < new_aeb->sqnum)
554 *max_sqnum = new_aeb->sqnum;
632 ai->max_sqnum = fmsb->sqnum;
892 unsigned long long sqnum = 0; local
1018 if (sqnum < be64_to_cpu(vh->sqnum))
1019 sqnum
[all...]
H A Deba.c57 unsigned long long sqnum; local
60 sqnum = ubi->global_sqnum++;
63 return sqnum;
582 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi));
699 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi));
763 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi));
816 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi));
885 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi));
937 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi));
1010 vid_hdr->sqnum
[all...]
H A Ddebug.c89 (unsigned long long)be64_to_cpu(vid_hdr->sqnum));
190 pr_err("\tsqnum %llu\n", aeb->sqnum);
H A Dvtbl.c325 vid_hdr->sqnum = cpu_to_be64(++ai->max_sqnum);
H A Dubi.h642 * @sqnum: sequence number
658 unsigned long long sqnum; member in struct:ubi_ainf_peb
/u-boot/drivers/mtd/ubispl/
H A Dubispl.c277 ubi_dbg("RV: pnum: %i sqnum %llu", pnum, be64_to_cpu(vh->sqnum));
329 /* If the block is already assigned, check sqnum */
359 ubi_dbg("Vol %u LEB %u PEB %u->sqnum %llu NPEB %u->sqnum %llu",
360 vol_id, lnum, cur_pnum, be64_to_cpu(cur->sqnum), pnum,
361 be64_to_cpu(vh->sqnum));
364 * Compare sqnum and take the newer one
366 if (be64_to_cpu(cur->sqnum) < be64_to_cpu(vh->sqnum))
695 unsigned long long sqnum = 0; local
[all...]

Completed in 231 milliseconds