Searched refs:BTRFS_NUM_BACKUP_ROOTS (Results 1 – 4 of 4) sorted by relevance
30 for (i = 0; i < BTRFS_NUM_BACKUP_ROOTS; ++i) { in btrfs_check_super_roots()40 if (num_empty == BTRFS_NUM_BACKUP_ROOTS) { in btrfs_check_super_roots()
101 #define BTRFS_NUM_BACKUP_ROOTS 4 macro184 struct btrfs_root_backup super_roots[BTRFS_NUM_BACKUP_ROOTS];
487 #define BTRFS_NUM_BACKUP_ROOTS 4 macro700 struct btrfs_root_backup super_roots[BTRFS_NUM_BACKUP_ROOTS];
1614 for (i = 0; i < BTRFS_NUM_BACKUP_ROOTS; i++) { in find_newest_super_backup()1642 info->backup_root_index = (next_backup + 1) % BTRFS_NUM_BACKUP_ROOTS; in backup_super_roots()1707 sizeof(*root_backup) * BTRFS_NUM_BACKUP_ROOTS); in backup_super_roots()1725 if (priority < BTRFS_NUM_BACKUP_ROOTS && backup_index >= 0) { in read_backup_root()1729 backup_index = backup_index + BTRFS_NUM_BACKUP_ROOTS - priority; in read_backup_root()1730 backup_index %= BTRFS_NUM_BACKUP_ROOTS; in read_backup_root()2593 for (i = 0; i < BTRFS_NUM_BACKUP_ROOTS; i++) { in init_tree_roots()2654 fs_info->backup_root_index %= BTRFS_NUM_BACKUP_ROOTS; in init_tree_roots()