Lines Matching refs:rev
819 dir->rev = revs[(r+0)%2]; in lfs_dir_fetchmatch()
832 dir->rev = lfs_tole32(dir->rev); in lfs_dir_fetchmatch()
833 uint32_t crc = lfs_crc(0xffffffff, &dir->rev, sizeof(dir->rev)); in lfs_dir_fetchmatch()
834 dir->rev = lfs_fromle32(dir->rev); in lfs_dir_fetchmatch()
1012 dir->rev = revs[(r+1)%2]; in lfs_dir_fetchmatch()
1388 dir->rev = 0; in lfs_dir_alloc()
1393 NULL, &lfs->rcache, sizeof(dir->rev), in lfs_dir_alloc()
1394 dir->pair[0], 0, &dir->rev, sizeof(dir->rev)); in lfs_dir_alloc()
1395 dir->rev = lfs_fromle32(dir->rev); in lfs_dir_alloc()
1401 dir->rev += dir->rev & 1; in lfs_dir_alloc()
1404 dir->off = sizeof(dir->rev); in lfs_dir_alloc()
1542 dir->rev += 1; in lfs_dir_compact()
1550 (dir->rev % ((lfs->cfg->block_cycles+1)|1) == 0)) { in lfs_dir_compact()
1562 LFS_DEBUG("Expanding superblock at rev %"PRIu32, dir->rev); in lfs_dir_compact()
1615 dir->rev = lfs_tole32(dir->rev); in lfs_dir_compact()
1617 &dir->rev, sizeof(dir->rev)); in lfs_dir_compact()
1618 dir->rev = lfs_fromle32(dir->rev); in lfs_dir_compact()
4672 uint32_t rev; member
4726 d->rev = lfs_fromle32(d->rev); in lfs1_dir_fromle32()
4733 d->rev = lfs_tole32(d->rev); in lfs1_dir_tole32()
4781 if (valid && lfs_scmp(test.rev, dir->d.rev) < 0) { in lfs1_dir_fetch()
5078 dir2.rev = dir1.d.rev; in lfs_migrate()
5227 dir2.rev = dir1.d.rev; in lfs_migrate()
5228 dir2.off = sizeof(dir2.rev); in lfs_migrate()