Lines Matching refs:rev
1112 dir->rev = revs[(r+0)%2]; in lfs_dir_fetchmatch()
1130 dir->rev = lfs_tole32(dir->rev); in lfs_dir_fetchmatch()
1131 uint32_t crc = lfs_crc(0xffffffff, &dir->rev, sizeof(dir->rev)); in lfs_dir_fetchmatch()
1132 dir->rev = lfs_fromle32(dir->rev); in lfs_dir_fetchmatch()
1292 dir->rev = revs[(r+1)%2]; in lfs_dir_fetchmatch()
1779 dir->rev = 0; in lfs_dir_alloc()
1784 NULL, &lfs->rcache, sizeof(dir->rev), in lfs_dir_alloc()
1785 dir->pair[0], 0, &dir->rev, sizeof(dir->rev)); in lfs_dir_alloc()
1786 dir->rev = lfs_fromle32(dir->rev); in lfs_dir_alloc()
1795 dir->rev = lfs_alignup(dir->rev, ((lfs->cfg->block_cycles+1)|1)); in lfs_dir_alloc()
1799 dir->off = sizeof(dir->rev); in lfs_dir_alloc()
1901 && ((dir->rev + 1) % ((lfs->cfg->block_cycles+1)|1) == 0)); in lfs_dir_needsrelocation()
1914 dir->rev += 1; in lfs_dir_compact()
1958 dir->rev = lfs_tole32(dir->rev); in lfs_dir_compact()
1960 &dir->rev, sizeof(dir->rev)); in lfs_dir_compact()
1961 dir->rev = lfs_fromle32(dir->rev); in lfs_dir_compact()
2162 LFS_DEBUG("Expanding superblock at rev %"PRIu32, dir->rev); in lfs_dir_splittingcompact()
5152 uint32_t rev; member
5206 d->rev = lfs_fromle32(d->rev);
5213 d->rev = lfs_tole32(d->rev);
5261 if (valid && lfs_scmp(test.rev, dir->d.rev) < 0) {
5544 dir2.rev = dir1.d.rev;
5693 dir2.rev = dir1.d.rev;
5694 dir2.off = sizeof(dir2.rev);