Searched refs:zone_sectors (Results 1 – 2 of 2) sorted by relevance
209 sector_t zone_sectors; in blkdev_reset_zones() local225 zone_sectors = blk_queue_zone_sectors(q); in blkdev_reset_zones()226 if (sector & (zone_sectors - 1)) in blkdev_reset_zones()229 if ((nr_sectors & (zone_sectors - 1)) && in blkdev_reset_zones()246 sector += zone_sectors; in blkdev_reset_zones()
458 unsigned int zone_sectors = bdev_zone_sectors(bdev); in part_zone_aligned() local470 if (!zone_sectors) in part_zone_aligned()479 if (WARN_ON_ONCE(!is_power_of_2(zone_sectors))) { in part_zone_aligned()482 div_u64_rem(from, zone_sectors, &rem); in part_zone_aligned()486 div_u64_rem(size, zone_sectors, &rem); in part_zone_aligned()493 if (from & (zone_sectors - 1)) in part_zone_aligned()496 (size & (zone_sectors - 1))) in part_zone_aligned()