Home
last modified time | relevance | path

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

/Linux-v6.6/include/uapi/linux/
Dbtrfs_tree.h487 #define BTRFS_NUM_BACKUP_ROOTS 4 macro
700 struct btrfs_root_backup super_roots[BTRFS_NUM_BACKUP_ROOTS];
/Linux-v6.6/fs/btrfs/
Ddisk-io.c1605 for (i = 0; i < BTRFS_NUM_BACKUP_ROOTS; i++) { in find_newest_super_backup()
1633 info->backup_root_index = (next_backup + 1) % BTRFS_NUM_BACKUP_ROOTS; in backup_super_roots()
1698 sizeof(*root_backup) * BTRFS_NUM_BACKUP_ROOTS); in backup_super_roots()
1716 if (priority < BTRFS_NUM_BACKUP_ROOTS && backup_index >= 0) { in read_backup_root()
1720 backup_index = backup_index + BTRFS_NUM_BACKUP_ROOTS - priority; in read_backup_root()
1721 backup_index %= BTRFS_NUM_BACKUP_ROOTS; in read_backup_root()
2584 for (i = 0; i < BTRFS_NUM_BACKUP_ROOTS; i++) { in init_tree_roots()
2645 fs_info->backup_root_index %= BTRFS_NUM_BACKUP_ROOTS; in init_tree_roots()