Lines Matching refs:nr_sectors
320 sector_t nr_sectors; in btrfs_get_dev_zone_info() local
369 nr_sectors = bdev_nr_sectors(bdev); in btrfs_get_dev_zone_info()
371 zone_info->nr_zones = nr_sectors >> ilog2(zone_sectors); in btrfs_get_dev_zone_info()
372 if (!IS_ALIGNED(nr_sectors, zone_sectors)) in btrfs_get_dev_zone_info()
412 while (sector < nr_sectors) { in btrfs_get_dev_zone_info()
772 sector_t nr_sectors; in btrfs_sb_log_location_bdev() local
786 nr_sectors = bdev_nr_sectors(bdev); in btrfs_sb_log_location_bdev()
787 nr_zones = nr_sectors >> zone_sectors_shift; in btrfs_sb_log_location_bdev()
903 sector_t nr_sectors; in btrfs_reset_sb_log_zones() local
910 nr_sectors = bdev_nr_sectors(bdev); in btrfs_reset_sb_log_zones()
911 nr_zones = nr_sectors >> zone_sectors_shift; in btrfs_reset_sb_log_zones()