Lines Matching refs:BTRFS_NR_SB_LOG_ZONES
43 #define BTRFS_NR_SB_LOG_ZONES 2 macro
87 bool empty[BTRFS_NR_SB_LOG_ZONES]; in sb_write_pointer()
88 bool full[BTRFS_NR_SB_LOG_ZONES]; in sb_write_pointer()
91 for (int i = 0; i < BTRFS_NR_SB_LOG_ZONES; i++) { in sb_write_pointer()
121 struct page *page[BTRFS_NR_SB_LOG_ZONES]; in sb_write_pointer()
122 struct btrfs_super_block *super[BTRFS_NR_SB_LOG_ZONES]; in sb_write_pointer()
124 for (int i = 0; i < BTRFS_NR_SB_LOG_ZONES; i++) { in sb_write_pointer()
145 for (int i = 0; i < BTRFS_NR_SB_LOG_ZONES; i++) in sb_write_pointer()
523 nr_zones = BTRFS_NR_SB_LOG_ZONES; in btrfs_get_dev_zone_info()
527 int sb_pos = BTRFS_NR_SB_LOG_ZONES * i; in btrfs_get_dev_zone_info()
540 if (nr_zones != BTRFS_NR_SB_LOG_ZONES) { in btrfs_get_dev_zone_info()
552 if (zone_info->sb_zones[BTRFS_NR_SB_LOG_ZONES * i].type == in btrfs_get_dev_zone_info()
856 struct blk_zone zones[BTRFS_NR_SB_LOG_ZONES]; in btrfs_sb_log_location_bdev()
883 BTRFS_NR_SB_LOG_ZONES, copy_zone_info_cb, in btrfs_sb_log_location_bdev()
887 if (ret != BTRFS_NR_SB_LOG_ZONES) in btrfs_sb_log_location_bdev()
915 &zinfo->sb_zones[BTRFS_NR_SB_LOG_ZONES * mirror], in btrfs_sb_log_location()
946 zone = &zinfo->sb_zones[BTRFS_NR_SB_LOG_ZONES * mirror]; in btrfs_advance_sb_log()
947 for (i = 0; i < BTRFS_NR_SB_LOG_ZONES; i++) { in btrfs_advance_sb_log()
1014 zone_sectors * BTRFS_NR_SB_LOG_ZONES); in btrfs_reset_sb_log_zones()
1065 sb_zone + BTRFS_NR_SB_LOG_ZONES <= begin)) { in btrfs_find_allocatable_zones()
1068 sb_zone + BTRFS_NR_SB_LOG_ZONES, zinfo); in btrfs_find_allocatable_zones()