Home
last modified time | relevance | path

Searched refs:zone_sectors (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/block/
Dblk-zoned.c251 sector_t zone_sectors; in blkdev_reset_zones() local
267 zone_sectors = blk_queue_zone_sectors(q); in blkdev_reset_zones()
268 if (sector & (zone_sectors - 1)) in blkdev_reset_zones()
271 if ((nr_sectors & (zone_sectors - 1)) && in blkdev_reset_zones()
288 sector += zone_sectors; in blkdev_reset_zones()
Dpartition-generic.c461 unsigned int zone_sectors = bdev_zone_sectors(bdev); in part_zone_aligned() local
473 if (!zone_sectors) in part_zone_aligned()
482 if (WARN_ON_ONCE(!is_power_of_2(zone_sectors))) { in part_zone_aligned()
485 div_u64_rem(from, zone_sectors, &rem); in part_zone_aligned()
489 div_u64_rem(size, zone_sectors, &rem); in part_zone_aligned()
496 if (from & (zone_sectors - 1)) in part_zone_aligned()
499 (size & (zone_sectors - 1))) in part_zone_aligned()
/Linux-v4.19/drivers/md/
Ddm-table.c328 unsigned int zone_sectors = bdev_zone_sectors(bdev); in device_area_is_invalid() local
330 if (start & (zone_sectors - 1)) { in device_area_is_invalid()
334 zone_sectors, bdevname(bdev, b)); in device_area_is_invalid()
347 if (len & (zone_sectors - 1)) { in device_area_is_invalid()
351 zone_sectors, bdevname(bdev, b)); in device_area_is_invalid()
1459 unsigned int *zone_sectors = data; in device_matches_zone_sectors() local
1461 return q && blk_queue_zone_sectors(q) == *zone_sectors; in device_matches_zone_sectors()
1465 unsigned int zone_sectors) in dm_table_matches_zone_sectors() argument
1474 !ti->type->iterate_devices(ti, device_matches_zone_sectors, &zone_sectors)) in dm_table_matches_zone_sectors()
1483 unsigned int zone_sectors) in validate_hardware_zoned_model() argument
[all …]