Home
last modified time | relevance | path

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

/openbmc/u-boot/fs/btrfs/
H A Dsuper.c30 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()
H A Dctree.h101 #define BTRFS_NUM_BACKUP_ROOTS 4 macro
184 struct btrfs_root_backup super_roots[BTRFS_NUM_BACKUP_ROOTS];
/openbmc/linux/include/uapi/linux/
H A Dbtrfs_tree.h487 #define BTRFS_NUM_BACKUP_ROOTS 4 macro
700 struct btrfs_root_backup super_roots[BTRFS_NUM_BACKUP_ROOTS];
/openbmc/linux/fs/btrfs/
H A Ddisk-io.c1614 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()