Home
last modified time | relevance | path

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

/linux-4.4.14/fs/btrfs/
Ddisk-io.c1940 for (i = 0; i < BTRFS_NUM_BACKUP_ROOTS; i++) { in find_newest_super_backup()
1948 if (newest_index == BTRFS_NUM_BACKUP_ROOTS - 1) { in find_newest_super_backup()
1973 info->backup_root_index = (newest_index + 1) % BTRFS_NUM_BACKUP_ROOTS; in find_oldest_super_backup()
1989 last_backup = (next_backup + BTRFS_NUM_BACKUP_ROOTS - 1) % in backup_super_roots()
1990 BTRFS_NUM_BACKUP_ROOTS; in backup_super_roots()
2009 info->backup_root_index = (next_backup + 1) % BTRFS_NUM_BACKUP_ROOTS; in backup_super_roots()
2068 sizeof(*root_backup) * BTRFS_NUM_BACKUP_ROOTS); in backup_super_roots()
2095 } else if (*num_backups_tried == BTRFS_NUM_BACKUP_ROOTS) { in next_root_backup()
2100 newest = (*backup_index + BTRFS_NUM_BACKUP_ROOTS - 1) % in next_root_backup()
2101 BTRFS_NUM_BACKUP_ROOTS; in next_root_backup()
Dctree.h413 #define BTRFS_NUM_BACKUP_ROOTS 4 macro
496 struct btrfs_root_backup super_roots[BTRFS_NUM_BACKUP_ROOTS];