Lines Matching refs:rev
872 dir->rev = revs[(r+0)%2]; in lfs2_dir_fetchmatch()
885 dir->rev = lfs2_tole32(dir->rev); in lfs2_dir_fetchmatch()
886 uint32_t crc = lfs2_crc(0xffffffff, &dir->rev, sizeof(dir->rev)); in lfs2_dir_fetchmatch()
887 dir->rev = lfs2_fromle32(dir->rev); in lfs2_dir_fetchmatch()
1067 dir->rev = revs[(r+1)%2]; in lfs2_dir_fetchmatch()
1453 dir->rev = 0; in lfs2_dir_alloc()
1458 NULL, &lfs2->rcache, sizeof(dir->rev), in lfs2_dir_alloc()
1459 dir->pair[0], 0, &dir->rev, sizeof(dir->rev)); in lfs2_dir_alloc()
1460 dir->rev = lfs2_fromle32(dir->rev); in lfs2_dir_alloc()
1469 dir->rev = lfs2_alignup(dir->rev, ((lfs2->cfg->block_cycles+1)|1)); in lfs2_dir_alloc()
1473 dir->off = sizeof(dir->rev); in lfs2_dir_alloc()
1619 dir->rev += 1; in lfs2_dir_compact()
1627 (dir->rev % ((lfs2->cfg->block_cycles+1)|1) == 0)) { in lfs2_dir_compact()
1639 LFS2_DEBUG("Expanding superblock at rev %"PRIu32, dir->rev); in lfs2_dir_compact()
1692 dir->rev = lfs2_tole32(dir->rev); in lfs2_dir_compact()
1694 &dir->rev, sizeof(dir->rev)); in lfs2_dir_compact()
1695 dir->rev = lfs2_fromle32(dir->rev); in lfs2_dir_compact()
4276 uint32_t rev; member
4330 d->rev = lfs2_fromle32(d->rev);
4337 d->rev = lfs2_tole32(d->rev);
4385 if (valid && lfs2_scmp(test.rev, dir->d.rev) < 0) {
4664 dir2.rev = dir1.d.rev;
4813 dir2.rev = dir1.d.rev;
4814 dir2.off = sizeof(dir2.rev);