Searched refs:backup_index (Results 1 – 1 of 1) sorted by relevance
1743 int backup_index = find_newest_super_backup(fs_info); in read_backup_root() local1747 if (priority < BTRFS_NUM_BACKUP_ROOTS && backup_index >= 0) { in read_backup_root()1749 return backup_index; in read_backup_root()1751 backup_index = backup_index + BTRFS_NUM_BACKUP_ROOTS - priority; in read_backup_root()1752 backup_index %= BTRFS_NUM_BACKUP_ROOTS; in read_backup_root()1757 root_backup = super->super_roots + backup_index; in read_backup_root()1773 return backup_index; in read_backup_root()2628 int backup_index = find_newest_super_backup(fs_info); in init_tree_roots() local2654 backup_index = ret; in init_tree_roots()2689 if (backup_index < 0) { in init_tree_roots()[all …]