Searched refs:backup_index (Results 1 – 1 of 1) sorted by relevance
1742 int backup_index = find_newest_super_backup(fs_info); in read_backup_root() local1746 if (priority < BTRFS_NUM_BACKUP_ROOTS && backup_index >= 0) { in read_backup_root()1748 return backup_index; in read_backup_root()1750 backup_index = backup_index + BTRFS_NUM_BACKUP_ROOTS - priority; in read_backup_root()1751 backup_index %= BTRFS_NUM_BACKUP_ROOTS; in read_backup_root()1756 root_backup = super->super_roots + backup_index; in read_backup_root()1772 return backup_index; in read_backup_root()2627 int backup_index = find_newest_super_backup(fs_info); in init_tree_roots() local2653 backup_index = ret; in init_tree_roots()2688 if (backup_index < 0) { in init_tree_roots()[all …]