Home
last modified time | relevance | path

Searched refs:newest_index (Results 1 – 1 of 1) sorted by relevance

/linux-4.19.296/fs/btrfs/
Ddisk-io.c1825 int newest_index = -1; in find_newest_super_backup() local
1833 newest_index = i; in find_newest_super_backup()
1837 if (newest_index == BTRFS_NUM_BACKUP_ROOTS - 1) { in find_newest_super_backup()
1841 newest_index = 0; in find_newest_super_backup()
1843 return newest_index; in find_newest_super_backup()
1855 int newest_index = -1; in find_oldest_super_backup() local
1857 newest_index = find_newest_super_backup(info, newest_gen); in find_oldest_super_backup()
1859 if (newest_index == -1) { in find_oldest_super_backup()
1862 info->backup_root_index = (newest_index + 1) % BTRFS_NUM_BACKUP_ROOTS; in find_oldest_super_backup()