Searched refs:backup_index (Results 1 – 1 of 1) sorted by relevance
2040 int backup_index = find_newest_super_backup(fs_info); in read_backup_root() local2044 if (priority < BTRFS_NUM_BACKUP_ROOTS && backup_index >= 0) { in read_backup_root()2046 return backup_index; in read_backup_root()2048 backup_index = backup_index + BTRFS_NUM_BACKUP_ROOTS - priority; in read_backup_root()2049 backup_index %= BTRFS_NUM_BACKUP_ROOTS; in read_backup_root()2054 root_backup = super->super_roots + backup_index; in read_backup_root()2070 return backup_index; in read_backup_root()2750 int backup_index = find_newest_super_backup(fs_info); in init_tree_roots() local2781 backup_index = ret; in init_tree_roots()2832 if (backup_index < 0) { in init_tree_roots()[all …]