Home
last modified time | relevance | path

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

/Linux-v4.19/fs/btrfs/
Ddisk-io.c1835 for (i = 0; i < BTRFS_NUM_BACKUP_ROOTS; i++) { in find_newest_super_backup()
1843 if (newest_index == BTRFS_NUM_BACKUP_ROOTS - 1) { in find_newest_super_backup()
1868 info->backup_root_index = (newest_index + 1) % BTRFS_NUM_BACKUP_ROOTS; in find_oldest_super_backup()
1884 last_backup = (next_backup + BTRFS_NUM_BACKUP_ROOTS - 1) % in backup_super_roots()
1885 BTRFS_NUM_BACKUP_ROOTS; in backup_super_roots()
1904 info->backup_root_index = (next_backup + 1) % BTRFS_NUM_BACKUP_ROOTS; in backup_super_roots()
1963 sizeof(*root_backup) * BTRFS_NUM_BACKUP_ROOTS); in backup_super_roots()
1990 } else if (*num_backups_tried == BTRFS_NUM_BACKUP_ROOTS) { in next_root_backup()
1995 newest = (*backup_index + BTRFS_NUM_BACKUP_ROOTS - 1) % in next_root_backup()
1996 BTRFS_NUM_BACKUP_ROOTS; in next_root_backup()
Dctree.h163 #define BTRFS_NUM_BACKUP_ROOTS 4 macro
246 struct btrfs_root_backup super_roots[BTRFS_NUM_BACKUP_ROOTS];